mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
b8ce74b8fe
per my comments in #502
24 lines
471 B
Markdown
24 lines
471 B
Markdown
# 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 current directory, including hidden ones:
|
|
|
|
`lsattr -a`
|
|
|
|
- Display attributes of directories in the current directory:
|
|
|
|
`lsattr -d`
|