使用echo修改系统root密码时报:-bash: !@#****": event not found

截图如下:

修改密码报-bash: !@#***": event not found

 

 解决办法:

1.将双引号改为单引号就好了。

修改密码报-bash: !@#***": event not found

 

 2.关闭histexpand。

修改密码报-bash: !@#***": event not found

 

 

这时候我们在改下密码就没问题了。

修改密码报-bash: !@#***": event not found

 

相关文章:

  • 2021-09-07
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2021-08-23
  • 2021-06-16
  • 2021-06-21
  • 2021-07-13
猜你喜欢
相关资源
相似解决方案