Korn Shell. Unix and Linux Programming Manual, Third Edition

   

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
     

    Категории