Unix Linux

Bash parameters and parameter expansions

_침묵_ 2007. 5. 18. 20:23

출처 :http://www-128.ibm.com/developerworks/library/l-bash-parameters.html?ca=drs-

Linux tip:Bash parameters and parameter expansions

Passing and analyzing parameters in scripts 

Level: Intermediate

Ian Shields(ishields@us.ibm.com), Senior Programmer, IBM

16 May 2007

Do you sometimes wonder how to use parameters with your scripts, and how to pass them to internal functions or other scripts? Do you need to do simple validity tests on parameters or options, or perform simple extraction and replacement operations on the parameter strings? This tip helps you with parameter use and the various parameter expansions available in the bash shell.

'Unix Linux' 카테고리의 다른 글

Semaphores in Linux  (0) 2007.05.31
OS별 CPU 개수 확인  (0) 2007.05.18
Solaris 64bit process monitoring  (0) 2007.05.17