Manipulating Directories and Files
Command |
Summary Use |
cd |
Use cd to change directories. Type cd followed by
the name of a directory to access that directory. Keep in mind that you are
always in a directory and can navigate to directories hierarchically above or
below. Ex:
Use cp -r to copy a directory and
all of its contents |
mkdir |
Use
mkdir to make/create a brand new directory |
mv |
Use
mv to change the name of a directory |
pwd |
Trying
to find out where on your Linux server you currently are located? The pwd
(print working directory) command will show you the full path to the
directory you are currently in. This is very handy to use, especially when
performing some of the other commands on this page! |
rmdir |
Use rmdir to remove an existing directory (assuming
you have permissions set to allow this).
|