Archive for Juni, 2016

AIX: ls human readable

Posted: 1st Juni 2016 by Thorben Hemmler in Serveradministration

ls -l native_std* | awk ‚BEGIN{mega=1048576} $5 >= mega {$5 = $5/mega "MB"} {print}‘ -rw-r–r– 1 user group 31.0672MB Jun 01 15:32 native_stderr-pce.a.1.log -rw-r–r– 1 user group 41.3623MB Jun 01 15:32 native_stderr-pce.a.3.log