The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



Thread: filesize
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-15-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 2,707
Code:
ls -l d
Isolating just the file size is a bit of a challenge. The output from ls also depends on your locale etc; there really ought to be a separate command for getting a file's size in computer-friendly form.
Reply With Quote