LSATTR(1) General Commands Manual LSATTR(1)

# [NAME](#NAME)

lsattr - list ext2/ext3/ext4 file attributes

# [SYNOPSIS](#SYNOPSIS)

**lsattr** \[ **-RVadlpv** ] \[ *files...* ]

# [DESCRIPTION](#DESCRIPTION)

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

# [OPTIONS](#OPTIONS)

[**-R**](#R)

Recursively list attributes of directories and their contents.

[**-V**](#V)

Display the program version.

[**-a**](#a)

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

[**-d**](#d)

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

[**-l**](#l)

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

[**-p**](#p)

List the file's project number.

[**-v**](#v)

List the file's version/generation number.

# [AUTHOR](#AUTHOR)

**lsattr** was written by Remy Card &lt;Remy.Card@linux.org&gt;. It is currently being maintained by Theodore Ts'o &lt;tytso@alum.mit.edu&gt;.

# [BUGS](#BUGS)

There are none :-).

# [AVAILABILITY](#AVAILABILITY)

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

# [SEE ALSO](#SEE_ALSO)

[**chattr**(1)](/man/os/e2fsprogs/chattr.1)

March 2025 E2fsprogs version 1.47.4

---

Document: lsattr(1) from e2fsprogs 1.47.4-r3 (Chainguard OS)
Source: https://github.com/tytso/e2fsprogs
