bash bash 자꾸 다들 그러길래 뭔가 싶어서 검색해봤더니 이미 사용하고 있던 zsh가 bash 발전 버전 같은 것이었다;;
항상 '그런데 zsh가 뭐지' 하면서 쓰고 있긴 했는데...😅
이것도 모르고 쓰고 있었니..
우선 가볍게 이해하고 읽기에 이 블로그 글이 좋은 듯
shell은 명령어 처리기
그 종류로 sh, bash, zsh, ksh, csh 등이 있는 것이다.
https://sunyzero.tistory.com/264
초기 유닉스, 현역으로 뛰고 있는 bash(bourne-again shell), 거기에서 좀 더 발전(?)해서 예쁘기까지 한게 zsh인듯 싶다
sh(bourne shell)에서 bourne은 뭘까 궁금해서 찾아도 안나오길래 공홈을 가서 찾아봤더니
https://en.wikipedia.org/wiki/Stephen_R._Bourne
이 분이 개발하신 shell cli가 sh여서 bourne shell이라고 부르는 것 같고
그러면 Bourne-Sgain SHell은(bash) 뭘까 싶어서 찾아봤더니
https://www.gnu.org/software/bash/manual/html_node/What-is-Bash_003f.html
이 GNU 공식 홈페이지에 따르면 'a pun on Stephen Bourne' 즉, 말장난으로 지은 듯 하다 ㅋㅋ 개발하는 사람들 이런 소소한 장난 좋다. 나는 진짜 born-again인줄 알았네 ㅋㅋ 뭐 그런 의도로 중의적으로 말장난 한 거겠지만 ㅎㅎ 진지하게 bourne이 born의 어원인줄 알았다😂 bourne이 born의 뭐 독일어? 라틴어? 쯤 되는 줄ㅋㅋㅋ
암튼 여기에 따르면 또한 bash는 이전에 있던 sh, ksh, csh와 모두 호환 가능하다고..
암튼 결론적으로 내가 vscode에서 쓰고 있는 zsh는 예쁜 sh? 정도로 우선 이해하고 넘어가면 될 것 같다.
그리고 문제의 oh-my-zsh는 zsh를 managing해주는 프레임워크다
어휴 드디어 좀 이해가 됐다.
'Etc. > WSL' 카테고리의 다른 글
[WSL] home directory (0) | 2021.11.02 |
---|---|
[WSL] wsl 버전 확인 (0) | 2021.10.31 |
[WSL/CLI] 비어있지 않은 폴더 지우기 (0) | 2021.10.20 |
[WSL/ubuntu] 노마드코더 개발자 설정 공부 (0) | 2021.08.29 |
댓글