Files
cheatsheet-tldr/tldr/colorls
2025-11-30 00:23:24 +00:00

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]}}`