![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running RSH on the background | eamani_sun | Shell Programming and Scripting | 2 | 06-02-2008 01:37 PM |
| How to know the status of process running in background | sumanta | Shell Programming and Scripting | 8 | 03-04-2008 05:03 AM |
| alias for running in background & | hfireflyu | UNIX for Dummies Questions & Answers | 0 | 03-21-2007 01:32 AM |
| running process in background | kingdbag | UNIX for Dummies Questions & Answers | 3 | 11-10-2006 12:34 PM |
| Running two processes in background | jacob_gs | Shell Programming and Scripting | 6 | 05-13-2002 11:40 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
The nohup needs to go before the command. You might also want to take care to redirect output to a file (otherwise it goes to nohup.out)
Code:
nohup server.sh >server.out 2>&1 & |
|
||||
|
Quote:
Hi era, the code that i have given is ok or not? |
|
||||
|
Not. But you don't really have to ask; try it.
Code:
vnix$ sleep 1 & nohup nohup: missing operand Try 'nohup --help' for more information. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|