[root@shell shell_script]# nohup sh mysql_daemon.sh &
[1] 4485
[root@shell shell_script]# nohup: ignoring input and appending output to ‘nohup.out’
[root@shell shell_script]# tail -f nohup.out
MySQL is running well
MySQL is running well
MySQL is running well
可以ps查看进程,kill掉,还有其他方式吗,酷老师。