正解:C
The getfattr command is used to display the extended attributes of a file, such as user-defined metadata or security-related attributes stored outside the standard inode fields. lsattr, in contrast, displays file attributes specific to certain filesystems (such as ext2/3/4), like the immutable or append-only flags. getfacl is used to display POSIX Access Control Lists, not extended attributes.
stat displays general file status information, such as size, permissions, and timestamps, but not extended attributes.