LoginSignup
1
0

More than 3 years have passed since last update.

Linux 特殊なシェル変数

Last updated at Posted at 2020-11-30

【Linux 特殊なシェル変数】

特殊なシェル変数まとめ

$$ シェルのPID

$? 最後に実行したコマンドの終了値

$# 引数の個数

$* 区切り文字で区切られた全ての引数(デフォルトは空文字)

$0 実行ファイル名

$1... 1番目の引数、2番目の引数...

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0