๐Ÿง Getting Familiar with the Linux File System ๐Ÿ“

ยท

3 min read

๐Ÿง Getting Familiar with the Linux File System ๐Ÿ“

Linux, the penguin-powered operating system, has a clever way of organizing its files. This will be the first thing to learn before entering into Linux. Let's take a simple, tour through its important directories:

๐Ÿ  Root Directory (/):

  • The main folder where everything starts.

  • Think of it as the boss of all other directories.

๐Ÿ“‚ /bin (Binary):

  • Holds essential commands (like magic words) to make things happen.

  • Commands like 'ls' to list files and 'cp' to copy stuff lives here.

๐Ÿ‘ข /boot (Boot):

  • The place where the computer's shoes are kept (boot files).

  • Necessary for starting up the system smoothly.

๐Ÿ“ /dev (Devices):

  • A folder for all the gadgets and gizmos connected to the computer.

  • Imagine it as a room full of device buddies.

๐Ÿ“ƒ /etc (Etcetera):

  • Stores special instructions for the operating system and apps.

  • Kind of like a secret recipe book for the computer.

๐Ÿ  /home (Home):

  • Each person on the computer has their own special room here.

  • This is where their personal stuff is kept.

๐Ÿš€ /init (Init):

  • An old room that was used for starting up the computer.

  • Not much action happens here anymore.

๐Ÿ“š /lib, /lib32, /lib64, /libx32 (Libraries):

  • A library filled with shared books for everyone to read.

  • There are different sections for 32-bit and 64-bit books.

๐Ÿšจ /lost+found (Lost+Found):

  • The lost and found area of the computer.

  • If something gets lost, it may end up here.

๐ŸŽฅ /media (Media):

  • Where the computer shows off its cool gadgets, like USB drives.

  • Plug something in, and it appears here for a grand show.

โ›ฐ๏ธ /mnt (Mount):

  • A temporary space for putting extra things, like a storage room.

  • Often used for connecting extra disks.

๐Ÿ” /opt (Optional):

  • A storage space for fancy, optional software.

  • Special apps may hang out here.

๐Ÿ“Š /proc (Process):

  • A magical place that tells you about what's happening inside the computer.

  • Peek inside to see what the computer is thinking.

๐Ÿง… /root (Root):

  • The big boss's room (like the president's office).

  • Only the main administrator is allowed in here.

๐Ÿƒ /run (Run):

  • A place for things that need to run really fast.

  • Temporary stuff comes here when the computer starts.

๐Ÿ”ง /sbin (System Binaries):

  • The tool shed for important maintenance tools.

  • Only the main administrator can use these tools.

๐Ÿ“ฆ /snap (Snap):

  • A spot for cool, self-contained packages of apps.

  • They're like little gift boxes with everything inside.

๐Ÿ“ /srv (Service):

  • A place where special services keep their stuff.

  • It's like the service area of the computer.

๐Ÿข /sys (System):

  • A cool space to control and check the computer's inner workings.

  • The place where the computer's heart and brain connect.

โ„๏ธ /tmp (Temporary):

  • A chilly spot for short-term storage.

  • Like a refrigerator for things that will be used and tossed.

๐Ÿ‘ค /usr (User):

  • A friendly area with lots of shared stuff for everyone to enjoy.

  • It's a big library that everyone can use.

๐Ÿ—„๏ธ /var (Variable):

  • A space for constantly changing things, like a moving room.

  • Keeps logs, cache, and other changeable data.

Tip: Fire up your Linux and try cd to all the directories.

These fun-filled directories make up the Linux file system. Each one plays a special role in making sure the computer works smoothly and keeps everything well-organized. Enjoy your Linux journey! ๐Ÿš€๐Ÿง

ย