From 0097d6bbd12ac4ea130a5083c8275fac7ef5498f Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sun, 15 Sep 2024 00:18:20 +0000 Subject: [PATCH] Update cheatsheets --- tldr/docker-compose | 2 +- tldr/docker-container-diff | 2 +- tldr/docker-diff | 2 +- tldr/linux/mkfs.xfs | 17 +++++++++++++++++ tldr/pulumi-destroy | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 tldr/linux/mkfs.xfs create mode 100644 tldr/pulumi-destroy diff --git a/tldr/docker-compose b/tldr/docker-compose index b4eddaf9..b98eaa3a 100644 --- a/tldr/docker-compose +++ b/tldr/docker-compose @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # docker compose > Run and manage multi container Docker applications. -> More information: . +> More information: . - List all running containers: diff --git a/tldr/docker-container-diff b/tldr/docker-container-diff index 552807ee..d314bdc0 100644 --- a/tldr/docker-container-diff +++ b/tldr/docker-container-diff @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # docker container diff > This command is an alias of `docker diff`. -> More information: . +> More information: . - View documentation for the original command: diff --git a/tldr/docker-diff b/tldr/docker-diff index 456f601d..8d677ddc 100644 --- a/tldr/docker-diff +++ b/tldr/docker-diff @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # docker diff > Inspect changes to files or directories on a container's filesystem. -> More information: . +> More information: . - Inspect the changes to a container since it was created: diff --git a/tldr/linux/mkfs.xfs b/tldr/linux/mkfs.xfs new file mode 100644 index 00000000..847e1568 --- /dev/null +++ b/tldr/linux/mkfs.xfs @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# mkfs.xfs + +> Create an XFS filesystem inside a partition. +> More information: . + +- Create an XFS filesystem inside partition 1 on a device (`X`): + +`sudo mkfs.xfs {{/dev/sdX1}}` + +- Create an XFS filesystem with a volume label: + +`sudo mkfs.xfs -L {{volume_label}} {{/dev/sdX1}}` diff --git a/tldr/pulumi-destroy b/tldr/pulumi-destroy new file mode 100644 index 00000000..2e012536 --- /dev/null +++ b/tldr/pulumi-destroy @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# pulumi destroy + +> Destroy all existing resources in a stack. +> More information: . + +- Destroy all resources in the current stack: + +`pulumi destroy` + +- Destroy all resources in a specific stack: + +`pulumi destroy --stack {{stack}}` + +- Automatically approve and destroy resources after previewing: + +`pulumi destroy --yes` + +- Exclude protected resources from being destroyed: + +`pulumi destroy --exclude-protected` + +- Remove the stack and its configuration file after all resources in the stack are deleted: + +`pulumi destroy --remove` + +- Continue destroying the resources, even if an error is encountered: + +`pulumi destroy --continue-on-error`