|
|
|
|
 请问set 命令的一个用法 - winwall [ 2005-06-22 21:51 | 843 byte(s)]
 Re: 请问set 命令的一个用法 - lonelyflyer [ 2005-06-30 16:07 | 39 byte(s)]
 Re: 请问set 命令的一个用法 - winwall [ 2005-06-23 11:42 | 165 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
我用set -o 可以看到
allexport off
braceexpand on
emacs on
errexit off
hashall on
histexpand on
history on
ignoreeof off
interactive-comments on
keyword off
monitor on
noclobber off
noexec off
noglob off
nolog off
notify off
nounset off
onecmd off
physical off
posix off
privileged off
verbose off
vi off
xtrace off
然后用$ set -o ignoreeof 将ignoreeof 设置为on ,可是我不知怎么将它还愿成off,请大家指点.
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
哦,知道了,每次断开连接再重新连接后,ignoreeof会自动设置为off的.无意中发现的,呵呵.在此时,用ctrl+D实现logout的功能,否则为ignoreeof为on时就没用这个功能了,大家可以试试啊.
|
|
|
[Original]
[Print]
[Top]
|
|
|