INTRODUCTION
Linux is an open-source operating system and it was developed by Linus Torvalds in the early 1990'S. Linux Source code is freely available, allowing users and developers to modify and distribute it under various open-source licenses.๐
Linux has different flavors like Ubuntu, Debian, Fedora, Linux Mint, Centos, Kali Linux, etc. This operating system is known for its Features like Stability and reliability, Customization, Security, and Cost-Effective.๐
Linux operating system Architecture was consist of four components i.e. Application, Shell, Kernel, Hardware, and utility.๐ฅ๏ธ
Linux command to check the present working Directory:
Pwd
ex-:
Pwd
output-: /home/ubuntu
Linux command to check List all the files or directories including hidden files:
ls -a
here -a indicates a hidden file.
ex-:
ls -a
output-: .bash_logout .bashrc .cache .profile .ssh .sudo_as_admin_successful .viminfo
Linux command to make a nested directory:
ubuntu@ip-172-31-24-213:~$ mkdir -p a/b/c/d/e
ubuntu@ip-172-31-24-213:~$ ls
a
ubuntu@ip-172-31-24-213:~$ cd a
ubuntu@ip-172-31-24-213:~/a$ ls
b
ubuntu@ip-172-31-24-213:~/a$ cd b
ubuntu@ip-172-31-24-213:~/a/b$ ls
c
ubuntu@ip-172-31-24-213:~/a/b$ cd c
ubuntu@ip-172-31-24-213:~/a/b/c$ ls
d
ubuntu@ip-172-31-24-213:~/a/b/c$ cd d
ubuntu@ip-172-31-24-213:~/a/b/c/d$ ls
e
ubuntu@ip-172-31-24-213:~/a/b/c/d$ cd e
ubuntu@ip-172-31-24-213:~/a/b/c/d/e$ ls
ubuntu@ip-172-31-24-213:~/a/b/c/d/e$