mirror of https://github.com/CrimsonTome/tldr.git
chsh: refresh page (#7998)
* Make grammar more general via using `a` * Delete chsh.md * Apply suggestions from code review Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com> * Enhance descriptions: - add mnemonics - replace `Print` with `List` * Use portable `--list-shells` counterpart * Update pages/common/chsh.md Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>pull/3/head
parent
73cc3d7432
commit
12c37fc025
|
@ -1,20 +1,20 @@
|
|||
# chsh
|
||||
|
||||
> Change the user's login shell.
|
||||
> Change user's login shell.
|
||||
> More information: <https://manned.org/chsh>.
|
||||
|
||||
- Change the current user's login shell interactively:
|
||||
- Set a specific login shell for the current user interactively:
|
||||
|
||||
`chsh`
|
||||
|
||||
- Change the login shell of the current user:
|
||||
- Set a specific login [s]hell for the current user:
|
||||
|
||||
`chsh -s {{path/to/shell}}`
|
||||
|
||||
- Change the login shell for a given user:
|
||||
- Set a login [s]hell for a specific user:
|
||||
|
||||
`chsh -s {{path/to/shell}} {{username}}`
|
||||
|
||||
- List available shells:
|
||||
- [l]ist available shells:
|
||||
|
||||
`chsh --list-shells`
|
||||
`chsh -l`
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
# chsh
|
||||
|
||||
> Change the user's login shell.
|
||||
> More information: <https://manned.org/chsh>.
|
||||
|
||||
- Change the current user's login shell interactively:
|
||||
|
||||
`chsh`
|
||||
|
||||
- Change the current user's login shell:
|
||||
|
||||
`chsh --shell {{path/to/shell}}`
|
||||
|
||||
- Change the login shell for a given user:
|
||||
|
||||
`chsh --shell {{path/to/shell}} {{username}}`
|
||||
|
||||
- List available shells:
|
||||
|
||||
`chsh --list-shells`
|
Loading…
Reference in New Issue