答: 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 o
clearcase/" 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鍵查看前面的信息。