List is one of the primary commands in UN*X. This command lets you view the contents of directories and properties of the files contained within. This command has many options which determine the format of the listing:
ls ls -l
These two are the two most common ones. The first one will just list the files and directories. The second format will produce a long listing, as follows :
ls -l total 294 -rw-r--r-- 1 kgf kgf 16057 Oct 8 16:41 CDS.log -rw-r--r-- 1 kgf kgf 1845 Sep 30 21:36 DRE_CDS.log drwxr-xr-x 2 kgf kgf 512 Oct 5 13:54 ams drwxr-xr-x 4 kgf kgf 512 Jul 28 18:11 cadence drwxr-xr-x 8 kgf kgf 1536 Oct 8 16:07 cds -rw-r--r-- 1 kgf kgf 4947 Sep 1 16:39 cksum1.c
The list contains 9 fields for each file or directory. From left to right:
a production of
Cadence is a trademark of Cadence Design Systems, Inc., 555 River Oaks Parkway, San Jose, CA 95134.
Please read this DISCLAIMER