cmdxray / commands / getfacl

What does getfacl do?

display the Access Control Lists (ACLs) of files and directories.

▸ Explain your own getfacl command →

getfacl examples, explained

$ getfacl file.txt

  • getfacldisplay the Access Control Lists (ACLs) of files and directories
  • file.txtan argument passed to the command

$ getfacl -R /srv/www

  • getfacldisplay the Access Control Lists (ACLs) of files and directories
  • -Rrecurse into subdirectories
  • /srv/wwwan argument passed to the command

getfacl flags & options

-Rrecurse into subdirectories
-adisplay only the file access control list
-ddisplay only the default access control list
-tuse the tabular output format
-nshow numeric user/group IDs instead of names
--omit-headerdo not print the comment header (file/owner/group)

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.