![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing variable from bash to perl from bash script | arsidh | Shell Programming and Scripting | 10 | 06-04-2008 09:25 AM |
| Bash: Can I run in background with pipes | jjinno | Shell Programming and Scripting | 3 | 01-03-2008 04:51 PM |
| how to run script at background | happyv | Shell Programming and Scripting | 4 | 09-22-2006 04:39 AM |
| submit a ksh script in background | captainzeb | Shell Programming and Scripting | 4 | 11-08-2003 07:49 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Best practice to run bash script in background
nohup /bin/bassh $HOME/scripts/test.sh > $HOME/log/test.log 2>&1 &
nohup $HOME/scripts/test.sh > $HOME/log/test.log 2>&1 & Which is the good practice to run a script in background of above two ? does the first one will have any overhead on the system ? our system is SunOS 5.10 Generic_118833-22 sun4v sparc SUNW,Sun-Fire-T200System. test.sh is #!/bin/bash some functions actual process .... .... end of process.... exit 0 Thanks. Ram |
| Forum Sponsor | ||
|
|