Text-only | Table of Contents (frame/ no frame) |
(5) UNIX Shells |
![]() ![]() ![]() |
echo $shell
, to see a user's default shell finger
jwallace
/bin/sh
(just like any other program)
chsh
(works on some systems, not all. Send mail to manager)
$HOME, $PRINTER
*?[]
into a sorted list of matching filenames (pathnames).
>> outfile
). Remove
these items - the program does not see this information
echo `date`
)
echo
, cd
)
which
ls
)
Most commands take optional flags introduced by a "-".
How the arguments are interpreted is up to each individual program, but most programs accept
filename arguments in a predictable way, or attempt to do something natural with standard input if no
filename arguments are present.
Example:
ls
ls *
setenv
LSFLAGS -lF
ls $LSFLAGS
slide05.src last modified Feb 8, 2011 | Introduction | Table of Contents (frame/no frame) |
Printable (single file) |
© Dartmouth College |