1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 21:17:56 +01:00
tldr/pages/linux/lsattr.md
2016-01-14 16:06:36 +02:00

438 B

lsattr

List file attributes on a Linux file system.

  • 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 directory, including hidden ones:

lsattr -a

  • Display attributes of directories:

lsattr -d