1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ja/common/chsh.md

21 lines
501 B
Markdown
Raw Normal View History

2022-10-31 19:26:33 +09:00
# chsh
> ユーザーのログインシェルを変更します。
> 詳しくはこちら: <https://manned.org/chsh>
2022-10-31 19:26:33 +09:00
- カレントユーザーのログインシェルを対話的に変更する:
`chsh`
- カレントユーザーのログインシェルを変更する:
`chsh -s {{シェルへのパス}}`
- 指定したユーザーのログインシェルを変更する:
`chsh -s {{シェルへのパス}} {{ユーザー名}}`
- 使用可能なシェルの一覧を表示する:
`chsh -l`