directory / file duality

UNIX neophytes are often to be heard raving about how “everything is a file”. In UNIX, things are simple, after all, and this is to be celebrated, we are told. What they really mean to say is that “every process accesses data via file descriptors using the open(), close(), read(), and write() system calls”, but …

directory / file duality Read More »