There's a lot to learn about image files on the command line, from verifying file format to finding out where and when photos were taken and maybe even getting an unusual view of what they look like.
Linux has hundreds of commands. Thankfully, you only need to know a handful.