| CSU Long Beach CECS 274 Programming and Problem Solving II Syllabus Mimi Opkins Home |
Basic Unix CommandsWe will be working on the Unix operating
system. Here are some basic commands
(and hints) to help you get started. When you login to your
account you are located in your home directory.
You can always specify your home directory by the symbol ~. All files and directories
within Unix are uniquely defined by their path. Imagine the following structure
of files and directories:
Suppose we are interested in using an Ada program that is
stored in a file test.a located in
directory ada_files. The full pathname which uniquely describes test.a from the home directory is: ~/ada_files/test.a. If we are already located in ~, we could
specify the file as: ada_files/test.a. If we are located in ada_files, we need only specify test.a. For the commands listed
below, the <dir> and <file> arguments are expected to
be pathnames describing directories or files, respectively.
|
|||||||||||||||||||||||||||||||||
| Latest Update: Saturday, 24-Jan-2009 17:40:56 PST
|
||||||||||||||||||||||||||||||||||
| [Top of Page] |