Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Which operating system(s) are you targeting? Commented May 5, 2014 at 18:03
  • 2
    There's stat, which would read the file's metadata, and include size info. Commented May 5, 2014 at 18:05
  • 1
    Why is this downvoted? It's a legitimate beginner's question. Commented May 5, 2014 at 18:10
  • @BrianCain Mainly Linux, but it'd be interesting to see how it's done for Windows / other UNIX too. Commented May 5, 2014 at 18:10