Listing file details
If you would like more information about each file, use the
-l option. Here is an example:
% ls -l total 3 -rw-rw-rw- 1 john 1659 386 Feb 3 08:15 groceries -rw-r--r-- 1 john 1659 97 Mar 10 23:46 schedule -rw------- 1 john 1659 123 Mar 11 13:39 todoThis sample output shows three files. The fields on the first line are:
-for normal files.
-rw-rw-rwshows the current permissions for the file.
1shows the number of links to the file. This is almost always 1.
john, shows the account name of the owner of the file.
1659is the ID code of the group that owns the file.
386is the size of the file in bytes.
Feb 3 08:15shows the time and date when this file was last changed.
John Shipman, email@example.com
Last updated: 1995/12/04 19:39:34 UT