使用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(或其他我們想要運
相關文章
相關標籤/搜索