February 2004
Beginner
200 pages
5h 40m
English
cd | Change your current directory |
pwd | Print the name of your current directory, i.e., “where you are now” in the filesystem |
basename | Print the final part of a file path |
dirname | Remove the final part of a file path |
mkdir | Create a directory |
rmdir | Delete an empty directory |
rm -r | Delete a nonempty directory and its contents |
We discussed the directory structure of Linux in The Filesystem. Now we’ll cover commands that create, modify, delete, and manipulate directories within that structure.