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

  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 Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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 05-25-2010
methyl methyl is offline Forum Advisor  
Advisor
 
Join Date: Mar 2008
Last Activity: 25 November 2014, 5:09 PM EST
Posts: 6,396
Thanks: 287
Thanked 673 Times in 642 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 05-25-2010
methyl methyl is offline Forum Advisor  
Advisor
 
Join Date: Mar 2008
Last Activity: 25 November 2014, 5:09 PM EST
Posts: 6,396
Thanks: 287
Thanked 673 Times in 642 Posts
There is no "-h" option in unix "ls". Some Linux variants have it.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:18 PM
who -r displays no output maficdan AIX 0 04-21-2008 12:34 PM
Dual Displays HP-UX 10.20 giftedone HP-UX 0 03-23-2006 03:36 AM
Dual Displays Synbios UNIX for Dummies Questions & Answers 2 10-11-2005 06:46 PM



All times are GMT -4. The time now is 03:48 PM.