0
点赞
收藏
分享

微信扫一扫

-bash: nohup: command not found

-bash: nohup: command not found

查看本地是否有

``` which nohup ```

-bash: nohup: command not found_当前用户

记录绝对位置

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

cd
vi .bash_profile

在原来后边加上`:/usr/bin`,保存,退出

-bash: nohup: command not found_bash_02

使文件立刻生效

source ~/.bash_profile

试一下

-bash: nohup: command not found_bash_03

nohup --version

-bash: nohup: command not found_根目录_04

ok

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

yum install coreutils


不积跬步,无以至千里,燃烧吧,小宇宙



举报

相关推荐

0 条评论