nohup sh 123.sh 1 >/dev/null 2>&1 &
&1 &
This command runs the shell script “123.sh” with an argument of “1” in the background using “nohup” (no hang-up), redirects standard output to “/dev/null” (to discard any output), and redirects standard error to standard output (to avoid separating error messages from the standard output). The
还没有评论,来说两句吧...