LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-30-2004, 08:54 AM   #1
K3V
LQ Newbie
 
Registered: Sep 2004
Location: NC
Distribution: Fedora Core 2
Posts: 3

Rep: Reputation: 0
bash -command not found-


I'm seeing this too...

bash: netconfig: command not found

same with ipconfig and other similar commands. Which displays:

[root@LinBox root]# which ipconfig
/usr/bin/which: no ipconfig in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)

Fedora Core 2 2.6.8-1.521

From these posts, I learned that "su -" is important, vs. "su", but this did not solve my problem. I'm still unable to locate several of these shell commands.

Tried using KSH as well, with the same results

I used the Find utility to look for ipconfig, and found ipconfig.c and .h, (among others... plipconfig.xxx, etc...)... since the code and headers exist, is it possible that I actually need to compile ipconfig before I can use it?

Thanks for any help...

kev
 
Old 09-30-2004, 09:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,174
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Check if you have tcpip tools installed and use your distro's package manager to install it.
 
Old 09-30-2004, 09:58 AM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
ipconfig has never worked on my Mandrake box - ifconfig does
tried that?
 
Old 09-30-2004, 10:50 AM   #4
K3V
LQ Newbie
 
Registered: Sep 2004
Location: NC
Distribution: Fedora Core 2
Posts: 3

Original Poster
Rep: Reputation: 0
shell commands...

Thanks to both of you for very quick responses... i'll try each and post my results

kev
 
Old 09-30-2004, 11:26 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
Usually its
ifconfig
on Linux
ipconfig
on MS
 
Old 09-30-2004, 11:32 AM   #6
K3V
LQ Newbie
 
Registered: Sep 2004
Location: NC
Distribution: Fedora Core 2
Posts: 3

Original Poster
Rep: Reputation: 0
bash commands..

Well... I'm not sure how to check for an installed program, but I did try ifconfig instead of ipconfig... that works.

But what about other common commands? What I'm really trying to do is alter the computer name, since even though my Win2K machine can see "localhost", it won't let me browse it, because the Win2K box itself has a duplicate "localhost" (maybe I should have shut down IIS before trying all this???)...

I think I may have been successful in changing the name to LinBox using a graphical network tool... I think this because the Linux prompt now shows LinBox..(see above... "whick displays:..." , and this name also appears in "My Network Places / Computers Near Me" on my WinBLOWS (Win2k) box... but since all the tutorials and books I'm refering to say I should use netconf, I wanted to run it to be certain... unfortuantely, netconf is also "not found".

so....

Bathory, can you tell me how I'd go about checking to see if specific tools are installed? Is there also a way to get a list of all available shell commands?

note: When I installed Fedora, (2.6.5-1.358, then updated via the Internet to the version listed earlier... //that took almost 24 hours using a cable modem, btw//...), I selected the "install everything" option.

Thanks again
 
Old 09-30-2004, 03:50 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Any TCP/IP configured PC should have it's local loopback network interface i.e. 127.0.0.1 referenced as localhost. For some reason RH/Fedora uses localhost as the default hostname.

BTW the command is netconfig not netconf.
 
Old 09-30-2004, 03:57 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
K3V, please try not to hijack others posts ... the
issue you had is unrelated to the other guys problem.

I've split the thread to have the posts that relate
to your problem in a seperate one.


Cheers,
Tink
 
  


Reply



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
Bash: command not found! Adil_uk Linux - General 14 04-09-2012 01:04 AM
bash: g++: command not found m_lp_ql_m Linux - Software 8 07-08-2010 01:45 PM
bash: pg: command not found Chomper Programming 2 02-05-2005 02:22 AM
-bash: cp: command not found johnlittlepeap Fedora 2 11-15-2004 08:52 AM
bash: command not found jc80 Fedora 3 03-14-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:51 AM.

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
Open Source Consulting | Domain Registration