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.

Required fields*

2
  • 3
    Very smart and useful, because it tests the complete file and not only the first or a few line. Commented May 19, 2015 at 0:04
  • While this is a good answer, not all distributions come with this installed out of the box. I prefer this method, but the answer by @GypsyCosmonaut is better since it relies on no other dependencies other than CoreUtils, which is part of every linux distribution. Commented Oct 27 at 20:30