Day2:Linux Commands

What is Linux?

Linux is a free and open-source operating system that was created by Linus Torvalds in 1991. It is based on the Unix operating system. Linux is known for its stability, security and flexibility.

There are many different versions of Linux, known as "distribution". Some of the popular distributions are Ubuntu, CentOS, and Red Hat Enterprise Linux.

Present Working Directory:

The "pwd" command stands for "print working directory". It is used to display the full path of the current working directory.

List all files and Directories with hidden files:

ls is a command that is used to list the files and directories in a directory. The -la option tells ls to display the files in a long format and include hidden files.

#ls -la

Create a nested directory A/B/C/D/E:

The command to create a nested directory is mkdir -p A/B/C/D/E. The -p switch creates parents' directories.

Thank You for reading

Arslan Altaf