Created
January 17, 2011 23:20
-
-
Save natesilva/783687 to your computer and use it in GitHub Desktop.
Find command shown as Stack Overflow answer doesn’t work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### See http://j.mp/ffN320 | |
$ cat /etc/lsb-release | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=9.10 | |
DISTRIB_CODENAME=karmic | |
DISTRIB_DESCRIPTION="Ubuntu 9.10" | |
$ mkdir mydir | |
$ cd mydir | |
$ touch test.h test.cpp | |
$ ls | |
test.cpp test.h | |
$ find . -name \*.h -o -name \*.cpp -print | |
./test.cpp | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment