semanage Verified current stable Not installed?

Semanage / List Interface Type Definitions

List Interface Type Definitions

Use 'sudo semanage interface --list' to display all defined interface type definitions in SELinux.

$
Terminal
sudo semanage interface -l

When To Use

Use this command to view SELinux interface type definitions for network interfaces.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
sudo semanage interface -l

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Interface Type Definitions:
  - eth0_t
  - wlan0_t
  - ppp0_t
  - virbr0_t

Command Breakdown

What each part is doing

sudo
Base Command
The executable that performs this operation. Here it runs Semanage before the shell applies any redirect operators.
-l
l| list
The value supplied for l| list.
-l
Command Option
Tool-specific option used by this command invocation.

How To Run

Execution path

  1. Step 1

    Open a terminal.

  2. Step 2

    Run 'sudo semanage interface --list'.

  3. Step 3

    Review the displayed interface type definitions.

Alternative Approaches

Comparable commands in other tools

Alternative tools that share the "inspect" operation intent.