lsattr - Man Page

list ext2/ext3/ext4 file attributes

Examples (TL;DR)

Synopsis

lsattr [ -RVadlpv ] [ files... ]

Description

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.

Author

lsattr was written by Remy Card <Remy.Card@linux.org>.  It is currently being maintained by Theodore Ts'o <tytso@alum.mit.edu>.

Bugs

There are none :-).

Availability

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

See Also

chattr(1)

Referenced By

chattr(1), dar(1), diffoscope(1), ocfs2(7).

May 2024 E2fsprogs version 1.47.1