tldr/pages/linux/lsattr.md

25 lines
519 B
Markdown
Raw Normal View History

2016-01-14 09:14:08 +00:00
# lsattr
> List file attributes on a Linux filesystem.
> More information: <https://manned.org/lsattr>.
2016-01-14 09:14:08 +00: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`
- Show attributes of all the files in the current directory, including hidden ones:
2016-01-14 09:14:08 +00:00
`lsattr -a`
- Display attributes of directories in the current directory:
2016-01-14 09:14:08 +00:00
`lsattr -d`