我正在尝试将目录更改为 home/developer。我cd home/developer在我的 shell 脚本中使用过。执行脚本后,它再次进入原始目录,在那里我执行了 shell 脚本。
cd home/developer
bash scripts
bash ×1
scripts ×1