SLAC PEP-II
BABAR
SLACRAL
Babar logo
SPIRES E S & H Databases PDG arXiv
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Home
Workbook
 1. Introduction
 2. Accnt. Setup
 3. QuickTour
 4. Packages
 5. Modules
 6. Event Info.
 7. Tcl Cmds.
 8. Editing
 9. Comp.+Link
 10. Run the Job
 11. Debugging
 12. Parameters
 13. Tcl Files
 14. Find Data
 15. Batch
 16. Analysis
 17. ROOT I
Additional Info.
 Other Resources
 BABAR
 Unix
 C++
 SRT/CVS Cmds.
 SRT/CVS Dev.
 Sim/Reco
 CM2 NTuples
 Root II, III
 PAW I, II
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator

(More checks...)

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.

[Workbook Author List] [Old Workbook] [BaBar Physics Book]

Valid HTML 4.01! Page maintained by Adam Edwards

Last modified: December 2007