Bash file shows “ln: command not found”

前端 未结 2 1685
失恋的感觉
失恋的感觉 2021-01-27 08:02

I\'m trying to create a bash script to setup my development environment. The script is running as root but I get the error line 11: ln: command not found



        
2条回答
  •  忘掉有多难
    2021-01-27 08:19

    PATH tells the shell where to look for commands. In your case, it looks for ln somewhere in /etc and predictably doesn't find it there.

    You should use a different name.

提交回复
热议问题