tldr/pages/common/lolcat.md

21 lines
484 B
Markdown
Raw Normal View History

2018-11-05 22:42:40 +00:00
# lolcat
> Put a rainbow in everything you `cat` to the console.
2019-06-05 08:55:56 +01:00
> More information: <https://github.com/busyloop/lolcat>.
2018-11-05 22:42:40 +00:00
- 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 {{path/to/file}}`
- Print a file to the console with 24-bit (truecolor) rainbow colors:
`lolcat -t {{path/to/file}}`