The file command currently prints out the lower byte only of device types... or '' if not ascii. % file /dev/kbmap /dev/kbmap: special file #/kbmap Now prints the rune.