command: find and command: grep question
by cybernewbie727 from LinuxQuestions.org on (#5S1ZG)
Hello,
I'm not sure if I am posting on the right subsection because I am new to this community and also Linux in general. I am learning the find and grep command I have a question regarding placement of wildcards. When using a wildcard in find, I am to place the wildcard directly before and after (ex: find *txt). But when I am using grep, why do I place the wildcard after a space? (ex: grep .txt *)
Many thanks!
I'm not sure if I am posting on the right subsection because I am new to this community and also Linux in general. I am learning the find and grep command I have a question regarding placement of wildcards. When using a wildcard in find, I am to place the wildcard directly before and after (ex: find *txt). But when I am using grep, why do I place the wildcard after a space? (ex: grep .txt *)
Many thanks!