lsattr(1) — Linux manual page


LSATTR(1)                  General Commands Manual                 LSATTR(1)

NAME         top

       lsattr - list file attributes on a Linux second extended file system

SYNOPSIS         top

       lsattr [ -RVadlpv ] [ files...  ]

DESCRIPTION         top

       lsattr lists the file attributes on a second extended file system.
       See chattr(1) for a description of the attributes and what they mean.

OPTIONS         top

       -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

       -l     Print the options using long names instead of single character

       -p     List the file's project number.

       -v     List the file's version/generation number.

AUTHOR         top

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

BUGS         top

       There are none :-).

AVAILABILITY         top

       lsattr is part of the e2fsprogs package and is available from

SEE ALSO         top


COLOPHON         top

       This page is part of the e2fsprogs (utilities for ext2/3/4
       filesystems) project.  Information about the project can be found at
       ⟨⟩.  It is not known how to report
       bugs for this man page; if you know, please send a mail to  This page was obtained from the project's up‐
       stream Git repository
       ⟨git://⟩ on 2020-11-01.
       (At that time, the date of the most recent commit that was found in
       the repository was 2020-10-01.)  If you discover any rendering prob‐
       lems in this HTML version of the page, or you believe there is a bet‐
       ter or more up-to-date source for the page, or you have corrections
       or improvements to the information in this COLOPHON (which is not
       part of the original manual page), send a mail to

E2fsprogs version 1.46-WIP       March 2020                        LSATTR(1)

Pages that refer to this page: chattr(1)ioctl_iflags(2)btrfs-property(8)