Note : In the cloud, you will not be "root" but one project-user (run 
command whoami)...but my next answer is valid with any UNIX-Linux user ...

To set PATH using terminal command lines in cloud project:

- display PATH value : echo $PATH
- display the current shell : echo $SHELL
- if current shell is "bash"  (answer displayed is : /bin/bash) : edit 
(with text editor: vi for example) the file $HOME/.bashrc
- add at the end of file the line : export 
PATH=$PATH:/home/skauffman/scilab-5.4.1/bin
- save bashrc file 
- close terminal (using: exit or CTRL-D)

Open new terminal:

- display PATH : echo $PATH

/home/skauffman/scilab-5.4.1/bin has been added at the end of PATH

Environnement variables like PATH are kept in the current shell and .bashrc 
script file is executed at the beginning every new bash shell
For other shell the script file is not the same (.cshrc for C-Shell csh, 
.login or .profile for Bourne shell sh ; .kshrc for Korn shell)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to