ls -l displays size in KB, MB, GB? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Unix/Linux Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

ls -l displays size in KB, MB, GB?

UNIX for Dummies Questions & Answers


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-25-2010
venkatesht venkatesht is offline
Registered User
 
Join Date: Nov 2008
Last Activity: 21 March 2012, 9:57 PM EDT
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
ls -l displays size in KB, MB, GB?

Hi,

ls -l displays the long listing of a file in 8 fields.

Query:
------
Does ls -l display the filename size in KB or MB or GB?

-rwxrwxr-x 1 xx dba 655 May 22 06:27 time

Here 655 is KB or MB or GB?

Many thanks.
Sponsored Links
    #2  
Old Unix and Linux 05-25-2010
methyl methyl is offline Forum Advisor  
Advisor
 
Join Date: Mar 2008
Last Activity: 12 February 2015, 7:41 PM EST
Posts: 6,397
Thanks: 288
Thanked 674 Times in 643 Posts
Bytes.

---------- Post updated at 13:09 ---------- Previous update was at 13:06 ----------

BTW. Having an executable file called "time" is not a good idea. It is the name of a unix command.
Sponsored Links
    #3  
Old Unix and Linux 05-25-2010
methyl methyl is offline Forum Advisor  
Advisor
 
Join Date: Mar 2008
Last Activity: 12 February 2015, 7:41 PM EST
Posts: 6,397
Thanks: 288
Thanked 674 Times in 643 Posts
There is no "-h" option in unix "ls". Some Linux variants have it.
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Raidz displays incorrect size PatrickBaer Solaris 5 11-28-2009 01:18 PM
who -r displays no output maficdan AIX 0 04-21-2008 11:34 AM
Dual Displays HP-UX 10.20 giftedone HP-UX 0 03-23-2006 02:36 AM
Dual Displays Synbios UNIX for Dummies Questions & Answers 2 10-11-2005 05:46 PM



All times are GMT -4. The time now is 12:01 PM.