Learning basic Linux Commands 
 
  
   
   | Command |  
   Description |  
  
 
   
   $ ls  |  
   This command was used to check the contents of The directory.  |  
  
 
   
   | $ pwd |  
   This command was used to check the present Working directory.  |  
  
 
   
   | $ mkdir Work |  
   We'll work in a separate directory called Work on our home directory. Use the This command To create a new directory called Current folder.  |  
  
 
   
   | $ CD Work |  
   This command would change our working Directory to the newly created directory work.  |  
  
 
   
   | $ pwd |  
   This command can is used to verify whether We moved to the expected directory.  |  
  
 
   
   | $ Touch hello.sh |  
   This command was used to create a new empty File called hello.sh in the current folder.  |  
  
 
   
   | $ CP hello.sh bye.sh |  
   This command was used to copy one file into Another file. This would copy hello.sh as bye.sh.  |  
  
 
   
   | $ mv bye.sh welcome.sh |  
   This command was used to rename a file. This Would rename bye.sh as welcome.sh.  |  
  
 
   
   | $ ll |  
   This command would display detailed Information about files.  |  
  
 
   
   $ mv welcome.sh. welcome.sh $ ls  |  
   Let's see some magic. Rename the file using the MV Command and the run the LS command. Now, the LS command won't display our File. welcome.sh. That file gets hidden. Any FileName or directory name starting with "." (dot) becomes hidden.  |  
  
 
   
   | $ ls-a |  
   This command was used to see hidden files. |  
  
 
   
   | $ rm. welcolme.sh |  
   This command was used to delete the file. |  
  
 
  
Linux Shell Basic Command