$0 - Scriptname
$* - All positional parameters
$@ - All positional parameters with spaces
$# - Number of parameters
$$ - Current process ID
$! - ID of Background job
$? - error status
bash中的$0,$@,$*等的意义
最新推荐文章于 2022-12-27 10:49:16 发布
$0 - Scriptname
$* - All positional parameters
$@ - All positional parameters with spaces
$# - Number of parameters
$$ - Current process ID
$! - ID of Background job
$? - error status