![]() |
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 |
| word count wc | chaandana | UNIX for Dummies Questions & Answers | 5 | 05-05-2009 10:47 AM |
| Sorting using count, grep and count | sukhpal_78 | UNIX for Dummies Questions & Answers | 2 | 06-27-2008 12:13 AM |
| specified word count | bhaviknp | Shell Programming and Scripting | 5 | 02-27-2008 11:23 AM |
| grep all records in a file and get a word count -perl | meghana | Shell Programming and Scripting | 4 | 02-13-2008 10:06 PM |
| count word | ariuscy | UNIX for Dummies Questions & Answers | 1 | 10-13-2005 12:36 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Try this:
Code:
grep -q 'unique constraint' $LOGDIR/archive_active* && \
grep -l 'unique constraint' $LOGDIR/archive_active* |
mailx -s "Archive_active logging contains unique constraints - ACTION REQUIRED" \
john@doe.com
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|