Computing.Net > Forums > Linux > Terminal in Red Hat 9

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Terminal in Red Hat 9

Reply to Message Icon

Name: stingerssx
Date: December 29, 2006 at 17:32:05 Pacific
OS: Red Hat 9
CPU/Ram: 1.85 Ghz/ 1 gig
Product: Me
Comment:

I want to learn as much as possible about as much as possible, and I recently got serious about Linux. I installed it onto a T-21 Thinkpad. I was trying to mess with the terminal, and was reading some things online, and in a book on how to use Red Hat, but some of the commands weren't recognized. Is the problem the version? Also, can all Linux commands be used in all versions of Linux?

Thanks.

Emachines T-2200, Sound Blaster live 5.1, ATI 9200se main comp
Asus A7N8X, AMD 2500 Barton, 1 gig Corsair, Geforce 4200ti



Sponsored Link
Ads by Google

Response Number 1
Name: Sabertooth
Date: December 29, 2006 at 17:57:25 Pacific
Reply:

I would say probably so, because all Linux commands aren't valid with all Linux versions.



0

Response Number 2
Name: ernie
Date: January 1, 2007 at 21:05:08 Pacific
Reply:

In a terminal window or at a console display, man is your friend (info too). Simply run 'man <command>' (no quotes). If <command> is installed, you should get a synopsis of its use. To exit the man display, press [Q] (for quit).

If <command> is not found, you will have to install it to be able to use it. Most distributions provide a package manager, and I believe RedHat 9 does too.

Some commands require root (administrative) access. For such commands, run 'sudo <command>' (no quotes). You will have to enter the root password when requested for <command> to succeed. Alternatively, 'become' root with 'su [ENTER]', (provide the root password when requested) and execute <command>.

Ernie Registered Linux User 247790
ICQ 41060744


0

Response Number 3
Name: 3Dave
Date: January 2, 2007 at 03:51:16 Pacific
Reply:

If using "su" to switch to root user add a "-" at the end in order to get root's path too, eg:
$ su -

Depending on how sudo is set up you may also have to give the whole path to the command, eg:
$ sudo /usr/sbin/iptables


0

Response Number 4
Name: jhunt303
Date: January 6, 2007 at 18:53:12 Pacific
Reply:

3Dave is kind of hinting about another problem you may have, which is the $PATH environment variable. There is a good chance that most of your programs are in a directory that is not in your $PATH. For example if you do
"ifconfig"
It probably won't find the file, so find it by typing
"find / -name ifconfig"
move to that directory (don't forget you can press TAB twice to auto fill names (it may be ESC if your using BASH)) and type
"./ifconfig"
tada, it should now run. Have a look on google or wiki about configuring environment variables in linux ;)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


How do vmwares work? firefox external configur...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Terminal in Red Hat 9

Help Install RPM in Red Hat 9.0 www.computing.net/answers/linux/help-install-rpm-in-red-hat-90/24833.html

Wireless card in Red Hat 9 www.computing.net/answers/linux/wireless-card-in-red-hat-9/19847.html

linksys router setup in red hat 9 www.computing.net/answers/linux/linksys-router-setup-in-red-hat-9/26725.html