Browse Source

sudo: Add example to run an interactive shell

Minh Nguyen 7 years ago
parent
commit
4c9f12072e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/sudo.md

+ 4 - 0
pages/common/sudo.md

@@ -17,3 +17,7 @@
 - Repeat the last command as sudo:
 
 `sudo !!`
+
+- Run an interactive shell as sudo:
+
+`sudo --login`