FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-05-2010, 10:38 AM
hqm8512
 
Default how to get logs from a time-range

Hi,
** I want to get logs from a time-range, like from 11:00:11 to 13:00:00 ,How should in do it in the bash shell? All logs in a file .



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-05-2010, 10:58 AM
Robert Heller
 
Default how to get logs from a time-range

At Fri, 5 Feb 2010 19:38:23 +0800 (CST) CentOS mailing list <centos@centos.org> wrote:

>
>
>
> Hi,
> I want to get logs from a time-range, like from 11:00:11 to 13:00:00 ,How should in do it in the bash shell? All logs in a file .

man grep

>
>
> MIME-Version: 1.0
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

--
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
heller@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 12:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org