2007-10-07 17:17:11 +05:30
|
|
|
|
.\" $Id: chsh.1,v 1.4 2005/12/01 20:38:28 kloczek Exp $
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.\" (c) 1994 by salvatore valente <svalente@athena.mit.edu>
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.\"
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.\" this program is free software. you can redistribute it and
|
|
|
|
|
.\" modify it under the terms of the gnu general public license.
|
|
|
|
|
.\" there is no warranty.
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.TH CHSH 1 "October 13 1994" "chsh" "Linux Reference Manual"
|
2007-10-07 17:17:11 +05:30
|
|
|
|
.SH 名称
|
|
|
|
|
chsh \- 更换你登入时所用的shell
|
|
|
|
|
.SH 语法
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.B chsh
|
|
|
|
|
[\ \-s\ shell\ ] [\ \-l\ ] [\ \-u\ ] [\ \-v\ ] [\ username\ ]
|
2007-10-07 17:17:11 +05:30
|
|
|
|
.SH 描述
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.B chsh
|
2007-10-07 17:17:11 +05:30
|
|
|
|
用来更换你登入时所用的shell
|
|
|
|
|
。在命令列没指定shell。
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.B chsh
|
2007-10-07 17:17:11 +05:30
|
|
|
|
会提示一个给你。
|
|
|
|
|
.SS 有效的shell
|
2007-10-07 17:15:23 +05:30
|
|
|
|
.B chsh
|
2007-10-07 17:17:11 +05:30
|
|
|
|
可用指定路径全名的方式来指定任何一个可执行的档案。
|
|
|
|
|
然而,如果此 shell并没纪录在
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.I /etc/shells
|
2007-10-07 17:17:11 +05:30
|
|
|
|
档上,则chsh会提出警告讯息。
|
|
|
|
|
.SH 选项
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.TP
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.I "\-l, \-\-list\-shells"
|
2007-10-07 17:17:11 +05:30
|
|
|
|
列出纪录在
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.I /etc/shells
|
2007-10-07 17:17:11 +05:30
|
|
|
|
的shell。
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.TP
|
2007-10-07 17:15:40 +05:30
|
|
|
|
.I "\-s, \-\-shell"
|
2007-10-07 17:17:11 +05:30
|
|
|
|
变更你的登入shell.
|
2007-10-07 17:15:40 +05:30
|
|
|
|
.TP
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.I "\-u, \-\-help"
|
2007-10-07 17:17:11 +05:30
|
|
|
|
使用短讯。
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.TP
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.I "\-v, \-\-version"
|
2007-10-07 17:17:11 +05:30
|
|
|
|
版本资讯
|
|
|
|
|
.SH "相关文件"
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.BR login (1),
|
|
|
|
|
.BR passwd (5),
|
|
|
|
|
.BR shells (5)
|
2007-10-07 17:17:11 +05:30
|
|
|
|
.SH 作者
|
2007-10-07 17:15:14 +05:30
|
|
|
|
Salvatore Valente <svalente@mit.edu>
|