红联Linux门户
Linux帮助

chsh命令的使用与参数说明

发布时间:2014-05-29 15:22:01来源:红联作者:velcbo
下面是chsh命令的使用与参数说明。

名称:chsh
  
使用权限:所有使用者
  
用法:shell>> chsh
  
说明:更改使用者 shell 设定
  
范例:
shell>> chsh
Changing fihanging shell for user1
Password: [del]
New shell [/bin/tcsh]: ### [是目前使用的 shell]
[del]
  
shell>> chsh -l ### 展示 /etc/shells 档案内容
/bin/bash
/bin/sh
/bin/ash
/bin/bsh
/bin/tcsh
/bin/csh
文章评论

共有 0 条评论