From 9c36a48bd35d11903fcd0983336aaa1371089895 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Thu, 7 Aug 2025 00:22:23 +0000 Subject: [PATCH] Update cheatsheets --- tldr/devenv | 6 +++--- tldr/gt | 2 +- tldr/linux/aur | 4 ++++ tldr/linux/efivar | 17 +++++++++++++++++ tldr/linux/findmnt | 2 +- tldr/linux/grub-install | 18 +++++++++++++++--- tldr/linux/kpartx | 4 ++-- tldr/linux/loginctl | 2 +- tldr/linux/pacman-key | 2 +- tldr/linux/pct | 4 ++-- tldr/linux/pct-clone | 13 +++++++++++++ tldr/linux/pct-create | 29 +++++++++++++++++++++++++++++ tldr/linux/pct-resize | 17 +++++++++++++++++ tldr/linux/pct-status | 17 +++++++++++++++++ tldr/linux/pvesh | 17 +++++++++++++++++ tldr/linux/pvesm | 25 +++++++++++++++++++++++++ tldr/linux/pveum | 21 +++++++++++++++++++++ tldr/linux/qm-agent | 12 ++++++++++++ tldr/linux/qm-cloudinit-dump | 2 +- tldr/linux/qm-disk-import | 2 +- tldr/linux/qm-disk-move | 4 ++-- tldr/linux/qm-disk-rescan | 17 +++++++++++++++++ tldr/linux/qm-disk-resize | 2 +- tldr/linux/qm-guest | 25 +++++++++++++++++++++++++ tldr/linux/qm-guest-cmd | 2 +- tldr/linux/qm-guest-exec-status | 2 +- tldr/linux/qm-guest-passwd | 4 ++-- tldr/linux/qm-importdisk | 12 ++++++++++++ tldr/linux/qm-move-disk | 2 +- tldr/linux/qm-rescan | 11 +++-------- tldr/linux/qm-set | 33 +++++++++++++++++++++++++++++++++ tldr/linux/qm-unlink | 12 ++++++++++++ tldr/linux/rpm-ostree | 6 +++--- tldr/osx/airport | 2 +- tldr/qemu-img | 4 ++-- 35 files changed, 316 insertions(+), 38 deletions(-) create mode 100644 tldr/linux/efivar create mode 100644 tldr/linux/pct-clone create mode 100644 tldr/linux/pct-create create mode 100644 tldr/linux/pct-resize create mode 100644 tldr/linux/pct-status create mode 100644 tldr/linux/pvesh create mode 100644 tldr/linux/pvesm create mode 100644 tldr/linux/pveum create mode 100644 tldr/linux/qm-agent create mode 100644 tldr/linux/qm-disk-rescan create mode 100644 tldr/linux/qm-guest create mode 100644 tldr/linux/qm-importdisk create mode 100644 tldr/linux/qm-set create mode 100644 tldr/linux/qm-unlink diff --git a/tldr/devenv b/tldr/devenv index eb0905a2..6c1ccb0a 100644 --- a/tldr/devenv +++ b/tldr/devenv @@ -6,9 +6,9 @@ source: https://github.com/tldr-pages/tldr.git # devenv > Fast, Declarative, Reproducible and Composable Developer Environments using Nix. -> More information: . +> More information: . -- Initialise the environment: +- Initialize the environment: `devenv init` @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Start processes with `devenv`: -`devenv up --config /{{file}}/{{path}}/` +`devenv up --config {{path/to/file}}` - Clean the environment variables and re-enter the shell in offline mode: diff --git a/tldr/gt b/tldr/gt index b4519d87..9ac85cd4 100644 --- a/tldr/gt +++ b/tldr/gt @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Create and manage sequences of dependent code changes (stacks) for Git and GitHub. > More information: . -- Initialise `gt` for the repository in the current directory: +- Initialize `gt` for the repository in the current directory: `gt init` diff --git a/tldr/linux/aur b/tldr/linux/aur index e28e20cf..d6d77779 100644 --- a/tldr/linux/aur +++ b/tldr/linux/aur @@ -9,6 +9,10 @@ source: https://github.com/tldr-pages/tldr.git > Note: A local repository needs to be defined in `/etc/pacman.conf` and `vifm` needs to be installed for this to fully function. > More information: . +- Initialize the repository that matches the path in `/etc/pacman.conf`: + +`repo-add {{path/to/database.db.tar.gz}}` + - Search the AUR database for a package: `aur search {{keyword}}` diff --git a/tldr/linux/efivar b/tldr/linux/efivar new file mode 100644 index 00000000..f961eef8 --- /dev/null +++ b/tldr/linux/efivar @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# efivar + +> Manage UEFI variables. +> More information: . + +- List all UEFI variables: + +`efivar {{[-l|--list]}}` + +- Print the contents of a variable: + +`efivar {{[-n|--name]}} {{146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0000}} {{[-p|--print]}}` diff --git a/tldr/linux/findmnt b/tldr/linux/findmnt index 3f386d34..1c3b008e 100644 --- a/tldr/linux/findmnt +++ b/tldr/linux/findmnt @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Find filesystems in specific type: -`findmnt {{[-t|--types]}} {{ext4}}` +`findmnt {{[-t|--types]}} {{ext4,virtiofs,btrfs,...}}` - Find filesystems with specific label: diff --git a/tldr/linux/grub-install b/tldr/linux/grub-install index 2640f77a..74bd2ae8 100644 --- a/tldr/linux/grub-install +++ b/tldr/linux/grub-install @@ -10,12 +10,24 @@ source: https://github.com/tldr-pages/tldr.git - Install GRUB on a BIOS system: -`grub-install --target {{i386-pc}} {{path/to/device}}` +`sudo grub-install {{path/to/device}}` + +- Install GRUB on a BIOS system while specifying architecture: + +`sudo grub-install --target {{i386-pc}} {{path/to/device}}` - Install GRUB on an UEFI system: -`grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --bootloader-id {{GRUB}}` +`sudo grub-install --efi-directory {{path/to/efi_directory}}` + +- Install GRUB on an UEFI system while specifying architecture and boot menu text: + +`sudo grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --bootloader-id {{GRUB}}` - Install GRUB pre-loading specific modules: -`grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --modules "{{part_gpt part_msdos}}"` +`sudo grub-install --target {{x86_64-efi}} --efi-directory {{path/to/efi_directory}} --modules "{{part_gpt part_msdos}}"` + +- Display help: + +`grub-install {{[-?|--help]}}` diff --git a/tldr/linux/kpartx b/tldr/linux/kpartx index 27557058..e9f3c135 100644 --- a/tldr/linux/kpartx +++ b/tldr/linux/kpartx @@ -8,9 +8,9 @@ source: https://github.com/tldr-pages/tldr.git > Create device maps from partition tables. > More information: . -- Add partition mappings: +- Add partition mappings and print created mappings: -`kpartx -a {{whole_disk.img}}` +`kpartx -av {{whole_disk.img}}` - Delete partition mappings: diff --git a/tldr/linux/loginctl b/tldr/linux/loginctl index 4e5e052c..a11fc5ac 100644 --- a/tldr/linux/loginctl +++ b/tldr/linux/loginctl @@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git - Print all current sessions: -`loginctl list-sessions` +`loginctl` - Print all properties of a specific session: diff --git a/tldr/linux/pacman-key b/tldr/linux/pacman-key index fc13ff72..49bf3f7e 100644 --- a/tldr/linux/pacman-key +++ b/tldr/linux/pacman-key @@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git - Add the default Arch Linux keys: -`sudo pacman-key --populate {{archlinux}}` +`sudo pacman-key --populate` - List keys from the public keyring: diff --git a/tldr/linux/pct b/tldr/linux/pct index 5fc7c268..62fc4e26 100644 --- a/tldr/linux/pct +++ b/tldr/linux/pct @@ -20,9 +20,9 @@ source: https://github.com/tldr-pages/tldr.git `pct {{[en|enter]}} {{100}}` -- Create a container from template: +- Create a container from template with 4GB size: -`pct {{[cr|create]}} {{100}} {{/var/lib/vz/template/cache/distro-name.tar.zst}} -hostname {{hostname}} -password {{password}} --rootfs {{local-lvm}} --on-boot` +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:4` - Resize the container's disk to 20G: diff --git a/tldr/linux/pct-clone b/tldr/linux/pct-clone new file mode 100644 index 00000000..d09a3a89 --- /dev/null +++ b/tldr/linux/pct-clone @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pct clone + +> Clone a container. +> More information: . + +- Clone a container with a custom name: + +`pct clone {{template_id}} {{copy_id}} --hostname {{host_name}}` diff --git a/tldr/linux/pct-create b/tldr/linux/pct-create new file mode 100644 index 00000000..f36d8f67 --- /dev/null +++ b/tldr/linux/pct-create @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pct create + +> Create LXC containers in Proxmox. +> More information: . + +- Create a container from a template with 4GB size, give it 512MiB of memory and unlimited access to CPU: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:4` + +- Create a container from a template and give it a specific memory limit in megabytes: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:{{4}} --memory {{8192}}` + +- Create a container from a template and give it a hostname and a password: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:{{4}} --hostname {{hostname}} --password {{password}}` + +- Create a container from a template and give it network access: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:{{4}} --net0 name={{eth0}},bridge={{vmbr0}},ip={{dhcp|manual|10.0.0.1/24}} --features nesting=1` + +- Start a container immediately after creation: + +`pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:{{4}} --start` diff --git a/tldr/linux/pct-resize b/tldr/linux/pct-resize new file mode 100644 index 00000000..5346f08c --- /dev/null +++ b/tldr/linux/pct-resize @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pct resize + +> Resize container storage. +> More information: . + +- Resize the container size to 20GB: + +`pct {{[resi|resize]}} {{100}} rootfs 20G` + +- Add 10GB to the container storage: + +`pct {{[resi|resize]}} {{100}} rootfs +10G` diff --git a/tldr/linux/pct-status b/tldr/linux/pct-status new file mode 100644 index 00000000..bd2b38bf --- /dev/null +++ b/tldr/linux/pct-status @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pct status + +> Display the status of a container. +> More information: . + +- Display if the container is running: + +`pct status {{100}}` + +- Display detailed container information: + +`pct status {{100}} --verbose` diff --git a/tldr/linux/pvesh b/tldr/linux/pvesh new file mode 100644 index 00000000..4bf2ccee --- /dev/null +++ b/tldr/linux/pvesh @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pvesh + +> Interface with the Proxmox VE API. +> More information: . + +- List available nodes: + +`pvesh get /nodes` + +- Discover API paths: + +`pvesh ls {{/}}` diff --git a/tldr/linux/pvesm b/tldr/linux/pvesm new file mode 100644 index 00000000..8df4c19c --- /dev/null +++ b/tldr/linux/pvesm @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pvesm + +> Manage Proxmox storage. +> More information: . + +- Get status for all datastores: + +`pvesm status` + +- List storage contents: + +`pvesm list {{storage_name}}` + +- Add a directory storage: + +`pvesm add dir {{storage_name}} --path {{path/to/directory}}` + +- Remove a storage: + +`pvesm remove {{storage_name}}` diff --git a/tldr/linux/pveum b/tldr/linux/pveum new file mode 100644 index 00000000..e5803369 --- /dev/null +++ b/tldr/linux/pveum @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pveum + +> Manage proxmox users. +> More information: . + +- List users: + +`pveum user list` + +- Add a user: + +`pveum user add {{username}}@pve` + +- Delete a user: + +`pveum user delete {{username}}@pve` diff --git a/tldr/linux/qm-agent b/tldr/linux/qm-agent new file mode 100644 index 00000000..7a0a422a --- /dev/null +++ b/tldr/linux/qm-agent @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# qm agent + +> This command is an alias of `qm guest cmd`. + +- View documentation for the original command: + +`tldr qm guest cmd` diff --git a/tldr/linux/qm-cloudinit-dump b/tldr/linux/qm-cloudinit-dump index 36fab548..457fd2b0 100644 --- a/tldr/linux/qm-cloudinit-dump +++ b/tldr/linux/qm-cloudinit-dump @@ -10,4 +10,4 @@ source: https://github.com/tldr-pages/tldr.git - Generate a cloudinit file for a specific configuration type: -`qm {{[clou|cloudinit]}} dump {{virtual_machine_id}} {{meta|network|user}}` +`qm {{[clou|cloudinit]}} {{[d|dump]}} {{virtual_machine_id}} {{meta|network|user}}` diff --git a/tldr/linux/qm-disk-import b/tldr/linux/qm-disk-import index 670a0197..a2ecea20 100644 --- a/tldr/linux/qm-disk-import +++ b/tldr/linux/qm-disk-import @@ -11,4 +11,4 @@ source: https://github.com/tldr-pages/tldr.git - Import a VMDK/qcow2/raw disk image using a specific storage name: -`qm {{[di|disk]}} import {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}` +`qm {{[di|disk]}} {{[i|import]}} {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}` diff --git a/tldr/linux/qm-disk-move b/tldr/linux/qm-disk-move index 23ec2b26..fee9932e 100644 --- a/tldr/linux/qm-disk-move +++ b/tldr/linux/qm-disk-move @@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git - Move a virtual disk: -`qm {{[di|disk]}} move {{vm_id}} {{destination}} {{index}}` +`qm {{[di|disk]}} {{[m|move]}} {{vm_id}} {{destination}} {{index}}` - Delete the previous copy of the virtual disk: -`qm {{[di|disk]}} move -delete {{vm_id}} {{destination}} {{index}}` +`qm {{[di|disk]}} {{[m|move]}} --delete {{vm_id}} {{destination}} {{index}}` diff --git a/tldr/linux/qm-disk-rescan b/tldr/linux/qm-disk-rescan new file mode 100644 index 00000000..7abf9767 --- /dev/null +++ b/tldr/linux/qm-disk-rescan @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# qm disk rescan + +> Rescan all storages and update disk sizes and unused disk images of a virtual machine. +> More information: . + +- Rescan all storages and update disk sizes and unused disk images of a specific virtual machine: + +`qm disk rescan {{vm_id}}` + +- Perform a dry-run of rescan on a specific virtual machine and do not write any changes to configurations: + +`qm disk rescan --dryrun {{true}} {{vm_id}}` diff --git a/tldr/linux/qm-disk-resize b/tldr/linux/qm-disk-resize index 6ca0c779..1c70cb1e 100644 --- a/tldr/linux/qm-disk-resize +++ b/tldr/linux/qm-disk-resize @@ -10,4 +10,4 @@ source: https://github.com/tldr-pages/tldr.git - Add `n` gigabytes to a virtual disk: -`qm {{[di|disk]}} resize {{vm_id}} {{disk_name}} +{{n}}G` +`qm {{[di|disk]}} {{[resi|resize]}} {{vm_id}} {{disk_name}} +{{n}}G` diff --git a/tldr/linux/qm-guest b/tldr/linux/qm-guest new file mode 100644 index 00000000..05a76148 --- /dev/null +++ b/tldr/linux/qm-guest @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# qm guest + +> Manage a VM guest agent. +> More information: . + +- Print the status of a specific PID: + +`qm {{[g|guest]}} {{[exec-s|exec-status]}} {{vm_id}} {{pid}}` + +- Set a password for a specific user in a virtual machine interactively: + +`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}}` + +- Execute a specific QEMU Guest Agent command: + +`qm {{[g|guest]}} {{[c|cmd]}} {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` + +- Execute a specific command via a guest agent: + +`qm {{[g|guest]}} exec {{vm_id}} {{command}} {{argument1 argument2 ...}}` diff --git a/tldr/linux/qm-guest-cmd b/tldr/linux/qm-guest-cmd index dc30cf99..4e5fe26f 100644 --- a/tldr/linux/qm-guest-cmd +++ b/tldr/linux/qm-guest-cmd @@ -10,4 +10,4 @@ source: https://github.com/tldr-pages/tldr.git - Execute a specific QEMU Guest Agent command: -`qm {{[g|guest]}} cmd {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` +`qm {{[g|guest]}} {{[c|cmd]}} {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` diff --git a/tldr/linux/qm-guest-exec-status b/tldr/linux/qm-guest-exec-status index d0d68a27..150f7d2c 100644 --- a/tldr/linux/qm-guest-exec-status +++ b/tldr/linux/qm-guest-exec-status @@ -10,4 +10,4 @@ source: https://github.com/tldr-pages/tldr.git - Print the status of a specific PID: -`qm {{[g|guest]}} exec-status {{vm_id}} {{pid}}` +`qm {{[g|guest]}} {{[exec-s|exec-status]}} {{vm_id}} {{pid}}` diff --git a/tldr/linux/qm-guest-passwd b/tldr/linux/qm-guest-passwd index 3330c4bf..805abc93 100644 --- a/tldr/linux/qm-guest-passwd +++ b/tldr/linux/qm-guest-passwd @@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git - Set a password for a specific user in a virtual machine interactively: -`qm {{[g|guest]}} passwd {{vm_id}} {{username}}` +`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}}` - Set an already hashed password for a specific user in a virtual machine interactively: -`qm {{[g|guest]}} passwd {{vm_id}} {{username}} --crypted 1` +`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}} --crypted 1` diff --git a/tldr/linux/qm-importdisk b/tldr/linux/qm-importdisk new file mode 100644 index 00000000..6c2124f6 --- /dev/null +++ b/tldr/linux/qm-importdisk @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# qm importdisk + +> This command is an alias of `qm disk import`. + +- View documentation for the original command: + +`tldr qm disk import` diff --git a/tldr/linux/qm-move-disk b/tldr/linux/qm-move-disk index b6fd07b3..8bd42fd0 100644 --- a/tldr/linux/qm-move-disk +++ b/tldr/linux/qm-move-disk @@ -3,7 +3,7 @@ syntax: markdown tags: [tldr, linux] source: https://github.com/tldr-pages/tldr.git --- -# qm move disk +# qm move-disk > This command is an alias of `qm disk move`. diff --git a/tldr/linux/qm-rescan b/tldr/linux/qm-rescan index 61b59530..41500107 100644 --- a/tldr/linux/qm-rescan +++ b/tldr/linux/qm-rescan @@ -5,13 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # qm rescan -> Rescan all storages and update disk sizes and unused disk images of a virtual machine. -> More information: . +> This command is an alias of `qm disk rescan`. -- Rescan all storages and update disk sizes and unused disk images of a specific virtual machine: +- View documentation for the original command: -`qm rescan {{vm_id}}` - -- Perform a dry-run of rescan on a specific virtual machine and do not write any changes to configurations: - -`qm rescan --dryrun {{true}} {{vm_id}}` +`tldr qm disk rescan` diff --git a/tldr/linux/qm-set b/tldr/linux/qm-set new file mode 100644 index 00000000..db1370f4 --- /dev/null +++ b/tldr/linux/qm-set @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# qm set + +> Set virtual machine options. +> More information: . + +- Set a name for a VM in the GUI: + +`qm set {{100}} --name {{vm_name}}` + +- Set a VM to autostart on boot: + +`qm set {{100}} --autostart {{0|1}}` + +- Set the allotted core count of a VM: + +`qm set {{100}} --cores {{4}}` + +- Set the allotted amount of memory: + +`qm set {{100}} --memory {{8192}}` + +- Give a VM a network device and bridge it to the host network: + +`qm set {{100}} --net{{0}} {{virtio|e1000|rtl8139|vmxnet3}},bridge=vmbr{{0}}` + +- Delete a device: + +`qm set {{100}} --delete {{device_name0}}` diff --git a/tldr/linux/qm-unlink b/tldr/linux/qm-unlink new file mode 100644 index 00000000..fcee84fb --- /dev/null +++ b/tldr/linux/qm-unlink @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# qm unlink + +> This command is an alias of `qm disk unlink`. + +- View documentation for the original command: + +`tldr qm disk unlink` diff --git a/tldr/linux/rpm-ostree b/tldr/linux/rpm-ostree index 7e13ad2f..253e10fe 100644 --- a/tldr/linux/rpm-ostree +++ b/tldr/linux/rpm-ostree @@ -19,12 +19,12 @@ source: https://github.com/tldr-pages/tldr.git - Prepare a new ostree deployment with upgraded packages and reboot into it: -`rpm-ostree upgrade --reboot` +`rpm-ostree upgrade {{[-r|--reboot]}}` - Reboot into the previous ostree deployment: -`rpm-ostree rollback --reboot` +`rpm-ostree rollback {{[-r|--reboot]}}` - Install a package into a new ostree deployment and reboot into it: -`rpm-ostree install {{package}} --reboot` +`rpm-ostree install {{package}} {{[-r|--reboot]}}` diff --git a/tldr/osx/airport b/tldr/osx/airport index 83be77fa..997a1ef3 100644 --- a/tldr/osx/airport +++ b/tldr/osx/airport @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # airport > Wireless network configuration utility. -> More information: . +> More information: . - Show current wireless status information: diff --git a/tldr/qemu-img b/tldr/qemu-img index d9f779a2..a647ef57 100644 --- a/tldr/qemu-img +++ b/tldr/qemu-img @@ -24,9 +24,9 @@ source: https://github.com/tldr-pages/tldr.git `qemu-img map {{path/to/image_file.img}}` -- Convert a VMware `.vmdk` disk image to a KVM `.qcow2` disk image: +- Convert a VMware `.vmdk` disk image to a KVM `.qcow2` disk image and display [p]rogress: -`qemu-img convert -f vmdk -O qcow2 {{path/to/image_file.vmdk}} {{path/to/image_file.qcow2}}` +`qemu-img convert -f vmdk -O qcow2 -p {{path/to/image_file.vmdk}} {{path/to/image_file.qcow2}}` - [c]reate an internal snapshot of a KVM `.qcow2` disk image: