frontpage: changes made on page tee
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@218 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
719f585dc5
commit
a3ad4b790b
2 changed files with 2 additions and 32 deletions
|
@ -1,32 +0,0 @@
|
|||
---
|
||||
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>
|
|
@ -23,6 +23,7 @@ similar functions.</p>
|
|||
<p>Where <code>[flags]</code> are the tee flags (below you will find more info),
|
||||
and argument <code>[file]</code> is a file or a list of files, each of which
|
||||
receives the output.</p>
|
||||
<br>
|
||||
|
||||
<h3>Flags:</h3>
|
||||
|
||||
|
@ -31,6 +32,7 @@ receives the output.</p>
|
|||
<li><code>-a</code> Appends the output to each file, rather than overwriting it.</li>
|
||||
<li><code>-i</code> Ignores interrupt signals.</li>
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
<h3>Example:</h3>
|
||||
|
||||
|
|
Loading…
Reference in a new issue