The ls command is used to list the contents of a directory, helping you navigate and manage your file system.
Usage syntax: ls [option] [file]
Essential Options
-l— Long listing format: shows permissions, owner, size, and date.-a— Includes hidden files (starting with a dot).-r— Lists subdirectories recursively.-h— Human-readable sizes (KB, MB, GB).-t— Sorts by modification time (newest first).