![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removing old files except configuration files and folders | jamcalicut | Shell Programming and Scripting | 1 | 11-09-2007 04:34 PM |
| Removing files | LiquidChild | UNIX for Advanced & Expert Users | 2 | 06-22-2007 10:39 AM |
| removing files | luft | UNIX for Dummies Questions & Answers | 8 | 03-21-2007 12:53 PM |
| Removing Files | Dastard | SUN Solaris | 1 | 03-13-2007 09:13 PM |
| Removing Files | Blondie | UNIX for Dummies Questions & Answers | 5 | 07-17-2001 07:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Removing Files
Hi,
This might seem like a really stupid question but i have created a shell script and at the end of the script i want to remove most of the file i create. So I have: rm file[1-4] test[1-9] sorted[1-12] However this does not work for the sorted one. The only way i can get this to work is if i do: rm sorted[1-9] sorted[1][0-2] Is this correct?? Thanks Jason |
![]() |
| Bookmarks |
| Tags |
| regex |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|