lsattr(1) — Linux manual page


LSATTR(1)                General Commands Manual               LSATTR(1)

NAME         top

       lsattr - list file attributes on a Linux second extended file

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

       -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.

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

       -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
       upstream Git repository
       ⟨git://⟩ on
       2023-12-22.  (At that time, the date of the most recent commit
       that was found in the repository was 2023-12-07.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better 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.47.0      February 2023                    LSATTR(1)

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