Linux® Command Line Essentials!

Handy Commands for Everyday Use.

Linux® Command Line Essentials!

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!

CommandDescription
SSH username@ip-address or hostnamelogin into a remote Linux machine using SSH
lsLists all files and directories in the present working directory
ls -aLists hidden files as well
cdTo change to a particular directory
sudoAllows regular users to run programs with the security privileges of the superuser or root
historyGives a list of all past commands typed in the current terminal session
clearClears the terminal
cat filenameDisplays the file content
apt-getCommand used to install and update packages
pwdGives the present working directory.
mkdirCreates a new directory in the present working directory or a at the specified path
mkdir -p A/B/C/DMake a nested directory
rm filenameDeletes a file
rmdirDeletes a directory
manGives help information on a command
historyGives a list of all past commands typed in the current terminal session
clearClears the terminal
quitLogout

To discover additional commands, check out this video!