如何从 Ubuntu 的 cmd 以 root 权限运行 .sh 脚本?有些脚本需要输入密码。我想避免这种情况。
scripting linux ubuntu root sudo
linux ×1
root ×1
scripting ×1
sudo ×1
ubuntu ×1