1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 07:57:55 +01:00
tldr/pages/common/lolcat.md

20 lines
426 B
Markdown
Raw Normal View History

2018-11-05 23:42:40 +01:00
# lolcat
> Put a rainbow in everything you `cat` to the console.
- 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}}`