Linux ls command

In this video I go over the most important command in Linux which is the ls command. Ls is how to list directory content.

 

First we look at the ls man page.  then we go over some ls examples

Ls show hidden file (all)

ls -a

Ls long listing

ls -l

Ls recursive

ls -lR

Ls human readable file sizes

ls -hs

Sorting by size with ls

ls -AlhS

Shoring by size in reverse

ls -AlhSr

Sorting by modified time with ls

ls -Alt