Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello All - I have a quick question about RH9 packages that may or may not have been installed on my laptop. First the rundown I have a dual boot with RH9 / Win XP Pro on a compaq presario 2100 AMD 1.8 / ATI Video Card / CD-RW DVD / ....
I have another box with RH8 on it and when I use the apt-get command or NMAP in the shell on that box the shell understands those commands. On the RH9 box when I use either of those commands or ifconfig The shell does not understand those commands. Is there a package to install to get those commands working? I thought that nmap and apt-get and ifconfig were built in??? Did something change with the Red Hat 9 distro that I should know about???WHat should I check first to resolve this issue???
my bad-I should not have assumed that he knows that he should be logged in as root.
-------------------------
In the console/terminal/xterm
type:
su
--enter your root password---
star typing the above rpm commands to find out if you installed nmap package.
If not install from the cd or download/install it from the shrike.freshrpms.net
ok I know next to my name it says noob but I do have common sense...thank you ...As for logging in as root I tried that to see if that worked originally, but let me ask you this, If the command was only available to root it would return a statement to the effect of "you do not have permission to use this command" not "bash# command not found /bin"
Originally posted by jonDough1001 ok I know next to my name it says noob but I do have common sense...thank you ...As for logging in as root I tried that to see if that worked originally, but let me ask you this, If the command was only available to root it would return a statement to the effect of "you do not have permission to use this command" not "bash# command not found /bin"
...
anyway...
Now back to the package question...
shouldnt apt-get command be installed by default?
Actually no There are certain paths such as /sbin that are usually only loaded into root's PATH environment variable but not a users. So if the program isn't in your path then you won't find it. Even running "su" to get roots privilages doesn't load a new shell for root and hence it still has the default PATHS for your user. To start a new shell and get roots paths then su to root using "su -". Or if you just use "su" then try the full path.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.