This probably isn't in the correct section, but from the command line, you could try: ls -sh filename, the -s is size, the -h is human readable.
Where directory is listed, substitute the desired directory name.
So what its very easy all you have to do is to add h to end of your switches.Press the "Enter" rsa securid appliance 3.0 key.Step, type "cd directory".For example, cd workfiles.Adv Reply, june 20th, 2010 #3, re: commnad to get file size.Log in to the AIX system.If you are looking for 'fat' files because of low diskspace, that would be a more enlightening question, as the solutions would be more varied.I tend to use 'du -k myfile' to get kbytes and visually drop the last three digits, but I'm just looking for approximate size.And use lotsa Linux, BSD, and Emacs.List the size of files used in AIX in whichever format frozen thoughts magazine pdf you prefer.AIX runs and utilizes the entire collection of standard Unix and Linux commands.The ls from GNU coreutils.5 does support -block-size as described above.Incoming search terms: linux file size in mb linux file size in gb ls gb ls -ltr linux gb linux ls in gb ls - to show file sizes in gb ls file size in mb ls display in gb linux ls file size.Ubuntu Logo, Ubuntu and Canonical Canonical Ltd.
Stéphane Chazelas for suggesting this.
Ls -l -block-sizeM will give you a long format listing (needed to actually see the file size) and round file sizes up to the nearest MiB.