lsattr
List file attributes on a Linux filesystem. More information: <https://manned.org/lsattr>.
Install
- All systems
-
curl cmd.cat/lsattr.sh
- Debian
-
apt-get install e2fsprogs - Ubuntu
-
apt-get install e2fsprogs -
Alpine
-
apk add e2fsprogs - Arch Linux
-
pacman -S e2fsprogs - Kali Linux
-
apt-get install e2fsprogs - CentOS
-
yum install e2fsprogs - Fedora
-
dnf install e2fsprogs - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install e2fsprogs - OS X
-
brew install e2fsprogs - Raspbian
-
apt-get install e2fsprogs - Docker
-
docker run cmd.cat/lsattr lsattrpowered by Commando
List file attributes on a Linux filesystem. More information: <https://manned.org/lsattr>.
-
Display the attributes of the files in the current directory:
lsattr -
List the attributes of files in a particular path:
lsattr path -
List file attributes recursively in the current and subsequent directories:
lsattr -R -
Show attributes of all the files in the current directory, including hidden ones:
lsattr -a -
Display attributes of directories in the current directory:
lsattr -d
© tl;dr; authors and contributors