I want to fetch user's login time and login date, is there any command in Unix providing User's login date and User's login time ? this problem i want to perform in Shell-script where username is accepting from the end-user and after checking the availability of user, i would like to fetch that user's login time and login date in different variable and then display using 'echo' command.
For past logins:
Also, the command
If you're looking for the date of the user's last login, some systems provide it directly, for example
|show 1 more comment|
Other unixes that don't know the