LoginSignup
12
8

More than 5 years have passed since last update.

Ubuntuでデフォルトのシェルを変える

Posted at

地味に知らなかった

  • ubuntu

適当にシェルをインストール

$ sudo apt-get install zsh

シェルを起動してみる

$ /bin/zsh
(設定ファイルが無い云々言われる)

シェルを切り替える

$ chsh
no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
Changing the login shell for yoshi
Enter the new value, or press ENTER for the default
    Login Shell [/bin/bash]:

みたいな感じで聞かれるので /bin/shell と答える

ログインしなおしてみる。shellが変わる。echo $SHELL を見てみる。

12
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
8