List contents of a directory

$ ls
apple.txt  applebad.txt  applegood.txt bag.txt basket.txt
$ ls -a
./             apple.txt      applegood.txt  basket.txt
../            applebad.txt   bag.txt
$ ls -l
total 5
-rw-r--r-- 1 december december  21 Dec 19 21:19 apple.txt
-rw-r--r-- 1 december december  21 Dec 19 21:59 applebad.txt
-rw-r--r-- 1 december december  23 Dec 19 21:41 applegood.txt
-rw-r--r-- 1 december december  21 Dec 19 21:38 bag.txt
-rw-r--r-- 1 december december  91 Dec 19 21:19 basket.txt
$ ls -s
total 5
   1 apple.txt         1 applegood.txt     1 basket.txt
   1 applebad.txt      1 bag.txt
$ ls -lst
total 5
   1 -rw-r--r-- 1 december december  21 Dec 19 21:59 applebad.txt
   1 -rw-r--r-- 1 december december  23 Dec 19 21:41 applegood.txt
   1 -rw-r--r-- 1 december december  21 Dec 19 21:38 bag.txt
   1 -rw-r--r-- 1 december december  91 Dec 19 21:19 basket.txt
   1 -rw-r--r-- 1 december december  21 Dec 19 21:19 apple.txt  
$ 
Save this page to any social bookmarking site! Share · search Search · store Market · star Directory
2017-05-11 · John December · Contact · Terms of Use © December Communications, Inc.