Unix

cd (Change Directory) Command in Unix

The command cd  means change the current directory to other directory. The cd command is one of the commands you will use the most at the command line in linux. It allows you to change your working directory. You use it to move around within the hierarchy of your file system.

cd command Examples
  • Sometimes we want to change directory to previous working directory and come back to where we are. We can use below command which will take us to previous working directory.  
  • The command is for One step back. Change working directory to parent directory. 
  • The command is used for Same as above function. 
  • Change working directory to parents parent directory or two levels up in the directory structure. 
           
  •  Changing three levels up in the directory.  
             

           







Powered by Blogger.