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 todo
This sample output shows three files. The fields on the first line are:
- for normal files.
-rw-rw-rw shows the current
permissions for the file.
1 shows the number of
links to the file. This is almost always 1.
john, shows the account name
of the owner of the file.
1659 is the ID code of the
group that owns the file.
386 is the size of the file in
bytes.
Feb 3 08:15 shows the time and date when this
file was last changed.