Could someone tell me please as in steps 1,2 and 3 how do I assign a program to be recognised from outside of its own directory. I've downloaded Phoenix .5 [very good] but I would like to have Suse know where it is so that all other programmes can recognise it. TIA Steve
On Wed, Dec 11, 2002 at 10:32:54PM +1030, gl1500@internode.on.net wrote:
Could someone tell me please as in steps 1,2 and 3
how do I assign a program to be recognised from outside of its own directory.
I've downloaded Phoenix .5 [very good] but I would like to have Suse know where it is so that all other programmes can recognise it.
You need to edit your path. If you use C shell, the command is set path=(directory/containing/program $path) or in Bourne shell: export PATH=directory/containing/program:$PATH You can add this command to your own .cshrc (C shell) or .profile (Bourne shell) in your home directory, and it will only work for you, or you can add it to /etc/csh.cshrc (C shell) or /etc/profile (Bourne shell), and it will work for all users. HTH... -- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England GPG Key: 0xF13192F2
Dave Smith wrote:
On Wed, Dec 11, 2002 at 10:32:54PM +1030, gl1500@internode.on.net wrote:
Could someone tell me please as in steps 1,2 and 3
how do I assign a program to be recognised from outside of its own directory.
I've downloaded Phoenix .5 [very good] but I would like to have Suse know where it is so that all other programmes can recognise it.
You need to edit your path. If you use C shell, the command is set path=(directory/containing/program $path) or in Bourne shell: export PATH=directory/containing/program:$PATH
You can add this command to your own .cshrc (C shell) or .profile (Bourne shell) in your home directory, and it will only work for you, or you can add it to /etc/csh.cshrc (C shell) or /etc/profile (Bourne shell), and it will work for all users.
HTH...
-- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England GPG Key: 0xF13192F2
You could also add a link from a current good bin directory path to the new source bin. Say like /usr/X11R6/bin/netscape is linked to /usr/X11R6/bin/communicator which is a script that looks at /opt/netscape/netscape (the binary). This will also make sure it is system wide. unlike adding it to a users "."file. -- 73 de Donn Washburn __ " http://www.hal-pc.org/~dwash " Ham Callsign N5XWB / / __ __ __ __ __ __ __ 307 Savoy St. / /__ / / / \/ / / /_/ / \ \/ / Sugar Land, TX 77478 /_____/ /_/ /_/\__/ /_____/ /_/\_\ LL# 1.281.242.3256 a MSDOS Virus "Free Zone" OS Email: n5xwb@arrl.net Info: http://www.austinlug.org
On Wed, 11 Dec 2002 12:11:02 +0000 Dave Smith <Dave.Smith@st.com> wrote:
On Wed, Dec 11, 2002 at 10:32:54PM +1030, gl1500@internode.on.net wrote:
Could someone tell me please as in steps 1,2 and 3
how do I assign a program to be recognised from outside of its own directory.
I've downloaded Phoenix .5 [very good] but I would like to have Suse know where it is so that all other programmes can recognise it.
You need to edit your path. If you use C shell, the command is set path=(directory/containing/program $path) or in Bourne shell: export PATH=directory/containing/program:$PATH
You can add this command to your own .cshrc (C shell) or .profile (Bourne shell) in your home directory, and it will only work for you, or you can add it to /etc/csh.cshrc (C shell) or /etc/profile (Bourne shell), and it will work for all users.
HTH...
-- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England GPG Key: 0xF13192F2
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Thank you David, I will try that. Steve.
participants (3)
-
Dave Smith
-
Donn aka N5XWB
-
Steve Nicholls