10

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?

Thanks in advance,

19

You want

lsattr filename

See man lsattr.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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