Recently I was installing SAC on my laptop running on UBUNTU but when I
modified my ~/.bashrc file adding following two lines
export SACHOME=/usr/local/sac
source ${SACHOME}/bin/sacinit.csh
and after saving the file. I run following command
source ~/.bashrc
the following error message come.
No command 'setenv' found, did you mean:
Command 'netenv' from package 'netenv' (universe)
Could any one please help me sorting out the problem.
Thanking you
Abhey
modified my ~/.bashrc file adding following two lines
export SACHOME=/usr/local/sac
source ${SACHOME}/bin/sacinit.csh
and after saving the file. I run following command
source ~/.bashrc
the following error message come.
No command 'setenv' found, did you mean:
Command 'netenv' from package 'netenv' (universe)
Could any one please help me sorting out the problem.
Thanking you
Abhey
-
Hi,
You source Cshell file “sacinit.csh” in bash. This can be problem.
bash can not understand Cshell code.
o.
Dr. Onur TAN
---------------------------------------------- 40.7866N 29.4500E ---------
TÜBİTAK Marmara Araştırma Merkezi, Yer ve Deniz Bilimleri Enstitüsü
TUBITAK Marmara Research Center, Earth and Marine Sciences Institute
Gebze - Kocaeli - TURKEY
On 13.01.2011 09:16, "Abhey Bansal" <abhey.bansal<at>gmail.com> wrote:
Recently I was installing SAC on my laptop running on UBUNTU but when I modified my ~/.bashrc file adding following two lines
export SACHOME=/usr/local/sac
source ${SACHOME}/bin/sacinit.csh
and after saving the file. I run following command
source ~/.bashrc
the following error message come.
No command 'setenv' found, did you mean:
Command 'netenv' from package 'netenv' (universe)
Could any one please help me sorting out the problem.
Thanking you
Abhey
-
Hi again,
use sacinit.sh for bash
onur
Dr. Onur TAN
---------------------------------------------- 40.7866N 29.4500E ---------
TÜBİTAK Marmara Araştırma Merkezi, Yer ve Deniz Bilimleri Enstitüsü
TUBITAK Marmara Research Center, Earth and Marine Sciences Institute
Gebze - Kocaeli - TURKEY
On 13.01.2011 09:16, "Abhey Bansal" <abhey.bansal<at>gmail.com> wrote:
Recently I was installing SAC on my laptop running on UBUNTU but when I modified my ~/.bashrc file adding following two lines
export SACHOME=/usr/local/sac
source ${SACHOME}/bin/sacinit.csh
and after saving the file. I run following command
source ~/.bashrc
the following error message come.
No command 'setenv' found, did you mean:
Command 'netenv' from package 'netenv' (universe)
Could any one please help me sorting out the problem.
Thanking you
Abhey