查看电脑上有哪些shell
bogon:Documents mac$ cd /private/etc
bogon:etc mac $ cat 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
- bash 早期默认的
- csh 不用管,已经被 tcsh 替代了
- dash 最新系统才支持的一种
- ksh 兼容了 bash
- sh 已经被 bash 替代
- tcsh
- zsh 目前最强大,最受欢迎【目前默认】
vi 和 vim 一样吗?
现在一样了。vi 已经被 vim 代替了
网友评论