Reference

lsattr(1)

list ext2/ext3/ext4 file attributes

NAME

lsattr - list ext2/ext3/ext4 file attributes

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

SEE ALSO

chattr(1)

History

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