• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 841
  • Last Modified:

How do I compare file sizes in shell script

In sh/ksh/bash script, `wc` will not do - files too large.
0
gheist
Asked:
gheist
1 Solution
 
ozoCommented:
`ls -l file | awk '{print $5}'`
0
 
gheistAuthor Commented:
Thanks, that's it.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now