Skip to Content
gnux

--color

Color the output WHEN: 'always' (the default when WHEN is omitted), 'auto', or 'never'.

An option of lsx.

Usage

lsx --color[=WHEN] [FILE]...

Details

ShortLongValueDefaultMeaning
--colorWHEN (optional)color the output WHEN: 'always' (the default when WHEN is omitted), 'auto', or 'never'

Examples

Color by file type and mark types (but not executables) when writing to a terminal

lsx --color=auto --file-type -C -T 4

Help in the terminal

gnux help lsx --color

On this page