Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-20 00:20:24 +00:00
parent a746c9d8f6
commit 53cdffdca8
17 changed files with 373 additions and 22 deletions

View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# aa-update-browser
> Update AppArmor browser profiles to use supported abstractions.
> Part of the AppArmor suite.
> More information: <https://manned.org/aa-update-browser>.
- List available browser abstraction profiles:
`sudo aa-update-browser -l`
- Show what changes would be made to a profile without applying them ([d]ry-run):
`sudo aa-update-browser -d {{path/to/profile}}`
- Update a profile with specific abstractions:
`sudo aa-update-browser -u {{abstraction1,abstraction2,...}} {{path/to/profile}}`
- Remove all abstractions from a profile:
`sudo aa-update-browser -u '' {{path/to/profile}}`
- Display help:
`aa-update-browser -h`

29
tldr/linux/crond Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# crond
> Daemon to execute scheduled commands from crontab files.
> More information: <https://manned.org/crond>.
- Start daemon in the background and check for scheduled commands:
`crond`
- Start daemon in the foreground and check for scheduled commands:
`crond -n`
- Send job output from the daemon to the system log:
`crond -s`
- Override default limitations and accept custom crontables:
`crond -p`
- Inherit crontab file path from environment settings:
`crond -P`

View File

@@ -31,12 +31,12 @@ source: https://github.com/tldr-pages/tldr.git
- Make an interface up/down:
`sudo ip {{[l|link]}} {{[s|set]}} {{interface}} {{up|down}}`
`sudo ip {{[l|link]}} {{[s|set]}} {{interface_name}} {{up|down}}`
- Add/Delete an IP address to an interface:
`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interface}}`
`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interface_name}}`
- Add a default route:
`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interface}}`
`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interface_name}}`