Linux – cd

Linux cd command The cd command stands for “change directory”. This command is used to leave current directory and navigate to another directory on the system. Syntax: cd <Path to new dir> Change to a New Directory After login to the system, the user gets the home directory. Now you can navigate to another directory for example /home/rahul/Workspace where my present directory is /home/rahul cd Workspace Use pwd to check your present working directory. pwd /home/rahul/Workspace There are two ways to navigate between directories is the absolute path and relative…

Read More