Balachandar wrote:
i dont want any trailing attachments.I only want the file size.Any help ??

then, take whatever field you want like this,

$ du -s 1.txt | awk '{print $1;}'
100
$

or another one,

$ ls -l /bin/bash | awk '{print $5;}'
908464
$

Thanks,
Mohan R

_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to