-12

This question already has an answer here:

I'm wondering, what this particular entry of the output of ls -l means. Could someone please explain the meaning of the fields?

-rwxr-xr-x 1 root root 920788 Mar 28 2013 bash

marked as duplicate by Anthon, chaos, roaima, terdon May 5 '15 at 10:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

The first block (-rwxr-xr-x) means that

  • the first character signifies the type of file. '-' for file and 'd' for directory 'l' for a link.
  • It is readable, writeable and executable by the user (the first triple rwx)
  • It is readable and executable by the group (the second triple r-x)
  • It is readable and executable by anyone (the third triple r-x)

The next is that the file is ownded by the user root (the first root) and the group root (the second root).

The 1 means, number of links created for this file.

Then the file size is printed (920788 bytes in this case).

Then the creation date of the file (in this case Mar 28 2013) is printed. This could also be formated like Mar 28 08:15 if the year is the current year.

At last the name of the file (bash in this case) is printed.

Not the answer you're looking for? Browse other questions tagged or ask your own question.