putty中使用nohup命令运行jar包成功后,就不能输入其他命令了
nohup java -jar XXX.jar >temp.txt &
放到后台执行。网页链接 如何在后台运行 Linux 命令并且将进程脱离终端