Almost everything you do on a computer involves one or more files stored locally or on a network.
Your filesystems lowest folder root / contains the following folders: (at a bare minimum)
/bin | Essential user-related system binaries (for use by all users). |
/boot | Static files of the boot loader, only used at system startup. |
/dev | Device files, links to your hardware devices such as: /dev/sound, /dev/input/js0 (joystick), etc. For use by the system when accessing these devices. |
/etc | Host-specific system configuration files for various daemons, services or startup applications and routines. |
/home | User home directories. This is where you save your personal files and where your unique configuration information is kept which distinguishes you from other users. |
/lib | Essential shared libraries and kernel modules which the system accesses while running programs. |
/media | Mount point for a temporarily mounted filesystem like /mnt/cdrom or a USB stick |
/mnt | Alternative mount point for a temporarily mounted filesystem like /mnt/cdrom or a USB stick |
/opt | Optional location for add-on application software packages that do not normally come with the system. |
/usr | /usr is the second major section of the filesystem. /usr is shareable, read-only data. That means that /usr should be shareable between various FHS-compliant hosts and must not be written to. Any information that is host-specific or varies with time is stored elsewhere. Icons, documentation and other similar files are kept here. |
/var | /var contains variable data files. This includes spool directories and files, administrative and logging data, and transient and temporary files. Here is where you’d look for error logs, access logs and various other administrative logs. |
/proc | System information stored in memory mirrored as files. |
The only folder a normal user needs direct read/write access to is: /home/user/
– this is where you will be keeping all your personal documents, music, videos, pictures, etc.
1 2 3 |
/home/elvis/Documents /home/elvis/Music /home/elvis/Music/60s |
Files are case sensitive, “myfile” and “MyFile” are two different files.
For more details, check out: Linux Commands
Last Modified: 22 Apr, 2020 at 16:31:30