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

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/dollarsign.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 dollarsign Context: sherpa

Synopsis

Must precede any Unix command issued within Sherpa or ChIPS.

Syntax

sherpa> $<arg>
chips> $<arg>

where <arg> is a Unix command. Alternatively, ! can be used in place of
$.

Description

However, the Unix command cd is an exception to this syntax, and must be issued within Sherpa or ChIPS without a preceding $ character.

The Unix commands ls and pwd are also exceptions to this syntax, and may or may not be issued within Sherpa or ChIPS without a preceding $ character.

Example 1

Issue various Unix commands within Sherpa:


sherpa> cd /disks/a/mydata
sherpa> ls
sherpa> pwd
/disks/a/mydata

Example 2

Issue various Unix commands within Sherpa:


sherpa> $more data.dat
0.5 1.80766
1.5 2.21929
2.5 2.64117
3.5 3.10638
4.5 3.51711
5.5 3.74749

Example 3

Use a Unix command to clear the screen:


sherpa> $clear

This Unix command will clear the screen.

Bugs

See the Sherpa bug pages online for an up-to-date listing of known bugs.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



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.