What is Linux®?
Linux® is a special kind of operating system (OS) that's open source, meaning it's freely available for anyone to use and modify. But what does an operating system do, you may wonder? Well, it's like the conductor of an orchestra, managing all the essential hardware and resources of your computer, such as the CPU, memory, and storage.
Imagine your computer as a stage where various applications perform. The operating system is like the backstage manager, working behind the scenes to connect these applications to the hardware so that everything runs smoothly. It's the essential link between your software and the physical resources that make your computer tick. Without it, your apps wouldn't know how to interact with the hardware and get things done.
Basic Linux® Commands!
Command | Description |
SSH username@ip-address or hostname | login into a remote Linux machine using SSH |
ls | Lists all files and directories in the present working directory |
ls -a | Lists hidden files as well |
cd | To change to a particular directory |
sudo | Allows regular users to run programs with the security privileges of the superuser or root |
history | Gives a list of all past commands typed in the current terminal session |
clear | Clears the terminal |
cat filename | Displays the file content |
apt-get | Command used to install and update packages |
pwd | Gives the present working directory. |
mkdir | Creates a new directory in the present working directory or a at the specified path |
mkdir -p A/B/C/D | Make a nested directory |
rm filename | Deletes a file |
rmdir | Deletes a directory |
man | Gives help information on a command |
history | Gives a list of all past commands typed in the current terminal session |
clear | Clears the terminal |
quit | Logout |