4 ms·
Everything is a file in Unix as you know perfectly well!
by gaius 12y ago
Everything is a file in Unix as you know perfectly well!
- deleted 12y ago[deleted]
- deleted 12y ago[deleted]
- vidarh 12y agoI hope you're being sarcastic, as that's not even remotely true, even though many things kinda, sorta tries to act like files in limited situations.
- shasta 12y agoRight. For example, two files are not a file.
- notduncansmith 12y agoI've heard Plan9 described this way, with the Unix counterpart being "everything is a stream" (not exactly true either).
- marcosdumay 12y ago"Everything is a file" is the Unix moto. But it does not do justice to that phrase. Unix has several things that aren't files (sockets are the most annoying), and a few files that are so special that they could as well have another name (like pid files). Plan9 is an evolution of Unix that turn more things into files. Sockets, for example, are.
- gizmo686 12y agoSockets are files.
- marcosdumay 12y agoUnix sockets are files. But I can't create a connection to Google at the filesystem.
- zupa-hu 12y agoThere is no file.