Command Details

$ ls

List all files in the current directory.

Related Commands

  • $ ls -lList files in long format with detailed information.
  • $ ls -aList all files, including hidden ones.
  • $ ls -lhList files with human-readable file sizes.
  • $ ls -RList subdirectories recursively.
  • $ ls -ltList files sorted by modification time.
  • $ ls -ld */List only directories in the current directory.
  • $ ls -lList files in long format with detailed information.
  • $ ls -aList all files, including hidden ones.
  • $ ls -lhList files with human-readable file sizes.
  • $ ls -RList subdirectories recursively.
  • $ ls -ltList files sorted by modification time.
  • $ ls -ld */List only directories in the current directory.