mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 17:48:14 +00:00
Update cheatsheets
This commit is contained in:
30
tldr/linux/aa-update-browser
Normal file
30
tldr/linux/aa-update-browser
Normal 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
29
tldr/linux/crond
Normal 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`
|
||||
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user