LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2001, 05:16 PM   #1
cmenjivar
LQ Newbie
 
Registered: Aug 2001
Location: Bethesda, MD
Distribution: Caldera OpenLinux 2.2
Posts: 4

Rep: Reputation: 0
Angry whois command


I am a new linux user. I am reading a book and trying to use the whois command by following exercise examples as follows:

whois "acme.net"@whois.csrnic.net

I am replacing the acme and domain to qualified ones. When I do so, I get the following:

bash: whois: command not found

I've tried to do
whereis whois --- I get the following
whois:

How come I cannot use this command. I've installed the whole linux package. Please help.
 
Old 08-28-2001, 05:36 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
are you trying this from root, or a regular user? it could be the path, did you try a locate instead of whereis? it should be there if you installed everything. if you didn't try from root, see if it works when logged in as root, or su into root.
 
Old 08-28-2001, 05:44 PM   #3
cmenjivar
LQ Newbie
 
Registered: Aug 2001
Location: Bethesda, MD
Distribution: Caldera OpenLinux 2.2
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by trickykid
are you trying this from root, or a regular user? it could be the path, did you try a locate instead of whereis? it should be there if you installed everything. if you didn't try from root, see if it works when logged in as root, or su into root.
\

I am logged on as root. It did a locate and it found it. When I run the command, it still says that the command is not found.
 
Old 08-28-2001, 05:48 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
did you try running the full path with it then.. instead of just whois to see if it works that way?
 
Old 08-29-2001, 06:52 AM   #5
cmenjivar
LQ Newbie
 
Registered: Aug 2001
Location: Bethesda, MD
Distribution: Caldera OpenLinux 2.2
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by trickykid
did you try running the full path with it then.. instead of just whois to see if it works that way?
I did it and i get a permission denied. I am logged on as root.

I type the following:

/usr/lib/bx/help/2_Queries/whois "compcamp."@whois.csrnic.net
bash: /usr/lib/bx/help/2_Queries/whois: permission denied


thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
whois - command not found foxxer Mandriva 5 05-28-2005 03:31 PM
Where is 'whois' RomanG Mandriva 3 03-20-2005 03:29 PM
Whois command sdr_ar Mandriva 2 11-20-2004 10:43 PM
whois command not found? wtf? Smokey Slackware 4 09-19-2004 09:14 AM
whois gazza Linux - Newbie 6 11-11-2003 03:23 PM


All times are GMT -5. The time now is 04:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration