###### tags: `SB study` ###### tags: `terminal` # 終端機 Shell是Linux作業系統裡,透過指令 (Command) 與核心 (Kernel) 溝通的一個介面 大多數的 Linux 發行版預設帶的 Shell 都是 ==bash== ==zsh== 是 Shell 家族的其中一個分支,除了繼承 bash 原本的功能外,也綜合各家 (包括但不限於 ksh、tcsh…等) 特性之大成 #### 若你想要安裝zsh,輸入以下指令 ``` sudo apt install zsh ``` #### 查看你的電腦defult是哪一個shell 打開你的terminal,查看最上面  #### 切換shell >若你想要查看你的電腦裡有什麼shell: ``` cat /etc/shells ``` >在terminal切換成zsh: ``` chsh -s /bin/zsh ``` >在terminal切換成bash: ``` chsh -s /bin/bash ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up