LS

From Void-Byte
Revision as of 14:54, 7 June 2020 by Bgrambo (talk | contribs)
Jump to navigation Jump to search

Description

The ls command is used to list the contents of a directory.

Structure

ls <options> <path/file>

Options

Option Description
-a List all files including hidden.
-d List directories, but omit contents.
-h Human readable format.
-l Long listing format.
-R List all files in directories recursively.
-t Sort by time of file in numerical order.

Examples