| 1 | = 2010-06-21 = |
| 2 | |
| 3 | == Linux == |
| 4 | |
| 5 | * [http://www.liamdelahunty.com/tips/linux_ls_awk_totals.php Linux - Sum using awk] |
| 6 | {{{ |
| 7 | |
| 8 | $ ls -lh php*; ls -l php* | awk '{ SUM += $5} END { print SUM/1024/1024 }' |
| 9 | |
| 10 | -rw-rw-r-- 1 admin site13 1013 Aug 12 11:01 php_checkbox_check.php |
| 11 | -rw-rw-r-- 1 admin site13 8.9k Nov 11 23:15 php_contact_form.php |
| 12 | -rw-rw-r-- 1 liamdela site13 560 Oct 1 2002 php_convert_url_to_link.php |
| 13 | -rw-r--r-- 1 root site13 948 Dec 7 21:56 php_gethostbyaddr.php |
| 14 | -rw-rw-r-- 1 liamdela site13 2.1k Feb 25 2002 php_list_a_directory.php |
| 15 | -rw-rw-r-- 1 liamdela site13 1.7k May 28 2003 php_multi_dimensional_arrays.php |
| 16 | -rw-rw-r-- 1 admin site13 2.9k Nov 14 13:15 php_prev_next_array.php |
| 17 | -rw-r--r-- 1 admin site13 1.9k Feb 3 00:55 php_uk_mailing_list.php |
| 18 | |
| 19 | 0.0194302 |
| 20 | }}} |