The topmost directory is called the root (/ ) directory.
All other directories can be accessed from the root directory.
A line from one node to a node on its right indicates containment.
For example, the student directory is contained within the home directory.
|
C:\My Documents\Work
”,/home/My Document/Work
”.Command | Description |
---|---|
cd |
Change the current working directory. |
ls |
List status information for files and directory contents. |
mkdir |
Make directories. |
pwd |
The pwd (“print working directory”) tells you where you are in the file system by printing the current working directory. |
rm/rmdir |
Remove directory entries. |