代码改变世界

常用

2018-04-02 15:08  乘着风去破浪  阅读(161)  评论(0编辑  收藏  举报

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

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

hup:灵通的