how to find the encoding of a file linux code example Example: see encoding of file txt linux file <file.txt> file -bi <file.txt>