使用nohup在后台运行程序

command 后台启动tomcat: nohup catalina.sh run 2>&1 & (标准输出默认为nohup.out) nohup catalin.sh run > run.txt 2>&1 & (标准输出也重定向到指定文件run.txt) 格式 nohup 要执行的命令 >out.file 2>&1 & 命令拆分 catalina.sh run 运行tomcat(或其他我们想要运
相关文章
相关标签/搜索