Jump to navigation Jump to search
2 bytes removed ,  12:37, 6 January 2010
Type the following command to find out all c program file (*.c):
<source lang="bash">find $HOME -name *.c</source>
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 /home 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
find $HOME -name \*main.c
Anonymous user

Navigation menu