Ls:list Directory Contents List Contents
LS option:
-a:do not ignore entries starting with. : does not ignore the file containing the start. (Hidden file)
-a:do not list implied. and.. : List does not contain. and. file, but it will contain additional files that begin with the.
-l:use a long listing format: Use a long list of tables to output detailed information
-i:print the index number of each file: Print the index of each document
-d:list directory entries instead of contents, and do not dereference symbolic links displays current directory information, does not refer to symbolic links, usually with-l
-h:with-l, print sizes in human readable format (e.g., 1K 234M 2G): Printing size in a human-readable way
-s:print the allocated size of every file, in blocks: Files stored on the hard disk are allocated disk space storage as disk blocks, using-s to see how many disk blocks the file is allocated
-s:sort by file Size: Sorting file sizes
Linux command-ls