LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-01-2002, 06:03 PM   #1
mrtwice
Member
 
Registered: Feb 2002
Distribution: xubuntu 8.10
Posts: 225

Rep: Reputation: 31
Help with Red hat 7.2 commands


I recently purchased Red Hat UNLEASHED which is a book about redhat. It was specifically made for version 7.2. I have found there are many commands that the author uses in his book that I can not use. Three of the bigger ones are:

linuxconf
mouseconfig
mkbootdisk

I also notice that in order for me to run some commands like adsl-start I have to be in the same directory as the command or else it will not work.

I always get the command bash: "command": command not found

I had assumed that these commands would all work since the book says they do, can anyone give me some pointers. Thank you.
 
Old 02-01-2002, 11:55 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Whenever you type in a command your shell searches your PATH variable to check which directories to search for the command in. You can see your path by typing 'echo $PATH'. If you had your path set to every directory on the machine it would take forever to find and execute the command you typed.

Linux does organize similar files in directories though. Binary executable files are usuall in bin or sbin directories and these directories are sometimes in your path. Directories like /usr/bin, /usr/local/bin are usually in your path. However, it is not always the case that all binary executables are in bin directories therefore sometimes you must either put pathnames or cd to the direcotory where you want to execute commands.

If you want to search for a particular command or file you can use the find command:
Code:
find . -name filename
Hope this helps.
 
  


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
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 06:19 AM
red hat 8 networking commands/help zeb_666 Linux - Networking 2 09-20-2004 01:41 PM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 07:33 PM
Red Hat Enterprise vs. Red Hat Linux Project RedHatMN Linux - Distributions 2 07-29-2003 05:16 AM
Red Hat 7.2... & a modem with Red Hat 7.1 driver support rahduku Linux - Distributions 1 02-14-2002 12:49 PM


All times are GMT -5. The time now is 11:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration