diff --git a/pages.ja/common/chsh.md b/pages.ja/common/chsh.md new file mode 100644 index 000000000..bd9e29b4c --- /dev/null +++ b/pages.ja/common/chsh.md @@ -0,0 +1,20 @@ +# chsh + +> ユーザーのログインシェルを変更します。 +> 詳しくはこちら: . + +- カレントユーザーのログインシェルを対話的に変更する: + +`chsh` + +- カレントユーザーのログインシェルを変更する: + +`chsh -s {{シェルへのパス}}` + +- 指定したユーザーのログインシェルを変更する: + +`chsh -s {{シェルへのパス}} {{ユーザー名}}` + +- 使用可能なシェルの一覧を表示する: + +`chsh --list-shells`