Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> list files of specific pattern, search files of specific pattern
im4vip
Posted: May 19 2005, 10:26 AM
Quote Post


Newbie
*

Group: Members
Posts: 8
Member No.: 890
Joined: 27-March 05



Hello,
Can someone tell me how camsearch for a file with specific pattern?

i.e FILE1_123345
FILE2_111111
FILE3_4345435
FILE4_FOK

My script should return only
i.e FILE1_123345
FILE2_111111
FILE3_4345435

bascially I would like to know how can search for file which has numericals suffixed.


TIA
PMEmail Poster
Top
andyb1ack
Posted: May 20 2005, 09:44 AM
Quote Post


User Level: 4
****

Group: Members
Posts: 98
Member No.: 513
Joined: 9-September 04



ls FILE[0-9]_[0-9]*
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Shells & Scripting | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.2542 ]   [ 12 queries used ]   [ GZIP Enabled ]




Partners: Cambridge Plus :: <Link Available> :: Electronic Consultancy, UK :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum