Corrected html format
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@217 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
564c693acf
commit
719f585dc5
1 changed files with 32 additions and 0 deletions
32
site/pages/cmd/interm/Who.html
Normal file
32
site/pages/cmd/interm/Who.html
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
---
|
||||||
|
layout: page
|
||||||
|
category_title: Intermediate commands
|
||||||
|
category-page: intermediate
|
||||||
|
tags: who user list log
|
||||||
|
author: Marco Farace
|
||||||
|
title: Who/WhoamI
|
||||||
|
---
|
||||||
|
|
||||||
|
<p>The who utility displays a list of all users currently logged on, showing
|
||||||
|
for each user the login name, tty name, the date and time of login, and
|
||||||
|
hostname if not local. </p>
|
||||||
|
|
||||||
|
<h3> Flags </h3>
|
||||||
|
<ul>
|
||||||
|
<li>-b: Display time of last system boot.</li>
|
||||||
|
<li>-d: Print dead processes.</li>
|
||||||
|
<li>-H: Write column headings above the regular output.</li>
|
||||||
|
<li>-m: Only print information about the current terminal. This is the
|
||||||
|
POSIX way of saying who am i.</li>
|
||||||
|
<li>-q: ``Quick mode'': List only the names and the number of users cur-
|
||||||
|
rently logged on. When this option is used, all other options are
|
||||||
|
ignored.</li>
|
||||||
|
<li>-s: List only the name, line and time fields. This is the default.</li>
|
||||||
|
<li>-T: Print a character after the user name indicating the state of the
|
||||||
|
terminal line: `+' if the terminal is writable; `-' if it is not;
|
||||||
|
and `?' if a bad line is encountered.</li>
|
||||||
|
<li>-u: Print the idle time for each user, and the associated process ID.</li>
|
||||||
|
<li>am I: Returns the invoker's real user name.</li>
|
||||||
|
<li>file: By default, who gathers information from the file /var/run/utmpx.
|
||||||
|
An alternative file may be specified.</li>
|
||||||
|
</ul>
|
Loading…
Reference in a new issue