[PLUG] New desktop: issue with 'find'

David dafr+plug at dafr.us
Thu Oct 4 11:37:20 PDT 2018


On 10/04/2018 11:20 AM, Rich Shepard wrote:
> On Thu, 4 Oct 2018, wes wrote:
> 
>> Hopefully someone recognizes this error and can help, it's not one I've
>> seen before. Would you please provide a real-world example, and its
>> complete output? And also the output of find --version?
> 
> wes,
> 
>    On the new desktop:
> 
> [root at baetis ~]# find / -name stripes.png
> find: paths must precede expression: /
> Usage: find [-H] [-L] [-P] [-Olevel] [-D 
> help|tree|search|stat|rates|opt|exec] [path...] [expression]

Try this:

      find / -name 'stripes.png'

Not sure it will do anything different, but possibly the shell is 
expanding the dot. It may be worth comparing versions of your shell on 
the two systems if this works.

      echo $SHELL
      `echo $SHELL` --version


dafr


More information about the PLUG mailing list