Use the ls
-l command
to display detailed information about your files and directories.
Examples
In this example, the
user displays the long (detailed) listing for files and directories
stored under the current directory using the -l
option.
| $
ls -l |
|
|
|
|
|
|
|
| total
8 |
|
|
|
|
|
|
|
| -rw-r--r-- |
1 |
ted |
other |
0 |
dec
2 |
09:05 |
file1 |
| drwxr-xr-x |
3 |
ted |
other |
512 |
dec
4 |
13:44 |
franklin |
| drwxr-xr-x |
3 |
ted |
other |
512 |
dec
4 |
13:44 |
pigpen |
| drwxr-xr-x |
5 |
ted |
other |
512 |
dec
4 |
13:43 |
snoopy |
| drwxr-xr-x |
4 |
ted |
other |
512 |
dec
4 |
13:36 |
woodstock |
| -rw-r--r-- |
1 |
ted |
other |
320 |
dec
7 |
11:43 |
your
login |
| -rw-r--r-- |
1 |
ted |
other |
368 |
dec
7 |
11:45 |
your
login_1 |
| $ |
|
|
|
|
|
|
|
Using
ls -la provides the following file information:
