The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
UNIX for Dummies Questions & Answers
Need help!!
Tags
beginners
,
grep
,
include
,
need help
Thread Tools
Search this Thread
Top Forums
UNIX for Dummies Questions & Answers
Need help!!
#
1
08-20-2008
Hellboy
Registered User
2,
0
Join Date: May 2008
Last Activity: 21 August 2008, 4:28 AM EDT
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
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
Hellboy
View Public Profile for Hellboy
Find all posts by Hellboy
#
2
08-20-2008
ynilesh
Registered User
222,
0
Join Date: Oct 2007
Last Activity: 7 April 2009, 7:39 AM EDT
Location: Bangalore, India.
Posts: 222
Thanks Given: 0
Thanked 0 Times in 0 Posts
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
ynilesh
View Public Profile for ynilesh
Find all posts by ynilesh
#
3
08-20-2008
otheus
Registered User
2,157,
51
Join Date: Feb 2007
Last Activity: 6 September 2017, 5:43 AM EDT
Location: Innsbruck, Austria
Posts: 2,157
Thanks Given: 12
Thanked 51 Times in 48 Posts
You aren't using a shell or your shell's PATH is not working correctly.
otheus
View Public Profile for otheus
Find all posts by otheus
Login or Register to Ask a Question
Previous Thread
|
Next Thread
Login or Register to Ask a Question
Member Badges and Information Modal
×