mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 09:47:22 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/linux/apparmor_status
Normal file
12
tldr/linux/apparmor_status
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# apparmor_status
|
||||
|
||||
> This command is an alias of `aa-status`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr aa-status`
|
||||
@@ -33,3 +33,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Find out which package owns a file:
|
||||
|
||||
`dpkg -S {{path/to/file}}`
|
||||
|
||||
- Purge an installed or already removed package, including configuration:
|
||||
|
||||
`dpkg -P {{package}}`
|
||||
|
||||
@@ -8,6 +8,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Display and modify authentication failure record files.
|
||||
> More information: <https://manned.org/faillock>.
|
||||
|
||||
- List login failures of the current user:
|
||||
|
||||
`faillock`
|
||||
|
||||
- Reset the failure records of the current user:
|
||||
|
||||
`faillock --reset`
|
||||
|
||||
- List login failures of all users:
|
||||
|
||||
`sudo faillock`
|
||||
|
||||
@@ -34,7 +34,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display information about a package:
|
||||
|
||||
`pacstall --query-info {{package}}`
|
||||
`pacstall --cache-info {{package}}`
|
||||
|
||||
- List all installed packages:
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# netstat
|
||||
|
||||
> Display network-related information such as open connections, open socket ports, etc.
|
||||
> See also: `ss`.
|
||||
> More information: <https://manned.org/netstat>.
|
||||
|
||||
- List all ports:
|
||||
|
||||
@@ -13,6 +13,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`time {{command}}`
|
||||
|
||||
- Create a very simple stopwatch (only works in bash):
|
||||
- Create a very simple stopwatch (only works in Bash):
|
||||
|
||||
`time read`
|
||||
|
||||
21
tldr/zapier-analytics
Normal file
21
tldr/zapier-analytics
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# zapier analytics
|
||||
|
||||
> Show the status of the analytics that are collected. It is also used to change what is collected.
|
||||
> More information: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#analytics>.
|
||||
|
||||
- Show the status of collected analytics:
|
||||
|
||||
`zapier analytics`
|
||||
|
||||
- Change how much information is collected:
|
||||
|
||||
`zapier analytics {{-m|--mode}} {{enabled|anonymous|disabled}}`
|
||||
|
||||
- Show extra debugging output:
|
||||
|
||||
`zapier analytics {{-m|--mode}} {{enabled|anonymous|disabled}} {{-d|--debug}}`
|
||||
21
tldr/zapier-build
Normal file
21
tldr/zapier-build
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# zapier build
|
||||
|
||||
> Build a pushable `zip` of a Zapier integration.
|
||||
> More information: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#build>.
|
||||
|
||||
- Create a build:
|
||||
|
||||
`zapier build`
|
||||
|
||||
- Disable smart file inclusion (will only include files required by `index.js`):
|
||||
|
||||
`zapier build --disable-dependency-detection`
|
||||
|
||||
- Show extra debugging output:
|
||||
|
||||
`zapier build {{-d|--debug}}`
|
||||
29
tldr/zapier-scaffold
Normal file
29
tldr/zapier-scaffold
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# zapier scaffold
|
||||
|
||||
> Add a starting trigger, create, search, or resource to an integration.
|
||||
> More information: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#scaffold>.
|
||||
|
||||
- Scaffold a new trigger, create, search, or resource:
|
||||
|
||||
`zapier scaffold {{trigger|search|create|resource}} {{noun}}`
|
||||
|
||||
- Specify a custom destination directory for the scaffolded files:
|
||||
|
||||
`zapier scaffold {{trigger|search|create|resource}} {{noun}} {{-d|--dest}}={{path/to/directory}}`
|
||||
|
||||
- Overwrite existing files when scaffolding:
|
||||
|
||||
`zapier scaffold {{trigger|search|create|resource}} {{noun}} {{-f|--force}}`
|
||||
|
||||
- Exclude comments from the scaffolded files:
|
||||
|
||||
`zapier scaffold {{trigger|search|create|resource}} {{noun}} --no-help`
|
||||
|
||||
- Show extra debugging output:
|
||||
|
||||
`zapier scaffold {{-d|--debug}}`
|
||||
Reference in New Issue
Block a user