see hidden characters in terminal code example
Example: bash show special characters in file
# Basic syntax:
cat -T input_file # Shows TAB characters as ^I
cat -E input_file # Shows $ at end of each line
cat -A input_file # Shows all invisible characters in the file