Why does `less` treat my `.jpg` file as an image?
I'm trying to understand how Linux handles file extensions. Since Linux generally doesn't use extensions to determine a file's type, I created an empty file with `touch banana.jpg`,…
I'm trying to understand how Linux handles file extensions. Since Linux generally doesn't use extensions to determine a file's type, I created an empty file with `touch banana.jpg`,…
I'm trying to understand how Linux handles file extensions. I created a file with `touch banana.jpg`, then added plain text to it with `nano`. `cat banana.jpg` shows the…