Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • do you mind editing your post to format the code correctly? Simply highlight it, then press the '{}' button in the text box. Thanks Commented Jan 12, 2017 at 17:55
  • 6
    $PATH is a default environment variable which tells your system where to find its program binaries (like the find program you are trying to use), so you should use a different name for that variable. I am betting that you are overwriting your system's $PATH, and now your system cannot find the find program. Try this and see if it works. Commented Jan 12, 2017 at 18:00
  • also if you want to test this and see what I mean, simply open a new terminal and run echo $PATH. Commented Jan 12, 2017 at 18:01
  • 1
    Hey thanks. That was the problema. Thank you !! Do I have to "close" this question? Commented Jan 12, 2017 at 18:06