ls is a command to list files in a Unix and Unix-like operating systems. ls is specified by the POSIX and the Single UNIX Specification. When it invoked without any arguments, ls command lists the files in the current working directory.  The ls – alh command is used to list all the files in human readable format.


ls list directory contents

-a, --all Do not ignore entries starting with.

-l  use a long listing format.

-h. --human-readable with -l, print sizes in human readable format (Eg: 1K, 235M, 5G).


Categorized in:

Tagged in: