ls -l|tail +2|tr -s " "|cut -d " " -f2,9|sort -n|tail -1
An easier way would be to use the 'finger' command - it will tell you when the user last logged in.
Use the 'who', 'w', or 'users' command to find out who is logged in.
User History
The password and user name that should be entered is the one for the remote system user account that the user is accessing, not the password and user name for the computer they are currently logged in to. The administrator of the remote system should be able to provide this information to the user.
The "whoami" command should show you what account you are currently using.
Anonymous is not an actual user, but rather an alias for anyone who contributes to WikiAnswers while not logged in. If the website says "Anonymous" did something, it really means that a user who was not logged in did it. For example, a question asked by "Anonymous" is a question that was asked by a user who is not logged in.
Default user
#!/bin/sh echo "Please enter the name of a user:" read USER who|grep $USER > /tmp/usertest & sleep 5 if [ -s /tmp/usertest ] then echo "User is logged in" else echo "User is not logged in" fi rm /tmp/usertest
who command gives the list of users who have currently logged in......
These would be tasks called 'unattended operation' tasks. If the task does not require user input or is not interactive, then there is no reason for requiring a user to be logged in to execute them.
Primary keys have to be numbers that are entered by the user.
Hkey_users
To modify smo information view affiliated users and create or modify jcavs user accounts a jcavs user must be logged in as a?