Linux installs a range of directories on the hard disk. Here are some of the most important:

/ is the root of the filesystem.

/boot is where the Linux Kernel and Bash are stored.

/home is where the each user’s files are stored.

/root is where the root user’s files are stored.

/etc contains configuration files.

/etc/skel is where you put files if you want them to appear automatically in new users’ home directories.

/dev is where the devices on the system, like CD-Rom drives and modems are represented.

/bin is where many system commands are stored. Imagine an inventor’s garage – it might look like a bin but it contains lots of useful tools.

/usr/bin is like /bin; the difference is arbitrary.

/sbin and /usr/sbin contain system commands only available to root (the superuser).

/lib contains program libraries.

/mnt contains mount points for removable media.

/opt contains optional programs.

/proc contains currently-running Kernel-related processes.

/tmp is where the system stores temporary files.

/usr contains little programs available to all users.

/var is for variable files, such as logs and temporary spool files for printers.



No Responses Yet to “Important directories”  

  1. No Comments Yet

Leave a Reply