# matchpathcon > 查找路径的持久 SELinux 安全上下文设置。 > 另见: `semanage-fcontext`、`secon`、`chcon`、`restorecon`。 > 更多信息: 。 - 查找绝对路径的持久安全上下文设置: `matchpathcon {{/path/to/file}}` - 限制查找特定文件类型的设置: `matchpathcon -m {{file|dir|pipe|chr_file|blk_file|lnk_file|sock_file}} {{/path/to/file}}` - [V]erify 验证路径的持久安全上下文和当前安全上下文是否一致: `matchpathcon -V {{/path/to/file}}`