I suggest you ...

Portion of log file by date or hour!

cat /var/log/messages | sed -n '/Apr 16 01:18/,/Apr 16 05:30/p'
this command will give you all logs between 01:18 until 05:30 (you can also modify the day etc...) very usefull for big log files!

4 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    anonymous shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base