About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: 26 October 2007
Hardcopy (PDF): A4 | Letter

What is a shell?
What shell am I using?


A shell is the program that reads the text you type in a terminal window. There are a variety of shells used on the computer systems that support CIAO, the most popular being csh, tcsh, sh (the Bourne shell), ksh (the Korn shell), and bash (the GNU version of the Bourne shell). The shell version you use is reported by the echo $0 command:

unix% echo $0
tcsh

Here we see that we use the tcsh shell.

The syntax for using CIAO tools is the same in all the shells. However, the syntax of the scripting language does change between different shells; for instance, in the Running CIAO section of the Starting CIAO thread, it is necessary to know which shell you are using.



Hardcopy (PDF): A4 | Letter
Last modified: 26 October 2007


The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.