AskUbuntu<p>command "file --mime" returns wrong filetype due to presence of comment <a href="https://ubuntu.social/tags/commandline" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commandline</span></a> #2404 <a href="https://ubuntu.social/tags/filetype" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>filetype</span></a></p><p><a href="https://askubuntu.com/q/1553556/612" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">askubuntu.com/q/1553556/612</span><span class="invisible"></span></a></p>