#You can use bat/batcat # batcat is a cat clone with syntax highlighting and git integration #Installation sudo apt install bat #Using batcat /the/text-file.txt #Using alias to cat alias cat='batcat'