In Unix, the ls command is used to list the contents of a directory. Here are some common uses of the ls command:
1. ls: List the files and subdirectories in the current directory.
2. ls -l: List the files and subdirectories in the current directory with detailed information (long format).
3. ls -a: List all files and subdirectories, including hidden files (those starting with a dot).
4. ls -r: List files and subdirectories in reverse order.
5. ls -t: List files and subdirectories sorted by modification time.