Let’s take a closer look at the contents of a
sample directory by typing the command
ls -l
(the “l
” stands for
“long”.)
The total
line tells how many blocks (usually 1024
bytes per block) are contained in this directory.
To see what the columns in the remainder of the listing mean, click the “info” buttons beneath them.
The first character in this column tells what kind of file
this is. The dash represents a normal file; the d
represents a directory.
The remaining characters describe the file’s permissions, which we will cover in detail in the next pages.
These two columns tell you the name of the owner of the file and the group to which the owner belongs.
The size of the file, in bytes. For directories, this is the size of the directory, not the total of the directory’s contents!
This column contains the date and time at which the file was last modified. Note that you get time of day if the modification was during this year; otherwise you see the year.
Index | Your Permissions >> |