List file attributes on a Linux second extended file system.
lsattr [ -RVadv ] [ files... ]
lsattr lists the file attributes on a second extended file system. See chattr(1) for a description of the attributes and what they mean.
-R Recursively list attributes of directories and their contents.
-V Display the program version.
-a List all files in directories, including files that start with ‘.’.
-d List directories like other files, rather than listing their contents.
-v List the file’s version/generation number.
lsattr was written by Remy Card. It is currently being maintained by Theodore Ts’o.