B.7. Working with Files and Directories

 < Day Day Up > 

B.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.


ksh

The Korn shell.


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.6.


php

PHP scripting language Version 4.3.10, used for web development.


printf

Formats and prints command-line arguments.


python

Python scripting language, Version 2.3.5.


ruby

Ruby scripting language, Version 1.8.2.


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.

     < Day Day Up > 


    Mac OS X Tiger for Unix Geeks
    Mac OS X Tiger for Unix Geeks
    ISBN: 0596009127
    EAN: 2147483647
    Year: 2006
    Pages: 176

    Similar book on Amazon

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