diff --git a/tldr/aws-acm b/tldr/aws-acm new file mode 100644 index 00000000..51909e44 --- /dev/null +++ b/tldr/aws-acm @@ -0,0 +1,41 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# aws acm + +> AWS Certificate Manager. +> More information: . + +- 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}}` diff --git a/tldr/aws-kendra b/tldr/aws-kendra index 2b5e5233..2dd780b9 100644 --- a/tldr/aws-kendra +++ b/tldr/aws-kendra @@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git # aws kendra > CLI for AWS Kendra. -> More information: . +> More information: . - 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}}` diff --git a/tldr/linux/journalctl b/tldr/linux/journalctl index 1a81f0ed..57fefece 100644 --- a/tldr/linux/journalctl +++ b/tldr/linux/journalctl @@ -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: diff --git a/tldr/linux/mkfs.erofs b/tldr/linux/mkfs.erofs new file mode 100644 index 00000000..c4cc4dfd --- /dev/null +++ b/tldr/linux/mkfs.erofs @@ -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: . + +- 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/` diff --git a/tldr/osx/netstat b/tldr/osx/netstat index 07d71f32..2b05818e 100644 --- a/tldr/osx/netstat +++ b/tldr/osx/netstat @@ -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: . - Display the PID and program name listening on a specific protocol: