#!/bin/bash cd /sys/kernel/debug/kvm for d in * do cat $d | tr -d \\n echo -e :\\t $d done