Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
ktpsns
6y ago
0 comments
Save
Share
Something which comes handy for me in everyday life is
sudo -s
which gives you a root (login) shell, so you don't have to type "sudo" in front of every single command.
0 comments
1 comments · 1 top-level
top
newest
oldest
zerocrates
6y ago
Isn't it "sudo -i" for a login shell, vs. -s for non-login?
For my part, I almost always do "sudo su" for this purpose... it's just what I'm used to.
j
/
k
navigate · click thread line to collapse