From ba1f2097ae685fc07026bcf7b3fed5a8b0d392ea Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 17 May 2025 00:19:33 +0000 Subject: [PATCH] Update cheatsheets --- tldr/linux/btrfs-filesystem | 4 ++++ tldr/linux/efibootmgr | 2 +- tldr/pulumi-update | 12 ++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 tldr/pulumi-update diff --git a/tldr/linux/btrfs-filesystem b/tldr/linux/btrfs-filesystem index e5218340..59d8fceb 100644 --- a/tldr/linux/btrfs-filesystem +++ b/tldr/linux/btrfs-filesystem @@ -31,3 +31,7 @@ source: https://github.com/tldr-pages/tldr.git - Summarize disk usage for the files in a directory recursively: `sudo btrfs filesystem du {{[-s|--summarize]}} {{path/to/directory}}` + +- Create a swap file: + +`sudo btrfs filesystem mkswapfile --size {{8g}} --uuid {{clear|random|time|UUID_value}} {{path/to/swapfile}}` diff --git a/tldr/linux/efibootmgr b/tldr/linux/efibootmgr index 0464d2eb..0612a460 100644 --- a/tldr/linux/efibootmgr +++ b/tldr/linux/efibootmgr @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Change the current boot order: -`sudo efibootmgr {{[-o|--bootorder]}} {{0002,0008,0001,0005}}` +`sudo efibootmgr {{[-o|--bootorder]}} {{0002,0008,0001,001A,...}}` - Delete a boot option: diff --git a/tldr/pulumi-update b/tldr/pulumi-update new file mode 100644 index 00000000..8db52582 --- /dev/null +++ b/tldr/pulumi-update @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# pulumi update + +> This command is an alias of `pulumi up`. + +- View documentation for the original command: + +`tldr pulumi up`