{
    "content": [
        {
            "type": "text",
            "text": "# lsattr(1) (man)\n\n## TLDR\n\n> List file attributes on a Linux filesystem.\n\n- Display the attributes of the files in the current directory:\n  `lsattr`\n- List the attributes of files in a particular path:\n  `lsattr {{path}}`\n- List file attributes recursively in the current and subsequent directories:\n  `lsattr -R`\n- Show attributes of all the files in the current directory, including hidden ones:\n  `lsattr -a`\n- Display attributes of directories in the current directory:\n  `lsattr -d`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** lsattr - list file attributes on a Linux second extended file system\n\n**Synopsis:** lsattr [ -RVadlpv ] [ files...  ]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -R | — | — |  |\n| -V | — | — |  |\n| -a | — | — |  |\n| -d | — | — |  |\n| -l | — | — |  |\n| -p | — | — |  |\n| -v | — | — |  |\n\n## See Also\n\n- chattr(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (3 lines)\n- **OPTIONS** (1 lines) — 7 subsections\n  - -R (1 lines)\n  - -V (1 lines)\n  - -a (1 lines)\n  - -d (1 lines)\n  - -l (1 lines)\n  - -p (1 lines)\n  - -v (1 lines)\n- **AUTHOR** (3 lines)\n- **BUGS** (2 lines)\n- **AVAILABILITY** (3 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nlsattr - list file attributes on a Linux second extended file system\n\n### SYNOPSIS\n\nlsattr [ -RVadlpv ] [ files...  ]\n\n### DESCRIPTION\n\nlsattr  lists  the file attributes on a second extended file system.  See chattr(1) for a de‐\nscription of the attributes and what they mean.\n\n### OPTIONS\n\n#### -R\n\n#### -V\n\n#### -a\n\n#### -d\n\n#### -l\n\n#### -p\n\n#### -v\n\n### AUTHOR\n\nlsattr was written by Remy Card <Remy.Card@linux.org>.  It is currently being  maintained  by\nTheodore Ts'o <tytso@alum.mit.edu>.\n\n### BUGS\n\nThere are none :-).\n\n### AVAILABILITY\n\nlsattr  is  part  of  the  e2fsprogs  package  and is available from http://e2fsprogs.source‐\nforge.net.\n\n### SEE ALSO\n\nchattr(1)\n\n\n\nE2fsprogs version 1.46.5                    December 2021                                  LSATTR(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "lsattr",
        "section": "1",
        "mode": "man",
        "summary": "lsattr - list file attributes on a Linux second extended file system",
        "synopsis": "lsattr [ -RVadlpv ] [ files...  ]",
        "tldr_summary": "List file attributes on a Linux filesystem.",
        "tldr_examples": [
            {
                "description": "Display the attributes of the files in the current directory",
                "command": "lsattr"
            },
            {
                "description": "List the attributes of files in a particular path",
                "command": "lsattr {{path}}"
            },
            {
                "description": "List file attributes recursively in the current and subsequent directories",
                "command": "lsattr -R"
            },
            {
                "description": "Show attributes of all the files in the current directory, including hidden ones",
                "command": "lsattr -a"
            },
            {
                "description": "Display attributes of directories in the current directory",
                "command": "lsattr -d"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-R",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-V",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-a",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-p",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "chattr",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/chattr/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-R",
                        "lines": 1,
                        "flag": "-R"
                    },
                    {
                        "name": "-V",
                        "lines": 1,
                        "flag": "-V"
                    },
                    {
                        "name": "-a",
                        "lines": 1,
                        "flag": "-a"
                    },
                    {
                        "name": "-d",
                        "lines": 1,
                        "flag": "-d"
                    },
                    {
                        "name": "-l",
                        "lines": 1,
                        "flag": "-l"
                    },
                    {
                        "name": "-p",
                        "lines": 1,
                        "flag": "-p"
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}