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.
慣例では、bashスクリプトをデフォルトの$PATHのディレクトリの1つに残すのではないかと思います。どれの?
2種類のスクリプトを想像しているので、2つの答えをお願いします。
/usr/local/binユーザーおよび/usr/local/sbinルートの場合、通常、ローカルで実行することを目的としたユーザー作成のスクリプトが配置されます。
/usr/local/bin
/usr/local/sbin