ls -h

From: Dave Martini 1 (martini_at_mrpeabody.llnl.gov)
Date: 09/23/05

  • Next message: Dave Martini 1: "ls -h"
    Date: Fri, 23 Sep 2005 09:42:09 -0700 (PDT)
    To: sunmanagers@sunmanagers.org
    
    

    Solaris 9 has the

    ls -h command
    to show the total size of files in human readable format.

    Does Solaris 8 have any way to view file size in human readable
    format?

    Instead of this

    -r-------- 1 root root 861388 Nov 8 2003 3fad952d.rec
    -r-------- 1 root root 1367548 Nov 8 2003 3fad957e.k0
    -r-------- 1 root root 1024088 Nov 8 2003 3fad957e.k1
    -r-------- 1 root root 12715360 Nov 8 2003 3fad957e.rec
    -r-------- 1 root root 1564780 Nov 8 2003 3fadb1ed.k0
    -r-------- 1 root root 1126004 Nov 8 2003 3fadb1ed.k1
    -r-------- 1 root root 15171920 Nov 8 2003 3fadb1ed.rec

    Is there an easy way to figre out the sizes of the files above?

    Thanks much
    Dave Martini
    LLNL
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Dave Martini 1: "ls -h"

    Relevant Pages

    • Re: df -h . is not working in Solaris.
      ... Any other alternat command is existing in Solaris 8. ... stead of the human readable format. ...
      (comp.unix.solaris)
    • Few Good Interview Questions (Only for English Readers)
      ... overwhelming response. ... What command shows what modules are loaded into the Kernel? ... What command in Solaris, do you use to setup aliases for devices? ... How do you determine Volume Status in Veritas VxVM? ...
      (comp.unix.solaris)
    • posix ps (was Re: Adding `pgrep and `pkill to /usr/bin)
      ... >> commands also exist in Solaris and Linux. ... >> make whatever changes are needed for them to work on FreeBSD. ... pedantic posix relaxed solaris sunos susv3 tru64 ... since I suppose -arch will reject these important changes to a native command. ...
      (freebsd-arch)
    • Re: metainit BUG in Solaris 10 01/06
      ... Thanks for the reply Peter, excelent command, metarecover is great! ... This example is in Solaris 8 with SDS421 ... Soft Partition metadb matches extent header configuration ... No extent headers found on xxxxxx-dg/d200. ...
      (comp.unix.solaris)
    • Few Good Interview Questions
      ... What command shows what modules are loaded into the Kernel? ... What command in Solaris, do you use to setup aliases for devices? ... How do you determine Volume Status in Veritas VxVM? ... Does Solaris Volume Manager have soft partitioning? ...
      (comp.unix.solaris)