首页 > 解决方案 > 使用 shell 脚本打开 gedit,然后在关闭 gedit 后执行另一个进程

问题描述

我有以下脚本

echo "Please Specify the Name of the file"
read file

echo "Please copy and paste the information into ${file}     and press save and close."
gedit ${file}

echo "You now have ${file} to be processed"

如何调整脚本,以便在我关闭 gedit 窗口之前不会显示“您现在有 ${file} 待处理”这句话?

标签: shellfilegedit

解决方案


推荐阅读