![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nohup.out | ramky79 | AIX | 5 | 10-23-2007 06:28 AM |
| nohup - help! | bluemoon1 | UNIX for Dummies Questions & Answers | 9 | 10-11-2007 11:49 PM |
| Help on nohup | bobbyjohnz | UNIX for Advanced & Expert Users | 3 | 10-18-2006 11:56 AM |
| nohup ( no log message) | mike1022 | Shell Programming and Scripting | 1 | 09-16-2006 08:55 PM |
| nohup usage.. | charan81 | UNIX for Dummies Questions & Answers | 2 | 05-21-2006 02:41 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Nohup
Hi,
Using nohup it sends output automatically to $HOME/nohup.out - how do I direct this output to another named file instead, so I can run several scripts in the background at once, directing their outputs into individual log files? Cheers |
|
||||
|
Sorry... I'm wanting to state a named file to direct it to, so I can run several at once. I don't mind if they end up in $HOME, I just need to change nohup.out to be something I choose, so I can run several at once and then it won't end up all garbled in together.
Ta |
|
|||||
|
I checked the man page of nohup. Here's what it says:
HTML Code:
nohup.out
the output file of the nohup execution if standard
output is a terminal and if the current directory is
writable.
$HOME/nohup.out
the output file of the nohup execution if standard
output is a terminal and if the current directory is
not writable.
Try running the nohup command as: Code:
# nohup command > /path/to/nohup_logfile 2>&1 & |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|