The cd command |
The cd command is used to change the current directory. |
cd /home/dcrew/progfun |
changes the current directory to /home/dcrew/progfun |
cd .. |
changes the current directory to the parent directory |
cd |
changes the current directory to the home directory |
The mkdir command |
The mkdir command is used to make a directory. |
mkdir progfun |
makes a subdirectory named progfun in the current directory |
The ls command |
The ls command is used to display the contents of a directory. |
ls |
displays the contents of the current directory |
ls home/dcrew/progfun/
|
displays the contents of the directory named /home/dcrew/progfun
|
ls progfun |
displays the contents of the subdirectory named progfun |
The pwd command |
The pwd command is used to display the current directory. |
pwd |
displays the current directory |