HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

colorls — Beautify `ls` command output, with color and font-awesome icons. Available as a Ruby gem. More infor

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcolorbeautifycliwithcolorlsoutput

Problem

How to use the colorls command: Beautify ls command output, with color and font-awesome icons. Available as a Ruby gem. More information: <https://github.com/athityakumar/colorls#flags>.

Solution

colorls — Beautify ls command output, with color and font-awesome icons. Available as a Ruby gem. More information: <https://github.com/athityakumar/colorls#flags>.

List files one per line:
colorls -1


List all files, including hidden files:
colorls {{[-a|--all]}}


Long format list (permissions, ownership, size, and modification date) of all files:
colorls {{[-l|--long]}} {{[-a|--all]}}


Only list directories:
colorls {{[-d|--dirs]}}

Code Snippets

List files one per line

colorls -1

List all files, including hidden files

colorls {{[-a|--all]}}

Long format list (permissions, ownership, size, and modification date) of all files

colorls {{[-l|--long]}} {{[-a|--all]}}

Only list directories

colorls {{[-d|--dirs]}}

Context

tldr-pages: common/colorls

Revisions (0)

No revisions yet.