$ ls
List all files in the current directory.
$ ls -l
List files in long format with detailed information.$ ls -a
List all files, including hidden ones.$ ls -lh
List files with human-readable file sizes.$ ls -R
List subdirectories recursively.$ ls -lt
List files sorted by modification time.$ ls -ld */
List only directories in the current directory.$ ls -l
List files in long format with detailed information.$ ls -a
List all files, including hidden ones.$ ls -lh
List files with human-readable file sizes.$ ls -R
List subdirectories recursively.$ ls -lt
List files sorted by modification time.$ ls -ld */
List only directories in the current directory.