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 !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-20-2008
Hellboy Hellboy is offline
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
  #2 (permalink)  
Old 08-20-2008
ynilesh's Avatar
ynilesh ynilesh is offline
Registered User
  
 

Join Date: Oct 2007
Location: Bangalore, India.
Posts: 222
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
  #3 (permalink)  
Old 08-20-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
You aren't using a shell or your shell's PATH is not working correctly.
Closed Thread

Bookmarks

Tags
grep, include

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0