The UNIX and Linux Forums  

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


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-20-2008
Registered User
 

Join Date: May 2008
Posts: 2
Smile Need help!!

Hello

Im trying to use the 'grep' command.
when I type :

grep "hello" /library

I get a "grep undeclerd" error.

What am I doing wrong?

Do i have to include a certion header file?

Any help will be highly appreciated.

Thank you

Rotem
Reply With Quote
Forum Sponsor
  #2  
Old 08-20-2008
ynilesh's Avatar
Registered User
 

Join Date: Oct 2007
Location: Bangalore, India.
Posts: 174
Please do mention informative subject. It help us to get an idea of issue.

Quote:
Hello

Im trying to use the 'grep' command.
when I type :

grep "hello" /library

I get a "grep undeclerd" error.

What am I doing wrong?

Do i have to include a certion header file?

Any help will be highly appreciated.

Thank you

Rotem
Are you trying to search "hello" word in files present under /library ? if yes, please try this
Code:
grep "hello" /library/*
- nilesh
Reply With Quote
  #3  
Old 08-20-2008
otheus's Avatar
Moderator ala Mode
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 605
You aren't using a shell or your shell's PATH is not working correctly.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
grep, include

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0