csh vs bash
13 Feb 2023Shell의 역할
Shells offer a standard way of extending the command line environment. You can swap out the default shell for another one, if you like.
Unix, Linux OS가 가진 shell
- C Shell
- Bourne Shell
- Bourne Again Shell (BASH)
CSH
- 1970년대 후반 Bill Joy에 의해 개발됨
- Bourne Shell 호환 안됨
- CSH에서만 작동하는
/etc/.login,/etc/csh.cshrc,/etc/csh.login,~/.cshrc,~/.login
BASH
- 1980년대 후반 Brian Fox에 의해 개발됨
- Bourne Shell 호환됨
- BASH에서만 작동하는
$ENV(typically~/.kshrc),/etc/profile,~/.profile,~/.bash_profile,~/.bash_login,~/.bash_logout,~/.bashrc.