next up previous contents
Next: /etc and /usr/etc: Management Up: Tour of the File Previous: /bin and /usr/bin: Commands   Contents

/dev: Devices

In UNIX, every output device is referred to as a file. For writing to the console (the monitor), the file to write to is /dev/console. To write to tape, the file is /dev/nrst0 (on a Sun SPARCstation 2). Even the keyboard writes to a file (/dev/kbd) which is read by the operating system.



Claude Cantin 2010-10-24