Hi,
I'm not exactly sure what you are asking, but I think you want to edit the .profile file.
Type
vi ~/.profile
then type:
G
to go to the end of the line.
Type:
o
to get into "insert" mode, and type the following two lines:
export NCARG_ROOT=/usr/local
export PATH=/usr/local/bin:$PATH
Type:
<ESC>wq
to save the file and quit.
--Mary
On Oct 4, 2012, at 2:20 PM, Papa Ngor Ndiaye wrote:
> Hi
> I want to set up my environment to run NCL,
> for this i open the file "c:\cygwin\home\xxx\.bashrc" with the editors "ecams" or "vim" to add the lines following:
>
> export NCARG_ROOT=/usr/local
> export PATH=/usr/local/bin:$PATH
>
> but i can't modify the file ".bashrc"
> Can i have the commands uses to edit and save this file?
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Oct 5 12:18:11 2012
This archive was generated by hypermail 2.1.8 : Mon Oct 08 2012 - 15:54:16 MDT