![]() |
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 commands in loop | karthikn7974 | Shell Programming and Scripting | 0 | 04-28-2008 09:16 AM |
| help with find & grep commands | moe2266 | UNIX for Dummies Questions & Answers | 2 | 07-25-2007 03:18 PM |
| Unix Find commands | scooter17 | UNIX for Dummies Questions & Answers | 1 | 09-11-2006 02:55 PM |
| Where do I find what commands I can use? | JCWorkman | UNIX for Dummies Questions & Answers | 3 | 12-12-2001 06:10 PM |
| find commands? | hallrobe | UNIX for Dummies Questions & Answers | 3 | 09-26-2001 03:27 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
find and grep commands
I'm having trouble with the following commands
i. count the number of lines which end in a 4 letter word grep '[a-z-A-Z]{4\}$' bfile <<seems to print out everything abc abc abcd joe joe john bob bill gregory greg greg gregory the grep command prints out the lines with 4 letter words and the line "greg gregory" ii. count the number of lines that contain a number larger than or equal to 100, contain exactly 5 characters iii. find all the files in a hierarchy which contain more than 25 characters Last edited by StrengthThaDon; 03-18-2007 at 07:02 PM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|