Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-22 00:22:06 +00:00
parent b8203a5041
commit 191a6f336e
13 changed files with 66 additions and 32 deletions

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Read a key from a specific configuration file:
`kwriteconfig5 --file {{path/to/file}} --group {{group_name}} --key {{key_name}}`
`kreadconfig5 --file {{path/to/file}} --group {{group_name}} --key {{key_name}}`
- Check if systemd is used to start the Plasma session:

View File

@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
- Create an ext2 filesystem in partition 1 of device b (`sdb1`):
`mkfs.ext2 {{/dev/sdb1}}`
`mke2fs -t ext2 {{/dev/sdb1}}`
- Create an ext3 filesystem in partition 1 of device b (`sdb1`):
`mkfs.ext3 {{/dev/sdb1}}`
`mke2fs -t ext3 {{/dev/sdb1}}`
- Create an ext4 filesystem in partition 1 of device b (`sdb1`):
`mkfs.ext4 {{/dev/sdb1}}`
`mke2fs -t ext4 {{/dev/sdb1}}`

View File

@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
- Copy a virtual machine:
`qm copy {{vm_id}} {{new_vm_id}}`
`qm clone {{vm_id}} {{new_vm_id}}`
- Copy a virtual machine using a specific name:
`qm copy {{vm_id}} {{new_vm_id}} --name {{name}}`
`qm clone {{vm_id}} {{new_vm_id}} --name {{name}}`
- Copy a virtual machine using a specific descriptionn:
`qm copy {{vm_id}} {{new_vm_id}} --description {{description}}`
`qm clone {{vm_id}} {{new_vm_id}} --description {{description}}`
- Copy a virtual machine creating a full copy of all disks:
`qm copy {{vm_id}} {{new_vm_id}} --full`
`qm clone {{vm_id}} {{new_vm_id}} --full`
- Copy a virtual machine using a specific format for file storage (requires `--full`):
`qm copy {{vm_id}} {{new_vm_id}} --full --format {{qcow2|raw|vmdk}}`
`qm clone {{vm_id}} {{new_vm_id}} --full --format {{qcow2|raw|vmdk}}`
- Copy a virtual machine then add it to a specific pool:
`qm copy {{vm_id}} {{new_vm_id}} --pool {{pool_name}}`
`qm clone {{vm_id}} {{new_vm_id}} --pool {{pool_name}}`

View File

@@ -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 importdisk {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}`
`qm disk import {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}`