Mac查看与修改系统默认shell 查看所有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 这表示目前系统下有7种版本的
效果如图: 实现方法:在当前用户的家目录下新建文件.vimrc [root@nodchen-db01-test ~]# pwd/root [root@nodchen-db01-test ~]# file .vimrc .vimrc: UTF-8 Unicode text 新建文件并放入以下内容.重新登录后生效 set nocompatible set history=100 set lcs=tab:\?\ filetype on filetype plugin on filetype inden