1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-29 23:36:40 +03:00
cheat.sh/tests/results/2
2020-08-05 09:37:11 +02:00

1.1 KiB

# To display everything in <dir>, excluding hidden files:
ls <dir>
 
# To display everything in <dir>, including hidden files:
ls -a <dir>
 
# To display all files, along with the size (with unit suffixes) and timestamp
ls -lh <dir>
 
# To display files, sorted by size:
ls -S <dir>
 
# To display directories only:
ls -d */ <dir>
 
# To display directories only, include hidden:
ls -d .*/ */ <dir>