Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 349 Bytes

list.md

File metadata and controls

17 lines (9 loc) · 349 Bytes

List files and directories

The ls command is used to list files or directories in Linux and other Unix-based operating systems.

Example

  • List all the contents of the directory

ls

  • List all the files of the directory with size details in Megabytes

ls -l --block-size=M

Demo

Linux ls