Linux runcon Command

In this tutorial we learn how to use runcon commmand in Linux. runcon command is runcon - run command with specified security context

What is Linux runcon Command?

In this tutorial we learn how to use runcon command in Linux. runcon command is runcon - run command with specified security context

runcon Syntax

       runcon CONTEXT COMMAND [args]
       runcon [ -c ] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]

runcon Examples

runcon Command Manual / Help

We can use man and info command to see the manual page of runcon command.

runcon command also have --help option to show list of options.

To open man page for runcon command we can use command below. To exit man or info page you can press q.

man runcon

To open info page for runcon command we can use command below.

info runcon

To open help page from runcon command we can run command below.

runcon --help

Linux runcon Command Source Code

You can find runcon command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use runcon in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.