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
Emily Grace Seville 2023-01-10 02:35:58 +10:00 committed by GitHub
parent 73cc3d7432
commit 12c37fc025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 26 deletions

View File

@ -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`

View File

@ -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`