Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 02-19-2008, 11:00 AM   #1
Registered: Feb 2007
Posts: 197

Rep: Reputation: 30
how to find who logged in a month


How do I find who logged in last 30 days? I have last command command, but is there any option to find only last 30 days? Thanks in advance.
Old 02-19-2008, 11:18 AM   #2
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
if you read the man pages for last you can use either the -n flag to tell last to display X amount of line or you can enter a specific date using the -t flag.
Old 02-19-2008, 01:57 PM   #3
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Hello mokku,

You keep posting questions, and I see, are receiving helpful answers, but there are no follow-ups from you.

You can check this for yourself by clicking on your name, at the left of your post, and then "Find more posts by mokku"

People are asking you questions because sometimes you do not explain yourself very well, (although this may be excusable if your first language is not english) so they can better understand your (current) problem, and hopefuly solve it.

Your last five posts (I could not be bothered to search further back), are open-ended and unresolved. You did not finish your posts with a "Thank you, problem solved" or even a "Thank you, but this is no longer a problem because ..."

Thanks in advance.
Is, frankly, insufficient.

How would you like it if I said to you "Give me $100, thanks in advance"? You send me $100 (unlikely I think), and then I just disappear, without thanks?

Please think about your approach to a free knowledge resource.

Please do not abuse it.

You have 79 posts to date. Have you made any useful contribution to the needs of others on these LQ forums?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
transform month number to month name in php ALInux Programming 1 11-09-2005 10:45 AM
find for an entire month Koven Linux - Software 7 07-26-2005 10:06 PM
How to find hosts that users are logged into jtoddman Linux - Networking 0 11-14-2004 06:28 PM
Starting day of month, month length chrisk5527 Programming 2 03-03-2004 04:03 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration