5 Most Basic Linux Commands

There are many linux commands lets discuss few of them :

  1. echo Hi Note: The echo command is used to print the environment varaibles . In the above command it will print "Hi" on the terminal

  2. echo $SHELL This command is used to know on which shell ur currently and echo command just prints the name of the shell on the terminal . For eg if ur on the bash shell (Bourne again Shell) then the echo $SHELL will print /bin/bash in the terminal.

  3. ls The ls command is used to list all the contains of a directory .Means it lists the files and folders in that given directory .

  4. cd my_dri1 The cd command stands for change directory and is used to navigate to the new directories in the system.This command basically means cd followed by the directory name .

  5. pwd The full form of this command is present working directory from the name itself its clear that this command is used to print the directory ur currently in .

These are the few linux importanat commands .