Y
Hacker News
new
|
ask
|
show
|
jobs
by
btdmaster
166 days ago
Everything really is a file: if you do `cat /` you'll get back the internal representation of the directory entries in / (analogous to ls)
And they still had coredumps at the time if you press ctrl-\
2 comments
zahlman
166 days ago
Being able to cat directories like that doesn't surprise me as much as
the contents being readable
. Is there not a bunch of binary garbage in between the filenames?
link
chuckadams
166 days ago
I remember `cat` on directories working on Unixen much newer than v4. Not sure if it ever was the case on Linux tho.
link