2016-01-14 11:14:08 +02:00
|
|
|
# lsattr
|
|
|
|
|
2020-10-03 16:38:06 +02:00
|
|
|
> List file attributes on a Linux filesystem.
|
2021-08-16 07:34:01 -03:00
|
|
|
> More information: <https://manned.org/lsattr>.
|
2016-01-14 11:14:08 +02:00
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
2016-01-27 23:14:33 +00:00
|
|
|
- Show attributes of all the files in the current directory, including hidden ones:
|
2016-01-14 11:14:08 +02:00
|
|
|
|
|
|
|
`lsattr -a`
|
|
|
|
|
2016-01-27 23:14:33 +00:00
|
|
|
- Display attributes of directories in the current directory:
|
2016-01-14 11:14:08 +02:00
|
|
|
|
|
|
|
`lsattr -d`
|