lsattr(1)

lsattr1

List ext2/ext3/ext4 file attributes

Usage

lsattr [-RVadlpv] [files ...]

Overview

lsattr lists the file attributes on an ext2/ext3/ext4 file system. See chattr(1) for a description of the attributes and what they mean.

Options

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

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

Releases

19 releases since Debian 1.1 (Buzz); the text changed 17 times.

  1. 1.1
  2. 1.2
  3. 1.3–2.0
  4. 2.1
  5. 2.2
  6. 3.0
  7. 3.1
  8. 4.0
  9. 5.0
  10. 6.0
  11. 7
  12. 8
  13. 9
  14. 10
  15. 11
  16. 12
  17. 13
  18. Arch

-V since Debian 2.2 (Potato); -l since Debian 9 (Stretch); -p since Debian 9 (Stretch).

Author

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

Bugs

There are none :-).

Availability

lsattr is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.

From e2fsprogs 1.47.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.