ls -al output column fields

Viewed 15551

Can someone guide me what does each column of ls -ali output in linux describe?

2 Answers

ls -ali combines the options -a, -l and -i.

From the official documentation:

-l

In addition to the name of each file, print the file type, file mode bits, number of hard links, owner name, group name, size, and timestamp

In addition to the aforementioned fields, -i adds the index number of each file.

Finally, option -a includes all the file with names starting with ., which otherwise would be considered hidden and thus ignored .

Related