mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 23:50:03 +00:00
Update cheatsheets
This commit is contained in:
29
linux/lsattr
Normal file
29
linux/lsattr
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user