Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

re: last command

Status
Not open for further replies.

thutmose

MIS
Mar 31, 2002
24
US
When using the last command on a sun box I have noticed several strange things. When I am logged on remotely to the server when I run a command as such

last userid | head -3

If the user is still logged on I get some data as such

USER ID Terminal Destination Day Date Still Logged On



When I logon to the system internally I get something a little bit different when running the command

last userid | head -3

UserID Terminal Destination Day Date 07:35 07:59




So with being logged on internally it shows me the present time rather than whether or not I am logged on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top