You are not logged in.
So I am trying to do a pretty basic task, searching for files in Arch.
What I am trying to use currently: find / -name idea.*
And when I execute it, I get this error: zsh: no matches found: idea.*
The same thing done in Debian and Ubuntu seems to work with no problems. What might I missing here? Is it because of the shell I use?
Last edited by Veske (2015-01-13 17:59:09)
Offline
You shell expands the glob; therefore you need to escape the '*' to pass it to the command. You can test this yourself; try this, it'll throw the same error:
echo idea.*Last edited by Spider.007 (2015-01-13 17:50:09)
Offline
alias find="noglob find"Offline
In addition to escaping, you can just quote the entire search string. You should always escape or quote when characters which have special meaning to the shell are involved, regardless of the command.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Thank you! Got it working now like that.
Offline