Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-30-2004, 07:02 PM   #1
LQ Newbie
Registered: Feb 2004
Location: Jacksonville, FL
Distribution: Red Hat 9.0
Posts: 7

Rep: Reputation: 0
"PATH" command

Hey guys....

Here's my sitch-ee-ay-shun...

Installed mplayer....No probs (well sound doesn't seem to work but I'm still working on that, tried the "oss" audio command but doesn't work yet)

I want to be able to type "mplayer" from anywhere I am in Red Hat, any directory....I know that it's the "path" command but I don't know exactly how to use it....I tried "man path" and "path --help" but to no avail.....

Hopefully you understand what I'm getting at....I don't want to go to the mplayer directory and type "./mplayer".....I want to be in my directory containing all my MOV's, AVI's, all of my media and then type mplayer....

Any help is appreciated, I'm enjoying Linux but learning bit-by-bit...
Old 03-30-2004, 07:23 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Have a read in
man bash

Search the man-page for

To search in the man-page use /
man man for details ;)

Old 03-30-2004, 07:24 PM   #3
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I know that it's the "path" command"

Actually it is the PATH variable. You can display your current PATH with:
echo $PATH
You can add /home/user/kaddidle to your PATH with:

If you want to make the addition permanent then put:
export PATH
as the last two lines in /home/user/.bashrc.

Be prepared. Create a LifeBoat CD.

Steve Stites


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
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 08:42 AM
"Could not init font path element""Unix /: 7100 removing from list/ zameer_india Linux - Networking 7 07-03-2006 07:11 AM
Cedega from Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Software 0 03-30-2005 12:24 PM
Cedega and Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Games 0 03-26-2005 03:48 AM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 04:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration