UFW Enable需要y提示,如何使用Bash Script自动执行?


13

我正在尝试在Ubuntu 16.04实例上自动设置UFW。但是当我键入:

sudo ufw enable

我被提示输入是或否,是否可以输入是或自动将其设置为启动而不会被提示卡住?

Answers:




By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.