lsattr - Man Page

list file attributes on a Linux second extended file system

Examples (TL;DR)


lsattr [ -RVadlpv ] [ 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.



Recursively list attributes of directories and their contents.


Display the program version.


List all files in directories, including files that start with `.'.


List directories like other files, rather than listing their contents.


Print the options using long names instead of single character abbreviations.


List the file's project number.


List the file's version/generation number.


lsattr was written by Remy Card <>.  It is currently being maintained by Theodore Ts'o <>.


There are none :-).


lsattr is part of the e2fsprogs package and is available from

See Also


Referenced By

btrfs(5), btrfs-property(8), chattr(1), dar(1), diffoscope(1), ioctl_iflags(2), ocfs2(7).

February 2023 E2fsprogs version 1.47.0