Here is a small pro tip: To find whether a file is a text file, executable, or some other type of file, use the `file` command on your Linux, macOS, FreeBSD (or any *BSD), Unix, or Unix-like systems:
```
file /bin/ls
file /etc/passwd
file /dev/null
file some.png
```
See inside a compressed file and determine the file type inside:
```
file -z file.zip
```

Find the MIME encoding type of a file:
```
file foo.jpg
```

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/nixCraft/statuses/115759044182089504 on your instance and quote it. (Note that quoting is not supported in Mastodon.)