Linux

  • /bin: Essential binary executables.

  • /dev: Device files.

    • /dev/null: Discard or "destroy" file; data written here is discarded.

    • /dev/random: Provides random values.

    • /dev/zero: Provides a continuous stream of zeros.

  • /etc: Configuration files for the system.

  • /usr: User programs and utilities.

    • /usr/bin: User binaries.

    • /usr/sbin: Additional administrative binaries.

    • /usr/lib: System libraries.

    • /usr/share: Shared libraries, documentation, and other data.

    • /usr/local: Used for software installation by the system administrator.

  • /home: Personal data and files for each user.

  • /lib: Shared libraries needed by the system and applications.

  • /sbin: System binaries, mostly for system administrators.

  • /tmp: Temporary files, usually deleted on reboot.

  • /var: Short for "variable," contains files that change during system runtime, like logs, caches, and other data generated by the system.

  • /boot: Boot-related files, including the kernel.

  • /proc: Virtual filesystem providing information about running processes and the kernel.

  • /opt: Optional, third-party software and add-on packages.

  • /root: Home directory for the root user.

  • /media: Mount point for removable media, such as USB drives.

  • /mnt: General mount directory for temporarily mounted filesystems.

  • /srv: Data for services provided by the system, e.g., website files could be stored here.

Practice Linux

  • Linux Journey: Beginner-friendly resource for learning Linux.

  • War Game: Practice through challenges in Linux-based capture-the-flag scenarios.

  • CMD Challenge: Practice Linux commands in an interactive environment.

  • HackerRank: Platform offering challenges and exercises to practice coding, including Linux tasks.

Reference

Last updated