본문 바로가기

Computer Science&Engineering/리눅스

MAC에서 shell 변경하기

 

1. 현재 shell 확인

% echo $SHELL
/bin/zsh

 

2. bash 혹은 zsh shell 로 변경

% chsh -s /bin/bash
Changing shell for user.
Password for user: 
%

 

3. 터미널 재실행

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.

 

4. 변경 확인

echo $SHELL
/bin/bash

 

 

반응형