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.
ユーザーがインストール パスを設定するためのクリプトを作成したいと考えています。私はこれを使用しています
read $file_path cd $file_path
ただし、その変数に保存されているパスには変更されません。これは間違った方法のように思われるため、どうすれば正確に設定できますか?
read$を使用して変数を読み取ることはありません。したがって、それは
read
$
read file_path cd $file_path