How to Enter Unix Commands
Users who are very new to Unix should read the following notes before trying to run the Workbook examples.
Different Users Have Different Prompts
Different Unix users often have different command prompts.
The command prompt can vary depending on which host you are using or which directory you are in.
Your prompt might be like one of the following:
>
kiwi@yakut02 $
~/releases/ana41/workdir
or any of a wide variety of other formats.
Pay Attention to Your Current Directory
It is very important to pay attention to which directory you are currently in when you issue commands.
This is known as your "current working directory."
At any time, you can check which directory you are currently working in by issuing the command
> pwd
eWhen it does not matter what directory you issue a command from, the Workbook examples will show the simple prompt ">", as in:
> bjobs
When it does matter what directory you issue a command from,
the Workbook examples will include the relevant part of the directory structure in the prompt, as in:
ana42/workdir> gmake setup
You can set your own prompt to always show you the current working directory, by using the command:
> set prompt='%~> '
This is popular with new users, but more advanced users usually skip it since the very long directory paths of Babar software can give you an annoyingly long prompt.
Pay Attention to Upper and Lower Case
In entering any Unix commands, don't forget that Unix is usually case sensitive.
Commands should be entered in exactly the upper and lower case shown.
Page maintained by Adam Edwards
Last modified: December 2007
|