chcon
Verified for current stable LTS
Chcon Commands
Chcon command syntax with verified terminal examples.
Commands
7 commands for Chcon
chcon Search
Chcon Command: Change Full Selinux Security Context Linux
chcon <user>:<role>:<type>:<range/level> <filename> chcon Search
Chcon Command: Change Range Level Selinux Security Context Linux
chcon -l <range/level> <filename> chcon Search
Chcon Command: Change Role Selinux Security Context Linux
chcon -r <role> <filename> chcon HTTP
Chcon Command: Change Security Context Reference File Linux
chcon --reference <reference_file> <target_file> chcon Search
Chcon Command: Change Type Selinux Security Context Linux
chcon -t <type> <filename> chcon Search
Chcon Command: Change User Selinux Security Context Linux
chcon -u <user> <filename> chcon Search
Chcon Command: View Security Context File Linux
ls -lZ <path/to/file> Suggest a Chcon Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Chcon workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.