Introduction
Sometimes you need to see what files and folders are in a place on your computer. The ls command shows you a list of these files and folders so you know what is there.
When you want to check what files are in your current folder before opening or editing them
When you need to find out if a file was saved in a specific directory
When you want to see hidden files that start with a dot in your folder
When you want to see detailed information like file size and modification date
When you want to list files sorted by time or size to find recent or large files