iLife

OS X 기본 shell 바꾸기

KraZYeom 2012. 6. 13. 21:03
반응형

fish shell 로 바꾸고 뭔가 마음에 안들어서 shell을 다시 바꿀려고 하니 명령어가 뭐더라! 

chage shell 요놈인가 보다. 


사용할수 있는 쉘 목록 보기 cat /etc/shells 

쉘 바꾸기 chsh -s /bin/bash 

암호를 물어보니 입력해주면 바뀐다. 


Steves-MacBook-Air% cat /etc/shells         

# List of acceptable shells for chpass(1).

# Ftpd will not allow users to connect who are not using

# one of these shells.

/bin/bash

/bin/csh

/bin/ksh

/bin/sh

/bin/tcsh

/bin/zsh

#/usr/local/bin/fish


Steves-MacBook-Air% chsh -s /bin/bash

Changing shell for krazyeom.

Password for krazyeom: 


반응형