ls

noun

say it: “EL-ESS” /ˌɛl ˈɛs/ or “ELL ESS” /ɛl ɛs/

A command that lists the files and folders in a folder, with options to show hidden names and each one's details.

What does ls do?

ls lists the files and folders in a directory. -l shows details like size and date; -a includes hidden files.

ls
ls -la ~/projects

In a sentence

  • “I typed ls to check that Program.cs was in the folder.”
  • “ls -l showed that the video was 700 megabytes.”
  • “Sam ran ls in the Downloads folder to see whether the phone bill was there.”

Level: Novice · More Unix terms at this level

Updated