Special Parameters

   

Korn Shell: Unix and Linux Programming Manual, Third Edition, The
By Anatole Olczak

Table of Contents
Appendix G.  Pdksh Quick Reference


Some special parameters are automatically set by the Korn shell, and usually cannot be directly set or modified.

$#

number of positional parameters

$@

all positional parameters ("$1", "$2", ..., "$n")

$*

all positional parameters ("$1 $2... $n")

$?

exit status of the last command

$$

process id of the current shell

$?/span>

current options in effect

$!

process id of last background command


       
    Top
     



    Korn Shell. Unix and Linux Programming Manual, Third Edition
    Korn Shell. Unix and Linux Programming Manual, Third Edition
    ISBN: N/A
    EAN: N/A
    Year: 2000
    Pages: 177

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