file - A file type guesser. The file command is "a file type guesser", that is, a command-line tool that tells you in words what kind of data a file contains.