mirror of https://github.com/CrimsonTome/tldr.git
su: reorder examples, simpler first. (#2732)
parent
a0cbc90c3a
commit
e921d0e6b6
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
> Switch shell to another user.
|
> Switch shell to another user.
|
||||||
|
|
||||||
- Switch to user {{username}} (password required):
|
|
||||||
|
|
||||||
`su {{username}}`
|
|
||||||
|
|
||||||
- Switch to superuser (admin password required):
|
- Switch to superuser (admin password required):
|
||||||
|
|
||||||
`su`
|
`su`
|
||||||
|
|
||||||
|
- Switch to user {{username}} (password required):
|
||||||
|
|
||||||
|
`su {{username}}`
|
||||||
|
|
||||||
- Switch to user {{username}} and simulate a full login shell:
|
- Switch to user {{username}} and simulate a full login shell:
|
||||||
|
|
||||||
`su - {{username}}`
|
`su - {{username}}`
|
||||||
|
|
Loading…
Reference in New Issue