use grep or other command to get exactly pattern

John BORIS jboris at adphila.org
Fri Jan 18 20:32:17 UTC 2008


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 at 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 at redhat.com 
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the users mailing list