Re: use grep or other command to get exactly pattern

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux