shell脚本后台运行

2019-07-18  本文已影响0人  赵皮皮月

1. 使用&符号在后台执行命令

./redis-server &

2.使用nohup在后台执行命令

nohup ./redis-server &

3.使用screen执行命令

apt install screen -y
上一篇 下一篇

猜你喜欢

热点阅读