99番出口が何なのか、なぜ使われるのか、その重要な目的が何なのか知りたいです。
たとえば、私はexit 99
。
ベストアンサー1
コード99で終了することは、特定のプログラムのコンテキスト内を除いて意味がありません。
いずれにせよ、exit
シェルは特定の終了コード(この場合は99)で終了します。詳細は以下で確認できますhelp exit
。
exit: exit [n]
Exit the shell.
Exits the shell with a status of N. If N is omitted, the exit status
is that of the last command executed.