Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

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

UNIX for Dummies Questions & Answers


 
 
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: 8 June 2016, 9:58 PM EDT
Posts: 6,402
Thanks: 288
Thanked 676 Times in 645 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: 8 June 2016, 9:58 PM EDT
Posts: 6,402
Thanks: 288
Thanked 676 Times in 645 Posts
There is no "-h" option in unix "ls". Some Linux variants have it.
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 04:09 AM.