Linux nohup 启动服务且不输出日志
2025-08-22 15:57:23,

nohup [命令] >/dev/null 2>&1 &
示例:
nohup /bin/sh -C++ 'cd /home/server/dotnet/DotnetDatamining && dotnet DotnetDatamining.dll "--desc=xxx服务 访问端口号5028"' >/dev/null 2>&1 &