Question: This is the complete path from the first ( root ) directory to your current working directory. Each directory name in the path is separated
This is the complete path from the first root directory to your current working directory. Each directory name in the path is separated by forward slash characters.
To list the names of all of the files and directories in your working directory, type the list command, ls: ls ENTER
All file names will be listed; directories are sometimes displayed with an ending forward slash. Directories can be created and deleted using mkdir make directory and rmdir remove directory Try making a new subdirectory called EE
mkdir EEENTER
ls
You can change to a different working directory with the change directory command, cd To enter your newly created EE directory, use the following command.
cd EEENTER
Now we will introduce some special names for directories. The doubledot stands for the parent directory, which is the directory above the current directory that contains the current working directory. We can use this to "move up one level in the directory hierarchy. Since your home directory is the parent directory of the EE directory, moving up one level brings you back to your home directory. Try it
cd ENTER
pwd ENTER
The tilde ~ is shorthand for your home directory. You can return to the home directory from anywhere by typing:
cd ~ ENTER
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
