Query: who
OS: v7
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WHO(1) General Commands Manual WHO(1)NAMEwho - who is on the systemSYNOPSISwho [ who-file ] [ am I ]DESCRIPTIONWho, without an argument, lists the login name, terminal name, and login time for each current UNIX user. Without an argument, who examines the /etc/utmp file to obtain its information. If a file is given, that file is examined. Typically the given file will be /usr/adm/wtmp, which contains a record of all the logins since it was created. Then who lists logins, logouts, and crashes since the creation of the wtmp file. Each login is listed with user name, terminal name (with `/dev/' suppressed), and date and time. When an argument is given, logouts produce a similar line without a user name. Reboots produce a line with `x' in the place of the device name, and a fossil time indicative of when the system went down. With two arguments, as in `who am I' (and also `who are you'), who tells who you are logged in as.FILES/etc/utmpSEE ALSOgetuid(2), utmp(5) WHO(1)
Related Man Pages |
---|
lastlog(5) - mojave |
lastlog(5) - netbsd |
utmp(5) - minix |
utmp(5) - netbsd |
last(8) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Writing c code for who | sort | lp |
get whole command arguments in ps -ef? |
who are you ? |
Who what where question |
April 2008 Who's Who List and Smooth Operator Candidates |