commands.sh

lolcat

all

Put a rainbow in everything you `cat` to the console.

More info →

Options (5)

-S, --seedboolean

Use a seed to generate consistent colors (default: `0` as in random)

Example: lolcat {{[-S|--seed]}} {{number}} {{path/to/file}}
-F, --frequencyboolean

Control rainbow frequency (default: `0.1`)

Example: lolcat {{[-F|--frequency]}} {{number}} {{path/to/file}}
-p, --spreadboolean

Control rainbow smoothing (default: `3`)

Example: lolcat {{[-p|--spread]}} {{number}} {{path/to/file}}
-a, --animateboolean

Print a file to the console with animated rainbow colors

Example: lolcat {{[-a|--animate]}} {{path/to/file}}
-t, --truecolorboolean

Print a file to the console with 24-bit (truecolor) rainbow colors

Example: lolcat {{[-t|--truecolor]}} {{path/to/file}}

Examples (7)

Print a file to the console in rainbow colors

lolcat path/to/file

Print the result of a text-producing command in rainbow colors

Use a seed to generate consistent colors (default: `0` as in random)

lolcat [-S|--seed] number path/to/file

Control rainbow frequency (default: `0.1`)

lolcat [-F|--frequency] number path/to/file

Control rainbow smoothing (default: `3`)

lolcat [-p|--spread] number path/to/file

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
made by @shridhargupta | data from tldr-pages