public
Last active

Find command shown as Stack Overflow answer doesn’t work

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
### 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
$

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.