Quantcast
Channel: Can I change the name of `nohup.out`? - Stack Overflow
Viewing all articles
Browse latest Browse all 7

Can I change the name of `nohup.out`?

$
0
0

When I run nohup some_command &, the output goes to nohup.out; man nohup says to look at info nohup which in turn says:

If standard output is a terminal, the command's standard output is appended to the file 'nohup.out'; if that cannot be written to, it is appended to the file '$HOME/nohup.out'; and if that cannot be written to, the command is not run.

But if I already have one command using nohup with output going to /nohup.out and I want to run another, nohup command, can I redirect the output to nohup2.out?


Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images