Linux基础-Linux基本命令之-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

  

Linux基础-Linux基本命令之-chsh 命令详解

  

梦之翼网络整理提供,转载请注明本文原始地址: http://www.muxiaofei.com/html/2011326.html

Linux基础-Linux基本命令之-chsh 命令详解

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据