怎样通过联机帮助学会不懂的命令

发表于:2007-07-04来源:作者:点击数: 标签:
答: HP-UX提供了一个联机命令---"man",该命令用于帮助用户了解某个HP-UX命令的使用方法 、 命令的作用等等。 如下例,显示了HP-UX命令 who 的联机帮助信息: #man who who(1) NAME who - who is on the system SYNOPSIS who [-muTlHqpdbrtasAR] [file] who

  答:
  HP-UX提供了一个联机命令---"man",该命令用于帮助用户了解某个HP-UX命令的使用方法 、 命令的作用等等。
  如下例,显示了HP-UX命令 who 的联机帮助信息:
  
  #man who
  
  who(1)
  
  NAME
  who - who is on the system
  
  SYNOPSIS
  who [-muTlHqpdbrtasAR] [file]
  
  who am i
  
  who am I
  
  DESCRIPTION
  The who command can list the user's name, terminal line, login time,elapsed time since input activity oclearcase/" target="_blank" >ccurred on the line, the user's host name, and the process-ID of the command interpreter (shell) for each current system user. It examines the /etc/utmp file to obtain its information. If file is given, that file is examined. Usually,file is /var/adm/wtmp, which contains a history of all of the logins since the file was last created.
  The who command with the am i or am I option identifies the invoking user.
  cat12619 (9%) <-- 表示仅列出了所有信息的9%。继续显示后续信息,可以按空格键,或J键;也可以按K键查看前面的信息。
  
  
  
  
  
  
  

原文转自:http://www.ltesting.net