HTG Explains: What “Everything Is a File” Means on Linux

Posted by Chris Hoffman on How to geek See other posts from How to geek or by Chris Hoffman
Published on Mon, 02 Jul 2012 10:00:40 GMT Indexed on 2012/07/02 15:18 UTC
Read the original article Hit count: 812

Filed under:

image

One of the defining features of Linux and other UNIX-like operating systems is that “everything is a file.” This is an oversimplification, but understanding what it means will help you understand how Linux works.

Many things on Linux appear in your file system, but they aren’t actually files. They’re special files that represent hardware devices, system information, and other things — including a random number generator.

These special files may be located in pseudo or virtual file systems such as /dev, which contains special files that represent devices, and /proc, which contains special files that represent system and process information.

How to Banish Duplicate Photos with VisiPic
How to Make Your Laptop Choose a Wired Connection Instead of Wireless
HTG Explains: What Is Two-Factor Authentication and Should I Be Using It?


© How to geek or respective owner

Related posts about linux