{"tool":"semanage","tool_display":"Semanage","intent":"delete-user-defined-file-labeling-rule-linux","intent_display":"delete user defined file labeling rule linux","title":"Semanage Command: delete user defined file labeling rule linux","command_string":"sudo semanage fcontext -d '</mnt/share(/.*)?>'","raw_command_string":"sudo semanage fcontext {{[-d|--delete]}} '{{/mnt/share(/.*)?}}'","description":"Exact CLI syntax to delete user defined file labeling rule linux using Semanage.","usage_scenario":"This command is used to remove specific SELinux file labeling rules.","scenario_context":"This command is used to remove specific SELinux file labeling rules.","simulated_output":"Removing context for '/mnt/share':\n\nContext removed successfully.","how_to_steps":["Run the command with sudo privileges.","Specify the -d or --delete option to remove the rule.","Provide the path pattern for the file context to delete."],"canonical_url":"https://www.syntaxstandard.com/semanage/delete-user-defined-file-labeling-rule-linux"}