finger and who command usage

0

I know that the finger command used to display information about local and remote users.

finger --> display users log in on local machine, even if remotely.

finger @hostname --> display users log in on the remote machine.

finger user@hostname --> I don't know what is it used for?

and who command used to know info about the local machine users only, is it true?

I am using Solaris 10 8/11

MUE

Posted 2013-04-16T18:48:24.110

Reputation: 11

2Have you tried man finger? – terdon – 2013-04-16T19:02:03.480

Answers

1

In general, in the *nix world, man <cmd> will give you the manual of the command in question. Anyway, to answer your question:

  • finger : The finger displays information about the system users. This can include:

      the user's login name, real name, terminal
       name and write status (as a ``*'' after the terminal name
       if write permission is denied), idle time, login time,
       office location and office phone number.
    
       Login time is displayed as month, day, hours and minutes,
       unless more than six months ago, in which case the year is
       displayed rather than the hours and minutes.
    
       Unknown devices as well as nonexistent idle and login
       times are displayed as single asterisks.
    
  • finger @hostname : print the list of users connected to the remote host hostname (source)

  • finger user@hostname : get the details of the user user on the remote system hostname.

terdon

Posted 2013-04-16T18:48:24.110

Reputation: 45 216

I know what you said from man, but I know it doesn't use to check the log in users??? – MUE – 2013-04-16T19:18:25.707

Sorry, not sure what you mean. – terdon – 2013-04-16T19:20:31.483

I mean is it used to check for the log in users or for any user on the system – MUE – 2013-04-16T19:22:46.727

Ah, according to this page, only the logged in users.

– terdon – 2013-04-16T19:23:48.557