What are /proc and /sys?
BeginnerConceptFilesystem Hierarchy, Inodes & Links
Answer
Both are virtual filesystems generated by the kernel; nothing is stored on disk. /proc exposes process info (/proc/<pid>/) and kernel state (/proc/meminfo, /proc/cpuinfo, /proc/sys/ for tunables). /sys (sysfs) exposes the device and driver model in a structured way, for example /sys/block/sda/queue/scheduler or /sys/class/net/eth0/.
More on Filesystem Hierarchy, Inodes & Links
Explain the purpose of the main top-level directories in the FHS.BeginnerWhat is the "/usr merge"?IntermediateWhat is an inode? What does it store and what does it NOT store?BeginnerA disk shows free space but you get "No space left on device". Why?IntermediateWhat is a hard link?BeginnerWhat is a symbolic (soft) link?Beginner