On Sat, Nov 28, 2009 at 02:57:45PM +0100, Antonio Macchi wrote: > but, if you don't have hd (hexdump) how can you see the content of a, > for example, strange file > > i mean > > $ ls -l > total 0 > -rw-r--r-- 1 user1 user1 0 2009-11-28 14:56 ? > > $ hd <(ls) > 00000000 09 0a |..| > 00000002
You aren't actually looking at the content of a "strange file". You're trying to see its name. For this specific case, you may want "ls -b" instead. >From HP-UX: imadev:~$ touch $'\x09'; ls -lb ? ... -rw-r--r-- 1 wooledg pgmr 0 Nov 30 08:39 \011 Or from Linux: arc3:~$ ls -lb ? -rw-r--r-- 1 wooledg voice 0 2009-11-30 08:39 \t ... (Don't bother asking why the GID mapping is different... it's a local site legacy thing.)