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 スクリプトでディレクトリを変更しようとしています。このために、cdコマンドを使用しようとしました。ただし、スクリプトが終了すると、現在のディレクトリはスクリプト呼び出しの前の位置に復元されます。変数も変更しようとしましPATHたが、効果もありませんでした。これを行う方法はありますか?
cd
PATH