OK, maybe some examples will help?
locate -l 0 jpeg .... would work
locate -l 1 jpeg .... would work
locate -l jpeg .... will not work, and you'll get the error message it requires 0 or 1
the man page will tell you there is a default value for -l, so you don't need it if you are satisfied with the default. therefore:
locate jpeg .... will work
Cheers
|