Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do the fields in ls -ali output mean [closed]

Tags:

linux

shell

The ls -ali shell command shows the following output:

933442 -rwxrw-r--    10    root   root 2048    Jan 13 07:11 afile.exe

What are all the fields in the preceding display?

like image 995
HAMAD MAHMOOD Avatar asked Mar 11 '15 15:03

HAMAD MAHMOOD


1 Answers

+--------------+------------------+-----------------+-------+-------+------+-------+-----+-------+-----------+
| index number | file permissions | number of links | owner | group | size | month | day | time  | filename  |
+--------------+------------------+-----------------+-------+-------+------+-------+-----+-------+-----------+
|       933442 | -rwxrw-r--       |              10 | root  | root  | 2048 | Jan   |  13 | 07:11 | afile.exe |
+--------------+------------------+-----------------+-------+-------+------+-------+-----+-------+-----------+

Note: month, day and time is the date of last modification.

like image 147
Knut Holm Avatar answered Oct 11 '22 19:10

Knut Holm