1 / 8

系统其他管理操作

系统其他管理操作. 9-1 系统管理的其它命令. 1. last 功能:显示先前用户登录信息 格式: # last [ 参数 ] 参数: -n // 列出前 n 行 username // 显示指定用户的登录信息 实例: #last root // 显示超级用户登录信息. 2. date 功能:显示或设定系统日期、时间 格式: #date [MMDDhhmm[CC]YY[.ss]] 实例: # date // 显示日期和时间

ellard
Télécharger la présentation

系统其他管理操作

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 系统其他管理操作

  2. 9-1 系统管理的其它命令 1. last 功能:显示先前用户登录信息 格式:# last [参数] 参数: -n //列出前n行 username //显示指定用户的登录信息 实例: #last root //显示超级用户登录信息

  3. 2. date 功能:显示或设定系统日期、时间 格式: #date [MMDDhhmm[CC]YY[.ss]] 实例: # date //显示日期和时间 # date 082409452005.30 //设定日期和时间

  4. 3. time 功能:测定执行特定的命令所用的时间等信息 格式:# time <COMMAND> 实例: # time ls

  5. 4. whoami 功能:显示当前登录的用户名 实例: #whoami

  6. 5. id 功能:显示当前用户的详细ID 格式:# id〔参数〕 参数: -a 显示所有ID信息 -u 显示UID -g 显示用户所属组的GID -G 显示用户附加组GID 实例: # id # id -u

  7. 6. cal 功能:显示日历 格式:# cal [参数] [CCYY] 参数: -y //指定哪一年的日历 实例: # cal //默认显示本年本月 # cal -y 2000

  8. 上机作业

More Related