Unix Commands and Concepts
The following table lists essential Unix commands.
This chapter explains fundamental Unix commands that are necessary for understanding later scripts. It will be helpful if you know elementary Unix commands. Books titled “Teach Yourself Unix” have excellent, simple, early chapters that give the basics. Also, by surfing the web, you can find universities that have good tutorial sites.
The following file name suffixes are used throughout this Primer.
.sh shell script
.scr shell script that launches a .sh shell script
.su binary seismic data
.dat binary data, not seismic data
.eps image file formatted as Encapsulated Postscript (EPS)
.txt ASCII data file
The SU seismic data format is based on, but is not identical to, the binary format called SEG-Y. SEG-Y was defined by the Society of Exploration Geophysicists (SEG) and has become an industry standard format for seismic data exchange.
The following file types can be printed directly to the screen by the cat and more commands: .sh, .scr, .txt.
We do not explain the following advanced Unix concepts in detail. Their usage will be made clear by the way we use them in later scripts.
The following Unix commands are not complete. These are merely a selection of commands that we consider helpful for your understanding and reproduction of the processing in this Primer.
Remember that Unix is case sensitive. That is, suplane is not the same as Suplane.
To start the Bourne shell interpreter, the first line of any script we make must be: