Explore Linux /proc File System (/proc directories, /proc files)
Posted on: 11/15/2010 11:28 AM

The Geek Stuff takes a look at the Linux /proc File System

Explore Linux /proc File System (/proc directories, /proc files)


Inside the /proc directory, you’ll see two types of content — numbered directories, and system information files.

/proc is not a real file system, it is a virtual file system. For example, if you do ls -l /proc/stat, you’ll notice that it has a size of 0 bytes, but if you do “cat /proc/stat”, you’ll see some content inside the file.

Several Linux commands access the information from /proc, and displays in a certain format.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/explore_linux_proc_file_system_proc_directoriesproc_files.html)