Important GNU, Linux and Ubuntu Commands Every First-timer Should Know > Linux > Important GNU, Linux and Ubuntu Commands Every First-timer Should Know

All countries have gradually started using the free operating system, Linux / Ubuntu. I have tried to list some important terminal commands below for enthusiast Linux/Ubuntu users who are looking for or trying to understand these commands. Hope this list will help.

Daily Use Commands

lsIt shows all files of any directory. When no directory path is specified, then this command shows the file list of the current folder the user is on.
clearClears the terminal screen.
cdUse this command to change the current working directory. In plain words, navigate from one directory to another directory.
exitStop any program, go out from the Terminal, or come out from any point in any situation.
killStop any process. This command is like the “End Process” of the Windows operating system.

This is the abbreviation of the word, “manual”. Issue this command to view the technical documentation of any command. It describes how a particular command does, its parameters, switches, etc. Not even that, issue the same command to view “man”‘s manual, like this: man man

pwdpwd” stands for “Present Working Directory”. Punching in in the Terminal, this command tells you the current folder path.
haltDepending upon arguments, this command stops all running processes, halts the computer, power-off and reboots the computer.
rebootStops all running processes and then restarts the computer.

Stop all running processes and power off the computer.


This command is the abbreviation of “Super-User DO”. “sudo” runs all commands as Super User or Root user. Using the power of this command, a user retains the permission to do “whatever he wishes”.

Commands that Tell You About Your System

dateShows the current date, day, and time. You can modify the output of this command using arguments.
df This command shows the total disk space usage.
hostname This Terminal command outputs the hostname (means, the username) of the current computer.
ps Shows a list of running processes.
top Displays different information on top processes that are currently running.
htop It is a text-based interface that is used as a process monitor. It is much like the Task Manager of the Windows operating system but in text format.
uptime This commands displays the time the computer has since your computer was last restarted.

File Handling Commands

bzip2This command is used to compress (archive) files in one file in .bz2 format. The same command is used to decompress any archived .bz2 file.
chmodIt is used to change the access permission of any or many files at a time.
chownYou can use this command to change ownership of any or many files. Users who are granted permission to change others’ files, and folder permission, can issue this command and change ownership.
cpIssue this command to copy file(s).
find, and, locateUse these commands to find the files.
grep“grep” is an interesting command. It works like a wild card. With this command, a user can search a string in one or many files and displays a list of files in which the search string is found.
installThis command is like the “cp” copy command, but, differs in a few ways. “install” command copies files, but, additionally sets the file mode bits and, if possible, their owner and group.
mkdirYou issue this command to “make” a directory.
rmdirThis commands deletes a directory. Users with proper permission can only delete the folder.
mvThis command is used to a file from one directory to another directory.
md5sum, sha1sum, sha256sumUse one of these commands to test the integrity of any file.
rmIt is used to “delete” one or many files or folders. Using parameters, “rm” can delete recursive files and folders.
tarAdded with argument parameters, this “tar” is used to compress files and folders. The same command is used to decompress any archived file.
zip, unzipThese are other archive command. Depending on argument parameters, the “zip” command compresses (archives) files and/or folders, while “unzip” does the opposite task, it decompresses any .zip file.
7za“7za” is an example of another archiving Terminal command. This command takes many arguments as command-line parameters to compress files and folders and decompresses archived files made by 7za.

Some other important commands

apt-getIt is an advanced packaging tool. It is mainly used to install any package, delete, or reconfigure. In Debian-based distros, there is an aptitude command.
ftp, sftpThese commands are used to connect to FTP servers and transfer files between hosts.
wgetIt downloads files from a specific URL.
emacsemacs” is a popular text editor.
geditgedit” is also a powerful text editor.
nanonano” is also a user-friendly text editor.

vim” is also a user-friendly text editor. vim – This is an advanced version of “vi” text editor. Both “vi” and “vim” are command-line text editors for Unix-like operating systems. Although “vim” lacks graphical user interface, buttons, icons, etc., but this is popular along novice users for its friendly interface.


When a new *nix user comes to the *nix environment, he/she may find it difficult to adapt to this environment. Users may feel crazy to see so many terminal commands, but there are abundant tutorials available online for him/her.

Also read:  How to install ibus-avro on Ubuntu 20.04

In this tutorial, I have tried to include a list of some of the most commonly used commands that users can quickly find and use in their day-to-day computing.

Hopefully, new users can benefit from this article. The list may not be perfect, but it will be updated regularly.

Photo Credit: Photo 1 from Osama Khalid

Category Linux

Leave Your Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.