Co robi WHO użycie. Konsola their terminal, the time they have been logged in, and the name of the.

Czy przydatne?

Polecenie who

Wykonanie, użycie: Show who is logged into the system. With no options, list the names of users currently logged in, their terminal, the time they have been logged in, and the name of the host from which they have logged in. An optional system file (default is /etc/utmp) can be supplied to give additional information

Opcje wykonania who w konsoli

-a, --all

Equivalent to -b -d --login -p -r -t -T -u.

am i

Print the username of the invoking user.

-b, --boot

Print time of last system boot.

-d, --dead

Print a list of dead processes.

--help

Print a help message and then exit.

-i, --idle

Include idle times. An idle time of . indicates activity within the last minute; one of old indicates no activity in more than a day.

-l, --login

Print list of system login processes.

--lookup

Attempt to include canonical hostnames via DNS.

-m

Same as who am i.

-p, --process

Print active processes spawned by init.

-q, --count

"Quick." Display only the usernames and total number of users.

-r, --runlevel

Print the current runlevel.

-s, --short

Print only name, line, and time. This is the default behaviour.

-t, --time

Print the last system clock change.

-u, --users

Print a list of the users who are logged in.

--version

Print version information and then exit.

-w, -T, --mesg, --message, --writable

Include user's message status in the output:

+

mesg y (write messages allowed)

-

mesg n (write messages refused)

?

Cannot find terminal device

-H, --heading

Print headings.

Przykłady who działanie w Słownik polecenie W

Przykład WHO użycie :
Jak użyć command repeatedly (by default, every two seconds) and display the output so you can watch it change over time. The command and any options are passed to sh -c , so you may need to use quotes to get co znaczy.
Przykład WHO użycie :
Jak użyć Print byte, word, and line counts for each file. Print a total line for multiple files . If no files are given, read standard input. See other examples under ls and sort krzyżówka.
Przykład WHO użycie :
Jak użyć database for a domain name, IP address, or NIC name. The information returned varies, but usually contains administrative and technical contacts so that you can find a person to handle problems at co to jest.
Przykład WHO użycie :
Jak użyć List the full pathnames of the files that would be executed if the named commands had been run. which searches the user's $PATH environment variable słownik.
Przykład WHO użycie :
Jak użyć manual page descriptions in the whatis database for each keyword and print a one-line description to standard output for each match. Like apropos , except that it searches only for complete words czym jest.