Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Workbook Home Introduction Account Setup QuickTour Packages Modules Unwrap page!
Event Information Tcl Commands Editing Compile and Link Run the Job Debugging
Check this page with the
W3C Validator
(More checks...)
Parameters Tcl Files Find Data Batch Analysis ROOT Tutorial

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, and 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 $
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

When 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:

   ana41/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.

Back to Quicktour

Back to Workbook Front Page