2007-11-11 05:16:11 +05:30
|
|
|
|
.\" $Id$
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.\" (c) 1994 by salvatore valente <svalente@athena.mit.edu>
|
|
|
|
|
.\"
|
|
|
|
|
.\" 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.
|
|
|
|
|
.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>
|