[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: basic linux question..
- From: "bruce" <bedouglas earthlink net>
- To: "'Anth Courtney'" <anth anthcourtney com>, "'General Red Hat Linux discussion list'" <redhat-list redhat com>
- Cc:
- Subject: RE: basic linux question..
- Date: Wed, 6 Oct 2004 15:16:17 -0700
anth...
just what i was looking for!!!!
ps... how can i get the changes in the /.bashrc /etc/profile to take
effect.. or do i have to reboot...
thanks
-bruce
-----Original Message-----
From: Anth Courtney [mailto:anth anthcourtney com]
Sent: Wednesday, October 06, 2004 2:49 PM
To: bedouglas earthlink net; General Red Hat Linux discussion list
Subject: Re: basic linux question..
Bruce,
Howzit.
> what do i have to do (what command) to allow me to simply type the name of
> the executable from anywhere on the drive, and have the exe run...
You need to add the directory to your path.
If the directory was /opt/mydirectory then you could do
export env PATH=$PATH:/opt/mydirectory
You can then just type the name of the file and bingo.
To make a change like this more permanent, you'll want to add it into
/etc/profile - look at the pathmunge examples in there and just add your
own.
cheers,
Anth
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]