astrophysics

usage of 'nohup'

dcember_fifth 2014. 1. 23. 01:58

1) <go.sh> have followings. 

nohup ./run1.sh > nohup_run1.out &


: after running <run1.sh> then you'll get <nohup_run1.out> as a by-product. 



2) <run1.sh> have followings.  

#!/bin/bash

idl<<!

.run run1

go,/for_errors

!


: <run1.pro> should have command "go,/for_errors"


** if bash can't find IDL command, then try below

$IDL_DIR/bin/idl<<!



3) both shell files should have 755 permission

> chmod 755 *.sh 



4) run <go.sh>

> ./go.sh