Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| lwc:programming:bash [2024/09/09 10:15] – [PDF] John Harrison | lwc:programming:bash [2024/09/27 12:48] (current) – [Superuser] John Harrison | ||
|---|---|---|---|
| Line 181: | Line 181: | ||
| < | < | ||
| + | ==== Superuser ==== | ||
| + | === Execute sudo cmd without needing to type password === | ||
| + | == Staying Safe == | ||
| + | - backup ''/ | ||
| + | - leave at least one terminal window open as root | ||
| + | - edit ''/ | ||
| + | == The Magic == | ||
| + | * create a wrapper script that does all your magic for you. Don't add sudo to the cmds in the wrapper script | ||
| + | * using '' | ||
| + | * to execute the cmd without password type '' | ||
| ===== Misc ===== | ===== Misc ===== | ||
| * write to dmesg: '' | * write to dmesg: '' | ||