22

I have a file, which I wanted to protect from accidental deletion, so I've ran:

chattr +i filename

Now my question is, once I've changed a file attributes, where can I see the newly set attributes?

Itai Ganot
  • 10,976

1 Answers1

32

You want

lsattr filename

See man lsattr.

pevik
  • 302