semanage-fcontext
Verified for current stable LTS
Semanage Fcontext Command: List User Defined File Labeling Rules No Headings Linux
Use for list user defined file labeling rules no headings linux with Semanage Fcontext. Exact CLI syntax to list user defined file labeling rules no headings linux using Semanage Fcontext.
When to use this: Use for list user defined file labeling rules no headings linux with Semanage Fcontext.
Command Syntax
sudo semanage fcontext -lCn sudo semanage fcontext -lCn Live Command Builder
Final Command
sudo semanage fcontext -lCn Command Breakdown
-lCn- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to list user defined file labeling rules no headings linux using Semanage Fcontext.
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
Semanage Fcontext Command: Add Labeling Equivalence Between Subpaths Linux
sudo semanage fcontext -a -e /<path/to/ref> /<path/to/target> Semanage Fcontext Command: Add User Defined File Labeling Rule Linux sudo semanage fcontext -a -t <samba_share_t> '</mnt/share(/.*)?>' Semanage Fcontext Command: Delete User Defined File Labeling Rule Linux sudo semanage fcontext -d '</mnt/share(/.*)?>' Semanage Fcontext Command: List File Labeling Rules Linux sudo semanage fcontext -l Semanage Fcontext Command: Relabel Directory Recursively Linux restorecon -Rv <path/to/directory>