This is an old revision of the document!
This tutorial includes basic information about running a program/script on COR@L.
cd home/userid/directory/
foo
bash: foo: Permission denied
error. What should I do?chmod u+x foo
If you want to save output of your program into a file, simply use >
, such as
foo > output.out
will save all program outputs to output.out
file.
If you have already some content in output.out
and append (add new output at the end of the existing content) then use »
such as
foo » output.out
If you are going to run a long job and want to log out during the process, then use nohup
command.
nohup foo > output.out &
You can list all processes that belongs to your account by typing
top -u userid