31
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

bash , zsh等の確認・変更

Last updated at Posted at 2019-12-09

 Mac OSでのbash等の確認について、メモしておく

#●現在の状態

 ターミナルを開く

echo $SHELL

#●使用可能なもの

cat /etc/shells

例:/bin/bash , /bin/zsh 等が表示される

#●変更

chsh -s /bin/bash

 ※変更時にパスワードを聞かれる
 ※変更後、ターミナルを切り、もう一度ターミナルを起動する
  echo〜で現在の状態を確認すると、変更が適用されている

31
19
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
31
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?