aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/su
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-11-27 15:37:48 +0100
committerneodarz <neodarz@neodarz.net>2018-11-27 15:38:23 +0100
commit15a404e6a0d95383f02423860a599ad987830424 (patch)
tree9d436add216637e8da066f6f85611306dfc4ba85 /cheat/.cheat/su
parent8e781f77466eb7ee6b78301042a37b5f61766e70 (diff)
downloaddotfiles_ascii-15a404e6a0d95383f02423860a599ad987830424.tar.xz
dotfiles_ascii-15a404e6a0d95383f02423860a599ad987830424.zip
Add some cheat
Diffstat (limited to 'cheat/.cheat/su')
-rw-r--r--cheat/.cheat/su5
1 files changed, 5 insertions, 0 deletions
diff --git a/cheat/.cheat/su b/cheat/.cheat/su
new file mode 100644
index 0000000..06799c0
--- /dev/null
+++ b/cheat/.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