2.8. Who's On?The who command lists the users logged on to the system now. Here's an example of the output on my system:
Each line shows a different terminal or window. The columns show the username logged on, the tty (Section 2.7) number, the login time, and, if the user is coming in via a network (Section 1.21), you'll see their location (in parentheses). The user hal is logged on twice, for instance. It's handy to search the output of who with grep (Section 13.1) -- especially on systems with a lot of users. For example: % who | grep "^hal " ...where is hal logged on? % who | grep "Nov 6" ...who logged on today? -v Section 13.3
The GNU who, on the CD-ROM [see http://examples.oreilly.com/upt3], has more features than some other versions. -- JP
Copyright © 2003 O'Reilly & Associates. All rights reserved. |
|