The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
how to grep for a word and display only the word
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
how to grep for a word and display only the word
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
11-30-2006
ananthmm
Registered User
Join Date: Aug 2006
Posts: 3
how to grep for a word and display only the word
Hi,
When we "grep" for a word in a file, it returns the lines containing the word that we searched for. Is there a way to display only the words and not the entire line containing them.
Thanks
Ananth
Remove advertisements
Forum Sponsor
ananthmm
View Public Profile
Find all posts by ananthmm