# To display everything in , excluding hidden files: ls <dir> # To display everything in , 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>