who − 顯示已經登入的使用者
who [OPTION]... [ FILE | ARG1 ARG2 ]
−H, −−heading
顯示 欄目行
−i, −u, −−idle
增加 顯示 使用者的 空閒時間, 格式是 HOURS:MINUTES, . 或 old
−l, −−lookup
試圖 通過 DNS 規範 主機名
−m |
僅顯示 和 stdin 關聯 的 主機名 和 使用者 |
−q, −−count
顯示 全部的 登入名 和 登入數
−s |
(忽略) |
−T, −w, −−mesg
用 +, - 或 ? 表示 使用者的 消息(message) 狀態.
−−message
同 −T
−−writable
同 −T
−−help |
顯示 幫助信息, 然後 結束 |
−−version
顯示 版本信息, 然後 結束
如果 沒有 指定 FILE, 預設 使用 /var/run/utmp. /var/log/wtmp 是 比較 常用的 FILE. 如果 給出 ARG1 ARG2, who 設定 −m 有效: 他們 通常 是 ‘am i’ 或 ‘mom likes’.
發現的 bug 送往 <bug-sh-utils AT gnu DOT org>.
who 的 完整文件 以 Texinfo 手冊 的 格式 維護. 如果 正確 安裝了 info 和 who 程式, 使用 命令
info who
能夠 訪問到 完整 的 手冊.
Copyright © 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
徐明 <xuming AT users DOT sourceforge DOT net>
2003/05/13
http://cmpp.linuxforum.net