I have a shell script which does somewhat simple.
#!/bin/sh
do something boring...
When I execute the shell script like this,
$ nohup sh mysh.sh > /null/dev/ 2>&1 &
I see there are two processes listed.
$ ps -ef | grep mysh
... xxxxx 1 ... sh mysh.sh // same xxxxx
... yyyyy xxxxx ... sh mysh.sh // same xxxxx
Is this normal?