-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/12/2009 11:19 AM, Bob Goodwin wrote: > > I have a simple bash script that lists my internet usage in gigs, > the first three lines are data downloaded, the second three data > uploaded, 17.0 g and 5.0 g respectively are the upper limit for 30 > days.. > > cat /home/bobg/usg.txt >> /home/bobg/usg1.sav > > Listing that - > cat /home/bobg/usg1.sav > > produces a long list which I haven't been able to do much with due > to my limited knowledge. > > 30 % > 5.2 > 17.0 > 9 % > 0.4 > 5.0 > 30 % > 5.0 > 17.0 > 9 % > 0.4 > 5.0 > > I would like to have a "date" command inserted to separate each > group of six lines. Can some one tell me how to do that or point me > in the right direction. > > This is an updated F-11 computer. > > Bob > date >> /home/bobg/usg1.save & cat /home/bobg/usg.txt >> /home/bobg/usg1.sav If you want it in a different format, man date and look at the format options. - -- Steve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkr8SXgACgkQeERILVgMyvD1RQCdEcVu0F65gsuIBTdvRpzaxHvg fIYAn1aOaCc1MC3c8i3vlbrcnnAylHcV =1ZYs -----END PGP SIGNATURE----- -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines