Linux ls -lisa command output

What is the meaning of the second column in the ls -lisa command?

ls -lisa
total 12
280187 0 -rw-rw-r--  2 embedded embedded    0 Apr  3 02:05 a.txt

      

  • Common command means the number of 512-byte blocks allocated.
  • The first column shows the I-Node number. (280187)
  • The third column lists the permissions. (- rw-rw-r -)
  • The 4th column shows the number of hard links for the inode. (2)
  • The fifth column displays the user and group. (built-in built-in)
  • The 6th column shows the file size. (0)
  • The 7th column shows the date of the last modification (3 April 02:05)
  • The last column shows the filename (a.txt)

But I don't know what the second column is for?

+3


source to share


2 answers


The second column is the result of the -s (--size) option and represents the allocated file size, always a multiple of the allocation block. http://linuxcommand.org/lc3_man_pages/ls1.html



+2


source


The second column in your ouptut prints the file size. When you had multiple options together, it confused you.

ls -lisa
280187 0 -rw-rw-r--  2 embedded embedded    0 Apr  3 02:05 a.txt

      



Option

   -s, --size
          print the allocated size of each file, in blocks

      

0


source







All Articles