查看本地是否有

 which nohup

  • 1

-bash: nohup: command not found

 记录绝对位置

 到当前用户的根目录(我的是root)

   cd

  vi .bash_profile

在原来后边加上:/usr/bin,保存,退出 
-bash: nohup: command not found

 使文件立刻生效

source ~/.bash_profile

试一下 
-bash: nohup: command not found

nohup --version

-bash: nohup: command not found

ok

如果第一步就没有发现nohup,先安装,再配置

yum install coreutils



相关文章:

  • 2021-05-15
  • 2021-07-09
  • 2021-08-23
  • 2021-04-06
  • 2021-06-09
  • 2021-09-10
猜你喜欢
  • 2021-08-19
  • 2021-09-05
  • 2021-07-17
  • 2021-07-22
  • 2021-06-29
  • 2021-08-11
  • 2021-10-11
相关资源
相似解决方案