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