cd

change directory(cd) is change the path to given path.
Ex: cd /home
       cd /mnt

pwd

present working directory (pwd) it shows the current path.
Ex./home/Desktop

mv

move (mv) this command move file/directory to another directory. First argument is the file name and second argument is destination path
Ex. mv file.txt /home/Documents

rm

remove (rm) delete any type of file/directory.
Ex: rm file.txt

mkdir

make directory (mkdir) creates new directory in the current destination
Ex: mkdir test

rmdir

remove directory (rmdir) delete directory
Ex: rmdir test

ls

list (ls) displays all the files and directories
Ex: ls

touch

touch create a new file
Ex: touch file.txt

cat

cat displays the content in the file
Ex: cat file.txt

hostname

hostname display all the user name in the system
Ex: hostname

su

su change the owner from normal user to the super user
Ex: su

ifconfig

ifconfig displays the network parameters
Ex; ifconfig

man

manual (man) displays the manual page of a command
Ex: man mv

Leave a Reply

Your email address will not be published. Required fields are marked *