Is there a way to redirect nohup output to a log file other than nohup.out?
nohup man page indicates that you can use normal redirection:
If standard input is a terminal, redirect it from /dev/null. If standard output is a terminal, append output to 'nohup.out' if possible, '$HOME/nohup.out' otherwise. If standard error is a terminal, redirect it to standard output. To save output to FILE, use 'nohup COMMAND > FILE'.
Edit: I didn't read your link at first; you may have a different version of
nohup, although this section suggests that you can still use normal redirection:
nohup.out The output file of the nohup execution if standard output is a terminal and if the current directory is writable.
You can redirect standard output and standard error to different files:
nohup myprogram > myprogram.out 2> myprogram.err
or to the same file:
nohup myprogram > myprogram.out 2>&1
Adding Jim comment as an answer here for more visibility.
nohup program > program.out &to write the output to
nohup program &> program.out &
nohup program &> program.out if you don't want to run the job in the background. I use this when I'm running multiple jobs at once and I want to limit it.