HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

aa-remove-unknown — Remove AppArmor profiles that are no longer present in the configuration directory. More information

Submitted by: @import:tldr-pages··
0
Viewed 0 times
profilesapparmorcommandremovearecliaa-remove-unknownthat
linux

Problem

How to use the aa-remove-unknown command: Remove AppArmor profiles that are no longer present in the configuration directory. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-remove-unknown.8>.

Solution

aa-remove-unknown — Remove AppArmor profiles that are no longer present in the configuration directory. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-remove-unknown.8>.

Perform a dry run to see which profiles would be removed:
sudo aa-remove-unknown -n


Actually remove the profiles:
sudo aa-remove-unknown


Display help:
aa-remove-unknown {{[-h|--help]}}

Code Snippets

Perform a dry run to see which profiles would be removed

sudo aa-remove-unknown -n

Actually remove the profiles

sudo aa-remove-unknown

Display help

aa-remove-unknown {{[-h|--help]}}

Context

tldr-pages: linux/aa-remove-unknown

Revisions (0)

No revisions yet.