1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages/linux/lsattr.md
2021-08-16 12:34:01 +02:00

519 B

lsattr

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