Files
linux-wiki/content/deepin折腾笔记/第十一章/11.1.md
2021-10-21 14:57:58 +08:00

11 lines
361 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 11.1 以管理员身份自启动
1 编辑 ~/.profile 添加下面三行内容:
2 sudo -S rmmod pcspkr <<EOF
3 password(你的密码)
4 EOF
5 在Shell脚本中通常将EOF与 << 结合使用表示后续的输入作为子命令或子Shell的输入直到遇到EOF为止再返回到主Shell即将你的密码当做命令的输入。