As root, use your favorite editor to open up the .bashrc file in your
user account home directory.  You can then add things to your path by
doing something similar to:
export PATH=$PATH:/path/to/Matts_Executable
I often do this for java when I use Sun's jvm.  It looks something like:
export JAVA_HOME=/usr/java/j2sdk1.4.1_02
export PATH=$PATH:$JAVA_HOME/bin

Save your file.  Then either open a new terminal or type source .bashrc.
-Glen
On Wed, 2003-03-19 at 21:13, Matthew Pittard wrote:
> Thanks for this Glen and Dave, I actually found where the hdparm file
> was using the "whereis" command, but I've often wondered how to find
> things on the computer that weren't programs. Thanks, I'll use it.
> 
> >hdparm just isn't in your path. Try /sbin/hdparm instead of just
> hdparm. -Glen
> 
> How do I edit my path? I know how to do this in windows, but not in
> Linux.
> 
> Matt
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of David Smith
> Sent: Wednesday, March 19, 2003 8:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [uug] Mplayer question still
> 
> 
> Matt Pittard wrote:
> 
> >>I tried to run the hdparm function from the terminal window and it 
> >>told me that it wasn't found--it gave me this error:
> >>
> >>bash: hdparm: command not found
> >>    
> >>
> Do /sbin/hdparm
> 
> Here's a handy tool: find, usage: "find / -name hdparm" (searches from /
> 
> for a file named hdparm)
> Here's another handy tool: locate, usage: "locate hdparm" (searches an 
> index of the whole hard drive for hdparm)
> Or, the easy way out: "Foot -> Search for Files"
> 
> --Dave
> 
> 
> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list
> 
> 
> 
> ______________________________________
> Inflex Virus Scanner - installed on mailserver for domain @et.byu.edu
> Queries to: [EMAIL PROTECTED]
> 
> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list
-- 
Glen Wagley <[EMAIL PROTECTED]>

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to