更改默认shell

更改默认shell,需要管理员权限。。。

/user/sbin/usermod -s /bin/tcsh username

 

To change your Cygwin shell, you can alter the /etc/passwd file. Each line is a delimited list of user accounts, where the last entry is the shell for that user. Simply change the line that reads, for example:

abhisek:[some other stuff]:/usr/bin/bash

to:

abhisek:[some other stuff]:/usr/bin/tcsh

posted on 2013-03-20 17:36  Lo0ong  阅读(573)  评论(0编辑  收藏  举报

导航