mirror of https://github.com/CrimsonTome/tldr.git
20 lines
426 B
Markdown
20 lines
426 B
Markdown
|
# 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}}`
|