Header Shadow Image

find: paths must precede expression

What if we get this:

# find ./ -iname *package*
find: paths must precede expression: package.tar.gz
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path…] [expression]

Then use single quotes or double quotes instead:

# find ./ -iname '*package*'


Leave a Reply

You must be logged in to post a comment.

  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License