DevOps Journey - Day 2

Introduction of Linux?

  • What is Linux?

    Linux belongs to the Unix family & it is a free and open-source Operating System that was developed in 1991.

  • What is the Linux Filesystem hierarchy?

    Linux Filesystem hierarchy describes directory structure and its content Linux and Linux flavor operating systems

    • / - The base of the Linux directory is the root.

      * /root - is the home directory for the root user(superuser).

      * /bin - Represents system binaries.

      * /dev - Represents device files.

      * /var - Represents variable files that contain system log files, contain database and package files, temporary files and contain emails.

      * /mnt - Mount directory is used to mount a temporary file system.

      * /usr - Contains applications and files used by users.

      * /etc - Contains all configuration files of the server.

      * /boot - Contains boot loader file.

      * /opt - Directory used for installing the application software from third-party vendors that are not available in Linux distribution.

      * /home - Contains secondary user home directory.

      * /tmp - contains temporary files created by the user & system.

  • What is Linux Architecture?

    Linux Architecture contains hardware, Kernal, Shell, and Applications.

    • TASKS OF DAY-2

    • Task-1 - Command to check your present working directory.

      Answer - pwd

    • Task-2 - Command to List all the files or directories including hidden files.

      Answer - ls -a

    • Task-3 - Command to create a nested directory A/B/C/D/E

      Answer - mkdir -p A/B/C/D/E

0
Subscribe to my newsletter

Read articles from Syed Farhan Naqvi directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Syed Farhan Naqvi
Syed Farhan Naqvi