LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 09: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, 10:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Check if you have tcpip tools installed and use your distro's package manager to install it.
 
Old 09-30-2004, 10: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, 11: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, 12:26 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Usually its
ifconfig
on Linux
ipconfig
on MS
 
Old 09-30-2004, 12:32 PM   #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, 04:50 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,948

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
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, 04:57 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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


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


All times are GMT -5. The time now is 10: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