I have used find command in many directories but when running the following from /etc:
find /etc -name *.conf
it errors out and cannot figure it out. It is only happening with the /etc directory. I can run this exact command from any other directory and works fine. Call this an OCD thing, I just have to know why.
"*.conf"when using them infind- else the shell will try to expand them against the current directory before callingfind– steeldriver Jul 02 '17 at 15:17find /etc/ -name '*.conf'... the directory you ran it from likely has the file namedcoreadm.conf– Sundeep Jul 02 '17 at 15:17/etcdirectory because*.confmatched the file in that directory namedcoreadm.conf... – Sundeep Jul 02 '17 at 15:30/etc), it is whether there are any matches in the directory you run it from (i.e. yourPWD) – steeldriver Jul 02 '17 at 15:39