Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Modifying Idl Path In Bash Shell?
hobbies4kk
post Oct 3 2004, 06:15 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 26-September 04
Member No.: 3,843



Hi,

I'm a newbie to Linux and am attempting to modify my pathway in IDL to allow me to run a data reduction package in IDL. The directions for this this process are given for a .cshrc file, but I use a Bash shell. How can these directions be modified to allow me to use them? I've included the directions below. Thanks. -Kathy

Edit the .cshrc file to include the line

setenv IDL_PATH +/packagedirectory:$IDL_PATH

where /packagedirectory is the path to the package directory
(e.g., /scr0/irtf/Spextool).

If there is no IDL_PATH defined in the .cshrc file, then include the
line

setenv IDL_PATH +/packagedirectory
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 1)
Hemant
post Oct 5 2004, 09:36 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



This is simple actually...the .cshrc file creates a environment variable with name IDL_PATH and exports it..

You can achieve similar thing in bash by editing the file ~/.bashrc and enter following line:
CODE
IDL_PATH=$IDL_PATH:/path_to_package
export IDL_PATH


where /path_to_package is actually the directory where you have installed IDL.


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 05:46 PM