NAME

lsattr – list file attributes on a Linux second extended file system  

SYNOPSIS

lsattr [ -RVadv ] [ files… ]  

DESCRIPTION

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

-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.
-v
List the file’s version/generation number.
 

BUGS

There are none :-).  

AVAILABILITY

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

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.