[Ilugc] One Day One GNU/Linux Command (WHO)

  • From: sbharathi@xxxxxxxxxxxxx (Bharathi Subramanian)
  • Date: Mon Jun 16 10:05:33 2008

One Day One GNU/Linux Command
=============================

who -- show WHO is logged on

Summary :

`who' prints the info (login name, terminal line, login time, and
remote hostname or X display) about each user currently logged on.
`who' uses /var/run/utmp file to know about the current users.

Examples :

$ who -- Show who are all logged on.

$ who -H -- Show info with header.

$ who -m -- Only hostname and user associated with stdin.

$ who -q -- Show currently logged username and count.

$ who -r -- Show the current run level.

$ who -s -- Short form.

$ who -T -- Add user's message status as +, - or ?

$ who -a -- Show all info.

$ who am i -- Your detail.

$ whoami -- Same as above.

$ who /var/log/wtmp -- Who has previously logged on.

$ who namitha likes -- !!?? :) (For TSrini)

$ who police search -- !!?? ;)

$ who X X  -- Ester Egg. X can be any string.

Read : man who

HTH :)
-- 
Bharathi S

Other related posts: