Built with from Grav and Hugo
1 编辑 ~/.profile 添加下面三行内容:
2 sudo -S rmmod pcspkr «EOF
3 password(你的密码)
4 EOF
5 在Shell脚本中,通常将EOF与 « 结合使用,表示后续的输入作为子命令或子Shell的输入直到遇到EOF为止,再返回到主Shell,即将‘你的密码’当做命令的输入。