Table of contents
🐧What is Linux
Linux is an operating system like Windows, but it's open-source, meaning anyone can use, modify, and distribute it for free.
There are many "flavors" of Linux, called distributions (distros), like Ubuntu, Fedora, and Debian, each with its features and design.
It is a reliable operating system used by millions of people and organizations around the world.
Linux Architecture ⚙️
Linux has a modular architecture in which distinct layers fulfil specific roles within the operating system.
Hardware: It includes CPUs, memory, disks and network interfaces.
Kernal: It's the heart of Linux OS which directly engages with hardware.
Shell: Command Line Interface acts as an intermediary between user and OS.
Applications: Includes various open-source software that can be directly installed.
Basic Linux Commands 🔧
# pwd
- Shows present working directory.# ls
- Shows available files and folders in the current directory.# cd
- Used to change the directory.# clear
- Clears the terminal screen.# whoami
- To check the currently logged-in user.# date
- Shows today's date.# history
- Lists previously used commands.# mkdir
- Creates the directory.# touch
- Creates a new file.# cp
- For coping the files/directories.# mv
- To move the files/directories.# -r
- For recursive options.# -f
- For forceful options.# -v
- For verbase options. (displays the confirmation message after execution of command)# rm
- Removes the files/directories.
Note: The hands on images for the commands will be added soon.
Thanks for being till the end of the blog. I hope that this blog helps you in having basic idea about the Linux OS.