Day 2 Task: Basics linux command

Day 2 Task: Basics linux command

What is Linux?

Linux is an open-source operating system. An operating system is the Software that directly manages a system’s hardware and resources, like CPU, memory, and storage. The OS sits between applications and hardware and makes the connections between all of your software and the physical resources that do the work.

History Of Linux

Linux came from a Unix family, Linux is a free and open-source software operating system, which Linus Tervalds developed in September 1991.

• In 1991, Linus Tervalds was a student at the University of Helsinki, Finland, USA.

• He developed the first code of Linux 0.01 and post it on the Minix newsgroup on 17 Sep 1991, his code became so popular people encouraged him to develop new code and he was led to develop new code and release the first "official" version of Linux, version 0.02 on October 5, 1991.

• Today many year pass and Linux become one of the most popular operating systems. Today 90% fastest Supercomputers out of 500 run on Linux variants including the top 10.

Linux Distributions:

Linux distributions are the operating systems that you can install on your computer. There are many different Linux distributions available, but we're going to focus on the most popular ones

  • Ubuntu

  • Fedora

  • Fedora

  • CentOS

  • Kali Linux

  • Arch Linux

What is the linux command to

  1. Check your present working directory.

    pwd /home/user/documents

    pwd stands for Print Working Directory. It prints the path of the working directory, starting from the root.

  2. List all the files or directories including hidden files.

    ls -a file1.txt file2.txt dir2

    Type the ls -a command to list files or directories including hidden files or directories.

  3. Create a nested directory A/B/C/D/E

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