mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
559 B
Plaintext
26 lines
559 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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]}}`
|