零零社区|百姓的网上家园-互动交流平台!(0.0)=^_^=(00社区)

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz

Linux命令Man解释:chsh :更换你登入时所用的shell

2013-4-5 13:34| 发布者: 123456000000| 查看: 7| 评论: 0

摘要: 名称 chsh-更换你登入时所用的shell 语法 chsh 描述 chsh用来更换你登入时所用的shell。在命令列没指定shell。chsh会提示一个给你。 有效的shell chsh 可用指定路径全名的方式来指定任何一个可执行的档案。然而,如果 ...
名称
chsh - 更换你登入时所用的shell 

语法
chsh [ -s shell ] [ -l ] [ -u ] [ -v ] [ username ]

描述
chsh 用来更换你登入时所用的shell 。在命令列没指定shell。 chsh 会提示一个给你。 

有效的shell

chsh
可用指定路径全名的方式来指定任何一个可执行的档案。 然而,如果此 shell并没纪录在 /etc/shells 档上,则chsh会提出警告讯息。

选项
-s, --shell 变更你的登入shell. 
-l, --list-shells 
列出纪录在 /etc/shells 的shell。 
-u, --help 
使用短讯。 
-v, --version 
版本资讯

相关文件
login(1) , passwd(5) , shells(5)

作者
Salvatore Valente (BP 1.0)

路过

雷人

握手

鲜花

鸡蛋

相关阅读

发表评论

最新评论

相关分类


Archiver|手机版|小黑屋|00社区

GMT+8, 2023-1-31 10:51 , Processed in 0.044745 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部