본문 바로가기
Etc./WSL

[WSL] bash? zsh? oh-my-zsh?

by ahj 2021. 10. 31.

bash bash 자꾸 다들 그러길래 뭔가 싶어서 검색해봤더니 이미 사용하고 있던 zsh가 bash 발전 버전 같은 것이었다;;

항상 '그런데 zsh가 뭐지' 하면서 쓰고 있긴 했는데...😅

이것도 모르고 쓰고 있었니..

 

우선 가볍게 이해하고 읽기에 이 블로그 글이 좋은 듯

https://ithub.tistory.com/205

 

shell, bash, zbash의 간단 개념정리

linux 계열 운영체제를 사용하시는 분들 중 bash, bashrc, zbash 에 대한 개념이 없거나, 헷갈리시는 분들 가볍게 읽어주세요. ;) shell, sh, bash, zbash 등.. 간단하게 알아보자. shell이란? 명령어 처리기 (ak..

ithub.tistory.com

 

shell은 명령어 처리기

그 종류로 sh, bash, zsh, ksh, csh 등이 있는 것이다.

https://sunyzero.tistory.com/264

 

bash : 기초 : 셸의 역사, 종류

셸의 발전 순서대로 보면 다음과 같다. Bourne shell : /bin/sh - POSIX shell C shell : /bin/csh - Sun microsystem (BSD) Korn shell : /bin/ksh bash : /bin/bash zsh : /bin/zsh 1. bash 이전의 셸들 가장..

sunyzero.tistory.com

초기 유닉스, 현역으로 뛰고 있는 bash(bourne-again shell), 거기에서 좀 더 발전(?)해서 예쁘기까지 한게 zsh인듯 싶다

sh(bourne shell)에서 bourne은 뭘까 궁금해서 찾아도 안나오길래 공홈을 가서 찾아봤더니

https://en.wikipedia.org/wiki/Stephen_R._Bourne

 

Stephen R. Bourne - Wikipedia

British computer scientist Stephen Richard "Steve" Bourne (born 7 January 1944) is an English computer scientist based in the United States for most of his career. He is well known as the author of the Bourne shell (sh), which is the foundation for the sta

en.wikipedia.org

이 분이 개발하신 shell cli가 sh여서 bourne shell이라고 부르는 것 같고

 

그러면 Bourne-Sgain SHell은(bash) 뭘까 싶어서 찾아봤더니

https://www.gnu.org/software/bash/manual/html_node/What-is-Bash_003f.html

 

What is Bash? (Bash Reference Manual)

1.1 What is Bash? Bash is the shell, or command language interpreter, for the GNU operating system. The name is an acronym for the ‘Bourne-Again SHell’, a pun on Stephen Bourne, the author of the direct ancestor of the current Unix shell sh, which appe

www.gnu.org

이 GNU 공식 홈페이지에 따르면 'a pun on Stephen Bourne' 즉, 말장난으로 지은 듯 하다 ㅋㅋ 개발하는 사람들 이런 소소한 장난 좋다. 나는 진짜 born-again인줄 알았네 ㅋㅋ 뭐 그런 의도로 중의적으로 말장난 한 거겠지만 ㅎㅎ 진지하게 bourne이 born의 어원인줄 알았다😂 bourne이 born의 뭐 독일어? 라틴어? 쯤 되는 줄ㅋㅋㅋ

암튼 여기에 따르면 또한 bash는 이전에 있던 sh, ksh, csh와 모두 호환 가능하다고..

 

암튼 결론적으로 내가 vscode에서 쓰고 있는 zsh는 예쁜 sh? 정도로 우선 이해하고 넘어가면 될 것 같다.

그리고 문제의 oh-my-zsh는 zsh를 managing해주는 프레임워크다

https://ohmyz.sh/

 

Oh My Zsh - a delightful & open source framework for Zsh

Oh-My-Zsh is a delightful, open source, community-driven framework for managing your ZSH configuration. It comes bundled with several helpful functions, helpers, plugins, themes, and a few things that make you shout... OH MY ZSH!

ohmyz.sh

 

어휴 드디어 좀 이해가 됐다.

'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

댓글