semanage-fcontext Verified for current stable LTS

Semanage Fcontext Command: Delete User Defined File Labeling Rule Linux

Use for delete user defined file labeling rule linux with Semanage Fcontext. Exact CLI syntax to delete user defined file labeling rule linux using Semanage Fcontext.

When to use this: Use for delete user defined file labeling rule linux with Semanage Fcontext.
Destructive Command Warning

Destructive operation. Confirm the target path and keep a backup before executing.

Command Syntax

sudo semanage fcontext -d '</mnt/share(/.*)?>'

Live Command Builder

Final Command

sudo semanage fcontext -d '</mnt/share(/.*)?>'

Command Breakdown

-d
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to delete user defined file labeling rule 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

Back to Semanage Fcontext directory