The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 06-29-2007
trust123 trust123 is offline
Registered User
 

Join Date: Jun 2007
Posts: 3
wow thanks a lot anbu23!!!!!

now iam facing another problem

ok for example i need to grep only the transaction of 14th hour i will do this:

cut -d':' -f1 filename|grep "14"

it will show:
211 61 2007-06-26 14
211 61 2007-06-26 14
211 61 2007-06-26 14
211 61 2007-06-26 14


now what if i need to see the files which are of 00 hour??

cut -d':' -f1 filename|grep "00"

if i do this it will show all the files because 2007 also has two zeros.
Reply With Quote