yongsing
asked on
Redirecting the outputs of nohup
I use the nohup command to run a process as follows:
nohup someprocess > output.txt &
When I run it, it will always display this message:
Sending output to nohup.out
And I have to press Enter again for the command to return.
How do I prevent nohup from writing to nohup.txt? I have already direct the outputs to output.txt, so creating an empty nohup.out file is meaningless to me.
Also, how do I prevent the message "Sending output to nohup.out" from appearing? When it appears, I have to press Enter for the command to return.
Thanks.
nohup someprocess > output.txt &
When I run it, it will always display this message:
Sending output to nohup.out
And I have to press Enter again for the command to return.
How do I prevent nohup from writing to nohup.txt? I have already direct the outputs to output.txt, so creating an empty nohup.out file is meaningless to me.
Also, how do I prevent the message "Sending output to nohup.out" from appearing? When it appears, I have to press Enter for the command to return.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.