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.

3
  • No offense, but this is the unix & linux stack, why would I install nodejs and npm to them install a detection program? The first answer used built in unix utils... Commented Mar 24, 2021 at 18:59
  • 4
    Well, the first answer suggests using "file -i" which unfortunately isn't always very accurate. So if someone is searching for an alternative it might be worth the extra effort of installing Node.js and NPM... Commented Mar 25, 2021 at 8:34
  • 1
    @number9 SE has always (AFAIK) been all about "give all valid possible answers" (their wording might differ cuz I read it years ago last, but mean the same). This is exactly that. Commented Dec 11, 2022 at 21:46