aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/cheat/su
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/cheat/su')
-rw-r--r--dotfiles/cheat/su5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/cheat/su b/dotfiles/cheat/su
new file mode 100644
index 0000000..06799c0
--- /dev/null
+++ b/dotfiles/cheat/su
@@ -0,0 +1,5 @@
+# Switch to another user account
+su USERNAME
+
+# Login to an account with special shell
+su - <user> -s /bin/bash