一、查看当前 shell 状态
$ echo $0
-zsh
二、查看当前系统有哪些shell
$ 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/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
三、切换 shell 工具
$ chsh -s /bin/tcsh
退出窗口,重新打开即可
文章评论
So am I. Which says all you need to know about my attention to Goodreads. Still, I could always rave at her there .. Thanks, CJ. Blake Heckard
My pleasure. I look forward to getting down to Philly again to chat with you. Dorian Ziech