Computing.Net > Forums > Unix > file size on aix

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

file size on aix

Reply to Message Icon

Name: mark collins
Date: September 25, 2002 at 12:01:21 Pacific
OS: aix 4.3.2.1
CPU/Ram: rs6000/2gb
Comment:

How can I find the size of a file ? I need that to be included in a script.
Thanks,
Mark



Sponsored Link
Ads by Google

Response Number 1
Name: LANkrypt0
Date: September 25, 2002 at 12:54:49 Pacific
Reply:

Try:
ls -la filename | awk '{print $5}'


0

Response Number 2
Name: foxtrot
Date: September 26, 2002 at 06:37:48 Pacific
Reply:

You can also try
wc -c filename


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Remove blank lines from f... Unix Version?



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: file size on aix

AIX file size limit www.computing.net/answers/unix/aix-file-size-limit/4935.html

file size limit on AIX www.computing.net/answers/unix/file-size-limit-on-aix/2166.html

Tar a file on AIX & untar on OS/390 www.computing.net/answers/unix/tar-a-file-on-aix-amp-untar-on-os390/7696.html