Jump to navigation Jump to search
10 bytes added ,  17:22, 19 October 2009
In the above example, the *.c is expanded by the bash shell. It will try to match all filename ending with .c in the current directory such as main.c, lib1.c, lib2.c, ssh.c, auth.c etc. You can escape the wild card using the backslash as the escape character:
<source lang="bash">find $HOME -name \*.c</source>
OR You can also use the [[quotingQuoting|double quote]]:
<source lang="bash">find $HOME -name "*.c"</source>
[[Category:Variables and Quoting]]
|previous=Echo Command|Display the value of shell variables
|next=Export Variables|The export statement}}

Navigation menu