Find “command not found” when executed in bash loop

后端 未结 1 573
自闭症患者
自闭症患者 2020-12-12 04:11

I\'m trying to write a bash script to generate lists of files. I figured I\'d simply call \'find\' within a loop. Unfortunately it generated a \"find: command not found\" er

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-12 04:33

    It's looking for find in $PATH... which your script has destroyed.

    0 讨论(0)
提交回复
热议问题