The ls -a command lists all contents of a directory, including hidden files (those starting with a dot). The plain ls and ls -l commands hide these files by default. dir is a Windows command, though sometimes aliased, but not the standard Unix utility for hidden files.