[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: use grep or other command to get exactly pattern



You can do this
grep 10.0.0.7. filename

The last period may work as a space. Or do this
grep "10.0.0.7 " filename 

That might work as well

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

"Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!"

>>> ann kok <annkok2001 yahoo com> 1/18/2008 3:20 PM >>>
Hi all

how can use grep or use other command to get exactly
pattern eg: 10.0.0.7 only?

eg: grep 10.0.0.7 file. I want to get 10.0.0.7 only
not  

10.0.0.71
10.0.0.72
10.0.0.7

thank you


     
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs 

-- 
fedora-list mailing list
fedora-list redhat com 
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]