mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
41
tldr/aws-acm
Normal file
41
tldr/aws-acm
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# aws acm
|
||||
|
||||
> AWS Certificate Manager.
|
||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/acm/index.html>.
|
||||
|
||||
- Import a certificate:
|
||||
|
||||
`aws acm import-certificate --certificate-arn {{certificate_arn}} --certificate {{certificate}} --private-key {{private_key}} --certificate-chain {{certificate_chain}}`
|
||||
|
||||
- List certificates:
|
||||
|
||||
`aws acm list-certificates`
|
||||
|
||||
- Describe a certificate:
|
||||
|
||||
`aws acm describe-certificate --certificate-arn {{certificate_arn}}`
|
||||
|
||||
- Request a certificate:
|
||||
|
||||
`aws acm request-certificate --domain-name {{domain_name}} --validation-method {{validation_method}}`
|
||||
|
||||
- Delete a certificate:
|
||||
|
||||
`aws acm delete-certificate --certificate-arn {{certificate_arn}}`
|
||||
|
||||
- List certificate validations:
|
||||
|
||||
`aws acm list-certificates --certificate-statuses {{status}}`
|
||||
|
||||
- Get certificate details:
|
||||
|
||||
`aws acm get-certificate --certificate-arn {{certificate_arn}}`
|
||||
|
||||
- Update certificate options:
|
||||
|
||||
`aws acm update-certificate-options --certificate-arn {{certificate_arn}} --options {{options}}`
|
||||
@@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# aws kendra
|
||||
|
||||
> CLI for AWS Kendra.
|
||||
> More information: <https://docs.aws.amazon.com/cli/latest/reference/kendra/index.html>.
|
||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kendra/index.html>.
|
||||
|
||||
- Create an index:
|
||||
|
||||
`aws kendra create-index --name {{name}} --role-arn {{role-arn}}`
|
||||
`aws kendra create-index --name {{name}} --role-arn {{role_arn}}`
|
||||
|
||||
- List indexes:
|
||||
|
||||
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Describe an index:
|
||||
|
||||
`aws kendra describe-index --id {{index-id}}`
|
||||
`aws kendra describe-index --id {{index_id}}`
|
||||
|
||||
- List data sources:
|
||||
|
||||
@@ -26,8 +26,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Describe a data source:
|
||||
|
||||
`aws kendra describe-data-source --id {{data-source-id}}`
|
||||
`aws kendra describe-data-source --id {{data_source_id}}`
|
||||
|
||||
- List search queries:
|
||||
|
||||
`aws kendra list-query-suggestions --index-id {{index-id}} --query-text {{query-text}}`
|
||||
`aws kendra list-query-suggestions --index-id {{index_id}} --query-text {{query_text}}`
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show all messages by a specific [u]nit:
|
||||
|
||||
`journalctl -u {{unit}}`
|
||||
`journalctl --unit {{unit}}`
|
||||
|
||||
- Show logs for a given unit since the last time it started:
|
||||
|
||||
|
||||
25
tldr/linux/mkfs.erofs
Normal file
25
tldr/linux/mkfs.erofs
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mkfs.erofs
|
||||
|
||||
> Create an EROFS filesystem in an image.
|
||||
> More information: <https://erofs.docs.kernel.org/en/latest/>.
|
||||
|
||||
- Create an EROFS filesystem based on the root directory:
|
||||
|
||||
`mkfs.erofs image.erofs root/`
|
||||
|
||||
- Create an EROFS image with a specific UUID:
|
||||
|
||||
`mkfs.erofs -U {{UUID}} image.erofs root/`
|
||||
|
||||
- Create a compressed EROFS image:
|
||||
|
||||
`mkfs.erofs -zlz4hc image.erofs root/`
|
||||
|
||||
- Create an EROFS image where all files are owned by root:
|
||||
|
||||
`mkfs.erofs --all-root image.erofs root/`
|
||||
@@ -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: `lsof` for listing network connections, including listening ports.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/netstat.1.html>.
|
||||
|
||||
- Display the PID and program name listening on a specific protocol:
|
||||
|
||||
Reference in New Issue
Block a user