Directory Commands
At login, current directory is the home
directory
Example:
/home/acd/dcs/gaulS
/csc/s95/mehl
- cd <directory> changes the current working directory to the
directory indicated
Example:
cd <cr>
cd /usr/local/bin <cr>
pwd shows the present working directory
mkdir <name> makes a new directory called "name"
rmdir <name> removes an empty directory called "name"
Return to Main Menu
| File Organization Menu
| DOWN
Listing Directory Contents
ls <dirname>
lists the contents of the named directory. The listing can be further
refined by specifying a specific file name.
Options: (you can combine options)
- -l list in long format
- -a list all file names, even those beginning with a period
- -R recursively list sub directories
- -F append a file descriptor to file names upon listing: / is a sub directory, * is an executable file
Example:
ls -Fla
and many more!
Return to Main Menu
| File Organization Menu
| UP