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 find questions that you have been asked, you have to be logged into your account. I think you misunderstood my question: I want to know how to find a question which was "asked while not logged in". The finding of the question could occur while being logged in, but the question would not be associated with the user, so finding it would require remembering exactly how it was worded so you could find it among all the answers on answers.com. Daunting task if you don't remember your exact wording.