lolcat Command Examples
Put a rainbow in everything you
cat
to the console. More information: https://github.com/busyloop/lolcat.
- Print a file to the console in rainbow colors:
lolcat {{path/to/file}}
- Print the result of a text-producing command in rainbow colors:
{{fortune}} | lolcat
- Print a file to the console with animated rainbow colors:
lolcat {{[-a|--animate]}} {{path/to/file}}
- Print a file to the console with 24-bit (truecolor) rainbow colors:
lolcat {{[-t|--truecolor]}} {{path/to/file}}