<tt>/dev</tt>: Devices



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

/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.



Super-User
Fri Feb 17 15:55:40 EST 1995