未找到事件错误 [英] Event not found error

查看:154
本文介绍了未找到事件错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想执行下面的命令。

  SSH节点1的nohup睡眠66安培;;回声$!

但我得到的错误:

  -bash:!:找不到事件


解决方案

  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

这篇关于未找到事件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆