matchpathcon
Verified for current stable LTS
Matchpathcon Command: Restrict Lookup File Type
Use for restrict lookup file type with Matchpathcon. Exact CLI syntax to restrict lookup file type using Matchpathcon.
When to use this: Use for restrict lookup file type with Matchpathcon.
Command Syntax
matchpathcon -m <file|dir|pipe|chr_file|blk_file|lnk_file|sock_file> /<path/to/file> matchpathcon -m <file|dir|pipe|chr_file|blk_file|lnk_file|sock_file> /<path/to/file> Live Command Builder
Final Command
matchpathcon -m <file|dir|pipe|chr_file|blk_file|lnk_file|sock_file> /<path/to/file> Command Breakdown
-m- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to restrict lookup file type using Matchpathcon.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Matchpathcon Command: Lookup Persistent Selinux Context
matchpathcon /<path/to/file> Matchpathcon Command: Verify Persistent Current Context Agreement matchpathcon -V /<path/to/file> Grep Command: Search For A Pattern In All Files Recursively grep -rI "<search_pattern>" <path/to/directory> 7zr Command: Encrypt An Existing Archive 7zr a <path/to/encrypted.7z> -p<password> -mhe=<on> <path/to/archive.7z> Cpio Command: Extract Files From Archive Cpio Verbose cpio < <archive.cpio> -idv