Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$$KornShellでの の意味は何ですか? プロセスIDに関連付けられていると思いますが、その正確な意味を知りたいです。
$$
プロセス ID で一時的な名前を作成するために使用されます。ファイル名が必要だが、その名前は現在のプロセスに固有のものである必要があるとします。そのため、複数の人が同じ ksh スクリプトを実行しても、お互いに踏み込むことはありません。
$$ は、bash、sh、およびその他の UN*X シェルにあります。