mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 03:01:19 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/lolcat
Normal file
25
tldr/lolcat
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lolcat
|
||||
|
||||
> 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 {{path/to/file}}`
|
||||
|
||||
- Print a file to the console with 24-bit (truecolor) rainbow colors:
|
||||
|
||||
`lolcat -t {{path/to/file}}`
|
||||
Reference in New Issue
Block a user