lsattr shows the ext filesystem attributes such as i for immutable and a for append-only. The -d flag lists the directory itself rather than descending into its contents, like ls -d does. Use lsattr -R to walk a whole tree.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.