![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| grep numbers | mcgrailm | UNIX for Dummies Questions & Answers | 5 | 07-25-2008 01:07 AM |
| Fill in missing numbers in range | bistru | Shell Programming and Scripting | 5 | 05-17-2006 02:42 AM |
| How to keep(or grep) range of line ? | aungomarin | Shell Programming and Scripting | 1 | 05-08-2006 11:19 PM |
| grep for non numbers | shihabvk | Shell Programming and Scripting | 6 | 09-20-2005 09:06 PM |
| grep numbers range | azmathshaikh | Shell Programming and Scripting | 1 | 08-08-2005 07:45 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi im new to unix and need to find a way to grep the top 5 numbers in a file and put them into another file. For example my file looks like this
abcdef 50000 abcdef 45000 abcdef 40000 abcdef 35000 abcdef 30000 abcdef 25000 abcdef 20000 abcdef 15000 abcdef 10000 and so on... How can i grep the top 5 of these and put them into a seperate file i know you can use range on characters but is there a way to do it on more then 1 character maybe. Any help appreciated thanks so much!! ![]() |
![]() |
| Bookmarks |
| Tags |
| grep |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|