5.B: List Command Options | 5: Managing Files and Directories | 5: Managing Files and Directories |
When you log onto a Unix computer, the files you first see are located in your home directory. You can always return to your home directory by using the command
> cd ~
> pwd
/disk/username/
> ls
Mwm a.out* eqns2.ms public-html/ sample.doc
README.first development/ plotoutfile.ps s2
Here the *
after a.out
indicates that it's an
executable file, the /
after public-html
and
development
indicates that they are directories containing yet
more files, while the files with suffixes are plain files. Note that the
*
and /
are not part of the actual names
of these files, and so should not be entered when typing commands. (Note,
too, that if your list command does not add on these cute little suffixes,
we'll show you how to change that with an option or an alias.)
5.B: List Command Options | 5: Managing Files and Directories | 5: Managing Files and Directories |