Regarding Linux or Solaris, shielding the log output of nohup

For Linux or Solaris, to block nohup log

output For Linux or Solaris, to block nohup log output, you can use the following command to achieve
nohup <your_sh_script> > /dev/null &
For example:
nohup ./startapusic > /dev/null &

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326959401&siteId=291194637