Skip to main content
deleted 128 characters in body; edited tags
Source Link
slm
  • 380k
  • 127
  • 793
  • 897

I'm wondering what the output of lsattrlsattr means.It prints so oddly as follows,when I have tried:

lsattr /usr

lsattr /usr.


  • -----------------e- /usr/local
  • -----------------e- /usr/src
  • -----------------e- /usr/games
  • --------------I--e- /usr/include
  • --------------I--e- /usr/share
  • --------------I--e- /usr/lib
  • -----------------e- /usr/lib32
  • --------------I--e- /usr/bin
  • --------------I--e- /usr/sbin

I've read the man page of chattr and lsattr but still got no idea.
$ lsattr /usr -----------------e- /usr/local -----------------e- /usr/src -----------------e- /usr/games --------------I--e- /usr/include --------------I--e- /usr/share --------------I--e- /usr/lib -----------------e- /usr/lib32 --------------I--e- /usr/bin --------------I--e- /usr/sbin 
Any answers or suggestions will be appreciated:)

I've read the man page of chattr and lsattr but still have no idea.

I'm wondering what the output of lsattr means.It prints so oddly as follows,when I have tried

lsattr /usr


  • -----------------e- /usr/local
  • -----------------e- /usr/src
  • -----------------e- /usr/games
  • --------------I--e- /usr/include
  • --------------I--e- /usr/share
  • --------------I--e- /usr/lib
  • -----------------e- /usr/lib32
  • --------------I--e- /usr/bin
  • --------------I--e- /usr/sbin

I've read the man page of chattr and lsattr but still got no idea. Any answers or suggestions will be appreciated:)

I'm wondering what the output of lsattr means.It prints so oddly as follows,when I have tried: lsattr /usr.

$ lsattr /usr -----------------e- /usr/local -----------------e- /usr/src -----------------e- /usr/games --------------I--e- /usr/include --------------I--e- /usr/share --------------I--e- /usr/lib -----------------e- /usr/lib32 --------------I--e- /usr/bin --------------I--e- /usr/sbin 

I've read the man page of chattr and lsattr but still have no idea.

Source Link
Hongxu Chen
  • 5.9k
  • 9
  • 29
  • 32

What's the meaning of output of lsattr

I'm wondering what the output of lsattr means.It prints so oddly as follows,when I have tried

lsattr /usr


  • -----------------e- /usr/local
  • -----------------e- /usr/src
  • -----------------e- /usr/games
  • --------------I--e- /usr/include
  • --------------I--e- /usr/share
  • --------------I--e- /usr/lib
  • -----------------e- /usr/lib32
  • --------------I--e- /usr/bin
  • --------------I--e- /usr/sbin

I've read the man page of chattr and lsattr but still got no idea. Any answers or suggestions will be appreciated:)