![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to select a particular media from the printer with a UNIX command | HelpMeOUt | UNIX for Dummies Questions & Answers | 3 | 12-20-2007 01:42 PM |
| Sorting Files according to their Extensions... | marconi | Shell Programming and Scripting | 1 | 12-07-2007 12:47 PM |
| Find files with 3 different extensions | mahalakshmi | Shell Programming and Scripting | 11 | 12-28-2006 03:19 AM |
| List Files by Extensions | newbienix | UNIX for Dummies Questions & Answers | 2 | 05-25-2006 02:05 AM |
| Korn shell "select" command | mpegler | Shell Programming and Scripting | 2 | 06-23-2002 06:41 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Command to select files with different extensions
I want to select files which have different extensions such as .cpp, .cs, .h
I can select one of them as Code:
find . -name "*.cpp" |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
why find
use ls
ls *.cpp *.cs *.h Btw for find - find . \( -name "*.cpp" -o -name "*.cs" -o -name "*.h" \) should work |
|||
| Google The UNIX and Linux Forums |