<HTML><HEAD><META content="text/html; charset=x-user-defined" http-equiv="Content-Type"><style type="text/css"><!--.MailHeader { font-family: "Arial"; font-size: 8pt; color: #000000; font-style: normal; font-weight: normal; text-decoration: none; }//--></style></HEAD><BODY><p>Dear Joshua M. Miller</p>
<p>The script which you had suggested is not generating any output on the console. kindly  do the needful<br ><br >with kind regards<br >s.mahalingam</p>
<font face="Arial" size="2">
<TABLE STYLE="PADDING-LEFT: 5px; BORDER-BOTTOM-COLOR: blue; BORDER-LEFT: blue 1px solid; BORDER-TOP-COLOR: blue; BORDER-RIGHT-COLOR: blue">
    <tbody>
        <TR>
            <TD><strong><em>-- Original Message --</em></strong><br >From: "Joshua M. Miller" <joshua@itsecureadmin.com><br >To: redhat-sysadmin-list@redhat.com<br >Cc: rhn-users@redhat.com<br >Date: Tue, 17 Jul 2007 07:08:24 -0700<br >Subject: Re: shell script<br ><br >Possibly better formatted:<br ><br >awk -F/ '/^[0-9]*G/ {print $5, "-", $1}' mailstorage.txt<br ><br >Thanks,<br >--<br >Joshua M. Miller - RHCE,VCP<br ><br ><br >Mahalingam Subramaniam wrote:<br >> Dear All<br >> <br >> My Query is as follows:<br >> <br >> I have extracted the output and details of mail users mail inbox size <br >> with file path name.<br >> <br >> 140K /abcde/fghij/w001/wesley<br >> 26M /mnopq/rstuvwx/w001/wilson<br >> 1G /mnopq/rstuvwx/w001/alok<br >> 2G /mnopq/rstuvwx/w001/john<br >> <br >> Here, I want to extract and paste the output of only users whose inbox <br >> size is 1GB or more than 1GB using shell script "*cat"<br >> *<br >> (e.g.) *cat* *mailstorage.txt* (source file containing all users mail <br >> inbox size information) *|awk -F ' ' '{print...... >>* *gboutput.txt* <br >> (target file to paste the final output) similar to this.<br >> <br >> can anyone help me in scripting the required full script to achieve the <br >> desired result.?<br >> <br >> Many more thanks in advance.<br >> <br >> with kind regards<br >> s.mahalingam<br >> <br >> S.Mahalingam<br >> Bioinformatics Centre<br >> Centre for Cellular and Molecular Biology<br >> Habsiguda, Uppal Road, Hyderabad 500 007<br >> <br >> Ph:+91-40-27192773, 27192774<br >> +91-40-27160222 - 41 (20 Lines)<br >> Ext: 2773, 2774<br >> Fax: :+91-40-27160591, 27160311<br >> <br >> E-mail:<br >> smal@ccmb.res.in<br >> smal8@yahoo.com<br >> <br >> http://www.ccmb.res.in<br >> <br >> <br >> ------------------------------------------------------------------------<br >> <br >> --<br >> redhat-sysadmin-list mailing list<br >> redhat-sysadmin-list@redhat.com<br >> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list<br ><br >--<br >redhat-sysadmin-list mailing list<br >redhat-sysadmin-list@redhat.com<br >https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list<br ></TD>
        </TR>
    </tbody>
</TABLE>
</font></BODY></HTML>