Some important syntax using nohup(utility immune to hangups)
Example
1) Following executes "myprogram" and gives
output called "myprogram.out",
error is captured in "myprogram.err"
nohup myprogram >myprogram.out 2>myprogram.err
or
nohup myprogram >myprogram.out &
1) Following executes "myprogram" and gives
output called "myprogram.out",
error is captured in "myprogram.err"
nohup myprogram >myprogram.out 2>myprogram.err
or
nohup myprogram >myprogram.out &
Comments
Post a Comment