Introduction to Unix |
|
|
|
6.1. Users and Hosts¶
Linux for Programmers and Users, Section 9.4
6.1.1. users¶
-
users Print the user names of users currently logged in to the current host.
6.1.2. who¶
-
who Print a more detailed list of the user names of users currently logged in to the current host.
See also
6.1.3. w¶
-
w Like
who, except also lists what command they are currently running. It’s the creepy version ofwho.
6.1.4. hostname¶
-
hostname Print the name of the computer being used. It may be useful in a shell script in case certain resources are only available on some machines.
6.1.5. finger¶
-
finger This one isn’t quite as bad as the name sounds. Use it to find out basic information about a user.
SYNOPSIS
finger userid