LSATTR(1)
โจ LSATTR(1) โจ
okay bestie, gather round, because today we're learning about lsattr โ that's the General Commands Manual girlie, and she's here to spill all the tea on your file attributes ๐
๐ธ NAME ๐ธ
lsattr โ list ext2/ext3/ext4 file attributes ๐ฆ
๐ SYNOPSIS ๐
lsattr [ -RVadlpv ] [ files... ]
๐ DESCRIPTION ๐
so basically? lsattr lists the file attributes on an ext2/ext3/ext4 file system. that's it. that's the whole vibe โจ
and if you're sitting there like "bestie what do these attributes even mean" โ no worries, go read chattr(1), it has the full description of the attributes and what they do. iykyk ๐ซถ
๐ OPTIONS ๐
-Rโ Recursively list attributes of directories and their contents. like, it goes in. all the way in. ๐-Vโ Display the program version. main character energy, she wants you to know which version she is ๐-aโ List all files in directories, including files that start with.โ yes, even the shy hidden ones ๐ซฃ-dโ List directories like other files, rather than listing their contents. so instead of opening the folder and snooping around, she just tells you about the folder itself. iconic behaviour honestly ๐-lโ Print the options using long names instead of single character abbreviations. because sometimesajust isn't enough info, you know? spell it out for me ๐-pโ List the file's project number. project number reveal!! ๐ฅ-vโ List the file's version/generation number. her age. her era. her lore โญ
๐ง AUTHOR ๐ง
lsattr was written by Remy Card <Remy.Card@linux.org>. and it is currently being maintained by Theodore Ts'o <tytso@alum.mit.edu>. shoutout to the legends, no cap ๐
๐ BUGS ๐
There are none :-).
literally not a single one. flawless. perfect. unbothered. we love to see it ๐ญ๐
๐ AVAILABILITY ๐
lsattr is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net. go get her ๐๏ธโจ
๐ฆ SEE ALSO ๐ฆ
and that's the whole page bestie!! ๐
this was brought to you by E2fsprogs version 1.47.4, dated March 2025 โ so you know she's fresh, she's current, she's thriving ๐ โจ mwah, love u, go list some attributes ๐ซถ๐
๐ฆ where this page comes from
- alpine 3.24: e2fsprogs-doc 1.47.4-r0 ยท GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT
- arch rolling: e2fsprogs 1.47.4-1 ยท GPL AND LGPL AND MIT
- nixpkgs unstable: e2fsprogs 1.47.4
- ubuntu stonking: e2fsprogs 1.47.4-1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms