Defining Output

This section defines, in more detail, the sample output from the ls -l command shown again below.

% ls -l

total 7

drwxr-xr-x  2  bob   vuser  512  Apr 11 17:48  bin

drwxr-xr-x  2  bob   vuser  512  Feb  5 19:52  dev

drwxr-xr-x  3  bob   vuser  512  Jun 28 15:38  etc

drwxr-xr-x  3  bob   vuser  512  Jan  7 13:53  ftp

drwx--x--x  3  bob   vuser  512  Jun 19 16:35  tmp

drwxr-xr-x  9  bob   vuser  512  Jan 17 12:42  usr

drwx--x--x 10  bob   vuser  512  Jun 19 16:35  var

lrwxr-xr-x  1  root  vuser   19  Apr  1 10:31  www -> usr/local/etc/httpd

Starting with the column on the left, the following definitions apply.

Column

Definition

drwx and -rw

Defines the file mode. The file mode is the type of file and permissions on the file.

Number of links

A file or directory can be a link to other files.

Owner name

Login name of the file's or directory's owner.

Group name

Group ID to which the file belongs.

Size

In bytes.

Date and time

Time stamp of last modification.

Pathname

Name of file.

Back