mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 20:15:23 +02:00
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>
This commit is contained in:
parent
73cc3d7432
commit
12c37fc025
2 changed files with 6 additions and 26 deletions
|
@ -1,20 +1,20 @@
|
||||||
# chsh
|
# chsh
|
||||||
|
|
||||||
> Change the user's login shell.
|
> Change user's login shell.
|
||||||
> More information: <https://manned.org/chsh>.
|
> 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`
|
`chsh`
|
||||||
|
|
||||||
- Change the login shell of the current user:
|
- Set a specific login [s]hell for the current user:
|
||||||
|
|
||||||
`chsh -s {{path/to/shell}}`
|
`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}}`
|
`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…
Add table
Reference in a new issue