mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 00:52:22 +00:00
Update cheatsheets
This commit is contained in:
@@ -13,10 +13,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`chsh`
|
||||
|
||||
- Set a specific login [s]hell for the current user:
|
||||
- List available shells:
|
||||
|
||||
`chsh --shell {{path/to/shell}}`
|
||||
`chsl {{[-l|--list-shells]}}`
|
||||
|
||||
- Set a login [s]hell for a specific user:
|
||||
- Set a specific login shell for the current user:
|
||||
|
||||
`sudo chsh --shell {{path/to/shell}} {{username}}`
|
||||
`chsh {{[-s|--shell]}} {{path/to/shell}}`
|
||||
|
||||
- Set a login shell for a specific user:
|
||||
|
||||
`sudo chsh {{[-s|--shell]}} {{path/to/shell}} {{username}}`
|
||||
|
||||
Reference in New Issue
Block a user