且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

未找到事件错误

更新时间:2022-10-16 09:56:21

  SSH节点1指派,-f睡眠66'

解决这个问题。

I am trying to execute the below command.

ssh node1 "nohup sleep 66 &; echo $!"

But I am getting the error:

-bash: !": event not found

ssh node1 'Pgrep -f sleep 66'

solved the issue