C.6 Scripting and Shell Programming

The following commands include shells and programs useful in shell scripts.


bash

Bourne Again shell (default).


csh

C shell.


echo

Repeats command-line arguments on standard output.


expr

Performs arithmetic and comparisons.


line

Reads a line of input.


lockfile

Makes sure that a file is accessed by only one script at a time.


perl

Practical Extraction and Report Language, Version 5.8.1 RC3.


php

PHP scripting language Version 4.3.2, used for web development.


printf

Formats and prints command-line arguments.


python

Python scripting language, Version 2.3.


ruby

Ruby scripting language, Version 1.6.8.


sh

Standard Unix shell.


sleep

Causes a pause during processing.


tclsh

Tool Command Language (Tcl) shell, Version 8.4.


tcsh

Tenex C shell.


test

Command that tests a condition.


xargs

Command that reads arguments from standard input and passes them to a command.


zsh

Enhanced Unix shell.



Mac OS X Panther for Unix Geeks
Mac OS X Panther for Unix Geeks
ISBN: 0596006071
EAN: 2147483647
Year: 2003
Pages: 212

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net