Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Every time I use the LAST command all users come to my screen, and if I try Date command, only the day, month and time come out. I'm just trying to list my last logins, where can I find a website that helps me with "how to see the day, month and time for a single user?
Define the output timestamp format to be one of notime, short,
full, or iso. The notime variant will not print any timestamps
at all, short is the default, and full is the same as the
--fulltimes option. The iso variant will display the timestamp
in ISO-8601 format. The ISO format contains timezone informa
tion, making it preferrable when printouts are investigated out
side of the system.
Last searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all
users logged in (and out) since that file was created. Names of users and tty's can be given, in which case last will
show only those entries matching the arguments. Names of ttys can be abbreviated, thus last 0 is the same as last tty0.
When last catches a SIGINT signal (generated by the interrupt key, usually control-C) or a SIGQUIT signal (generated by
the quit key, usually control-\), last will show how far it has searched through the file; in the case of the SIGINT sig‐
nal last will then terminate.
The pseudo user reboot logs in each time the system is rebooted. Thus last reboot will show a log of all reboots since
the log file was created.
Lastb is the same as last, except that by default it shows a log of the file /var/log/btmp, which contains all the bad
will show you the options for date. But something like
Thanks for the reply, but I want to have a screen that give me following:
Thu Apr 16 12:06
I'm using UBUNTU and to be honest, I cannot figure it out how to list the day, the month, the year, and the time for my own name.