mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
2ebc8c9fac
Display directories only
17 lines
349 B
Text
17 lines
349 B
Text
# Displays everything in the target directory
|
|
ls path/to/the/target/directory
|
|
|
|
# Displays everything including hidden files
|
|
ls -a
|
|
|
|
# Displays all files, along with the size (with unit suffixes) and timestamp
|
|
ls -lh
|
|
|
|
# Display files, sorted by size
|
|
ls -S
|
|
|
|
# Display directories only
|
|
ls -d */
|
|
|
|
# Display directories only, include hidden
|
|
ls -d .*/ */
|