Show extended file attributes

List non-default extended attrs in /etc/

lsattr -R /etc/ 2>/dev/null | grep -v '^\-\-\-\-'

tool
linux133 commands
tags
linuxfilesystem

More linux commands

  • getfacl /srv/shared

    Show POSIX ACL entries including owner, group, and extra users

  • setfacl -m u:alice:rwx /srv/shared

    Grant alice full access without changing group ownership

  • find / -perm /6000 -type f -ls 2>/dev/null

    Locate setuid/setgid executables (security audit)

  • pgrep -la nginx

    List PIDs and full command lines matching a name

  • kill -TERM -$(pgrep -f 'my-app')

    Send SIGTERM to the entire process group

all 133 linux commands