最近學習linux的shell script
做一寫筆記備用
$1 $2 ..... parameter 1 2 ....
$# total number of parameter
$? return value of previous command
$@ list of all parameters one bye one
$* list all parameters with one string
logic operator
1.
while [ true ] ; do
done
2.
until [ ] ; do
done
3.
for arg in " "
do
done
4.
if [ ]
then
else
fi
Online Tutorial Link
沒有留言:
張貼留言