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