|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Wx geek
Join Date: Aug 2005
Location: Indiana
Posts: 6,638
|
Setting environment variables...
I've got a program here I'm trying to run, and it's linux (using Ubuntu) only. To get it to run properly, there are a handful of variables that need to be set. Included is a file (a script of some sort I think) that sets all of the variables. Here's a quick snippet:
Code:
# Please configure the following definitions to reflect your system: # # Top level directory: NAWIPS=/home/gempak/GEMPAK5.10.1 Code:
# or the individual lines below, must be included in your .login or # .cshrc file! Any suggestions would be appreciated. Also, I'm going to include the whole file as an attachment if you want a looksie. Thanks!
__________________
"It is the way of man to make monsters and it is the nature of monsters to destroy their makers." |
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Are you using Bash? Here is a bit of info on the bash shell.
Look and see if the .profile or .bash_profile is already created, ls - . (tab)
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#3 |
|
Wx geek
Join Date: Aug 2005
Location: Indiana
Posts: 6,638
|
Yes, I'm using bash. I'll have to take a look at the link tomorrow.
|
|
|
|
|
|
#4 |
|
Wx geek
Join Date: Aug 2005
Location: Indiana
Posts: 6,638
|
Thanks for the help, mairving. I think I had it set up correctly originally. I think the problem lied with some syntax differences in the script (I guess Bash uses "export" instead of "setenv"). Once I fixed those errors up it's setting variables correctly... Now I just gotta figure how to use the program itself. I just got it to spit some data back at me! Yay!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Computer Acronyms | Floppyman | Computer Hardware | 156 | 06-18-2006 06:25 AM |
| Outlook Express Virus Setting | Todd6312 | Windows Legacy Support (XP and earlier) | 1 | 12-20-2002 01:00 PM |
| Bios Setting Question | wazzat | Computer Hardware | 3 | 11-20-2001 08:37 PM |
| Lost Display setting? | lovesranch | General Discussion | 2 | 11-03-2001 04:52 PM |
| Which Drive Setting to Boot from? | babylon5guy | Computer Hardware | 2 | 06-10-2001 12:46 PM |