Command: ls
The command “
ls” stands for (
List Directory
Contents), List the contents of the folder, be it file or folder, from
which it runs.
root@tecmint:~# ls
Command: lsblk
The “
lsblk” stands for (
List Block Devices),
print block devices by their assigned name (but not
RAM) on
the standard output in a tree-like fashion.
root@tecmint:~# lsblk
Command: uname
The “
uname” command stands for (
Unix Name),
print detailed information about the machine name, Operating System and Kernel.
root@tecmint:~# uname -a
Command: history
The “
history” command stands for
History (Event)
Record, it prints the history of long list of executed commands in
terminal.
root@tecmint:~# history
Command: sudo
The “
sudo” (
super user do) command allows
a permitted user to execute a command as the superuser or another user, as
specified by the security policy in the sudoers list.
root@tecmint:~# sudo add-apt-repository ppa:tualatrix/ppa
Command: mkdir
The “
mkdir” (
Make directory) command
create a new directory with name path. However is the directory already exists,
it will return an error message “
cannot create folder, folder already
exists”.
Command: tar
The “
tar” command is a
Tape Archive is
useful in creation of archive, in a number of file format and their extraction.
Command: cal
The “
cal” (
Calendar), it is used to
displays calendar of the present month or any other month of any year that is
advancing or passed.
root@tecmint:~# cal
Command: date
The “
date” (
Date) command print the
current date and time on the standard output, and can further be set.
root@tecmint:~# date
Command: cat
The “
cat” stands for (
Concatenation).
Concatenate (join) two or more plain file and/or print contents of a file on
standard output.
root@tecmint:~# cat a.txt b.txt c.txt d.txt abcd.txt
Command: mv
The “
mv” command moves a file from one location to another
location.
Command: pwd
The command “
pwd” (
print working directory),
prints the current working directory with full path name from terminal.
root@tecmint:~# pwd
Command: cd
Finally, the frequently used “
cd” command stands for (
change
directory), it change the working directory to execute, copy, move
write, read, etc. from terminal itself.
root@tecmint:~# cd /home/user/Desktop