我制作了一个简单的 shell 脚本(我以 root 身份运行)来下载我在重新安装 ubuntu 时可能需要的基本应用程序:它看起来像这样:
apt-get install docky && apt-get install geany && apt-get install firefox && apt-get install audacity && apt-get install kdenlive && apt-get install openshot && apt-get install shotwell && apt-get install stellarium && apt-get install thunderbird, etc...
Run Code Online (Sandbox Code Playgroud)
问题是我仍然收到 Y/n 提示,我需要手动一直按 Y。有没有办法可以自动接受所有提示并下载并安装所有内容?