常用

不挂断地执行命令,并输出到指定文件(错误也输出到文件)

nohup sh bin/elasticsearch > nohup.out 2>&1 &

hup:灵通的

原文地址:https://www.cnblogs.com/big1987/p/8693549.html