Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-23 00:23:40 +00:00
parent c756b5f689
commit 1a1835ed4d
71 changed files with 124 additions and 81 deletions

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Add a dependency and enable one or more specific features:
`cargo add {{dependency}} {{[-F|--features]}} {{feature_1}},{{feature_2}}`
`cargo add {{dependency}} {{[-F|--features]}} {{feature_1,feature_2,...}}`
- Add an optional dependency, which then gets exposed as a feature of the crate:

View File

@@ -13,22 +13,30 @@ source: https://github.com/tldr-pages/tldr.git
`dvc init`
- Configure a remote storage location:
`dvc remote add {{storage_name}} {{url}}`
- Add one or more data files or directories to tracking:
`dvc add {{path/to/file_or_directory}}`
- Execute a specific subcommand:
- Show project status:
`dvc {{subcommand}}`
`dvc status`
- Upload tracked files to remote storage:
`dvc push`
- Download tracked files from remote storage:
`dvc pull`
- Display help:
`dvc {{[-h|--help]}}`
- Display help about a specific subcommand:
`dvc {{subcommand}} {{[-h|--help]}}`
- Display version:
`dvc --version`

View File

@@ -36,6 +36,6 @@ source: https://github.com/tldr-pages/tldr.git
`grep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}`
- Search `stdin` for lines that do not match a pattern:
- Read data from `stdin` and do not print lines that match a pattern:
`cat {{path/to/file}} | grep {{[-v|--invert-match]}} "{{search_pattern}}"`

View File

@@ -16,10 +16,10 @@ source: https://github.com/tldr-pages/tldr.git
`kubetail {{my_app}} {{[-c|--container]}} {{my_container}}`
- To tail multiple containers from multiple pods:
- Tail multiple containers from multiple pods:
`kubetail {{my_app}} {{[-c|--container]}} {{my_container_1}} {{[-c|--container]}} {{my_container_2}}`
- To tail multiple applications at the same time separate them by comma:
- Tail multiple applications at the same time separate them by comma:
`kubetail {{my_app_1}},{{my_app_2}}`
`kubetail {{my_app_1,my_app_2,...}}`

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Specify the policy to define which network interface(s) is/are displayed:
`bmon {{[-p|--policy]}} {{interface_1,interface_2,interface_3}}`
`bmon {{[-p|--policy]}} {{interface_1,interface_2,interface_3,...}}`
- Specify the interval (in seconds) in which rate per counter is calculated:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# chpasswd
> Change the passwords for multiple users by using `stdin`.
> See also: `passwd`.
> More information: <https://manned.org/chpasswd.8>.
- Change the password for a specific user:
@@ -19,8 +20,8 @@ source: https://github.com/tldr-pages/tldr.git
- Change the password for a specific user, and specify it in encrypted form:
`printf "{{username}}:{{new_encrypted_password}}" | sudo chpasswd --encrypted`
`printf "{{username}}:{{new_encrypted_password}}" | sudo chpasswd {{[-e|--encrypted]}}`
- Change the password for a specific user, and use a specific encryption for the stored password:
`printf "{{username}}:{{new_password}}" | sudo chpasswd --crypt-method {{NONE|DES|MD5|SHA256|SHA512}}`
`printf "{{username}}:{{new_password}}" | sudo chpasswd {{[-c|--crypt-method]}} {{NONE|DES|MD5|SHA256|SHA512}}`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> GhostScript, a PDF and PostScript interpreter.
> More information: <https://manned.org/gs>.
- To view a file:
- View a file:
`gs -dQUIET -dBATCH {{file.pdf}}`

25
tldr/linux/koji-resubmit Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# koji resubmit
> Retry a canceled or failed task, using the same parameter as the original task.
> More information: <https://docs.pagure.org/koji>.
- Resubmit a task:
`koji resubmit {{task_id}}`
- Resubmit a task without waiting for it to finish:
`koji resubmit {{task_id}} --nowait`
- Resubmit a task without printing task information:
`koji resubmit {{task_id}} --quiet`
- Display help:
`koji resubmit {{[-h|--help]}}`

View File

@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- Display only specific fields:
`sudo lvs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
`sudo lvs {{[-o|--options]}} {{field_name_1,field_name_2,...}}`
- Append field to default display:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct clone
> Clone a container.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_clone>.
- Clone a container:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct config
> Print the configuration of a container.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_config>.
- Display the saved configuration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct console
> Attach to a container TTY.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_console>.
- Attach to a terminal:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct create
> Create LXC containers in Proxmox.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_create>.
- Create a container from a template with 4GB size, give it 512MiB of memory and unlimited access to CPU:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct destroy
> Destroy a container.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_destroy>.
- Destroy a container:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct exec
> Launch a command inside a specified container.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_exec>.
- Launch a command in a container:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct resize
> Resize container storage.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_resize>.
- Resize the container size to 20GB:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct set
> Set container options.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_set>.
- Set container to start automatically on boot:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct status
> Display the status of a container.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_status>.
- Display if the container is running:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pct template
> Convert a container into a template.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_template>.
- Convert a container into a template:

View File

@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- Display only specific fields:
`sudo pvs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
`sudo pvs {{[-o|--options]}} {{field_name_1,field_name_2,...}}`
- Append field to default display:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Clean up resources on QEMU/KVM Virtual Machine Manager like tap devices, VGPUs, etc.
> Called after a VM shuts down, crashes, etc.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_cleanup>.
- Clean up resources:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm clone
> Create a copy of virtual machine on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_clone>.
- Copy a virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm cloudinit dump
> Generate cloudinit configuration files.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_cloudinit_dump>.
- Generate a cloudinit file for a specific configuration type:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm config
> Display the virtual machine configuration with pending configuration changes applied.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_config>.
- Display the virtual machine configuration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm create
> Create or restore a virtual machine on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_create>.
- Create a virtual machine with access to 512MiB of memory and 1 CPU core:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm delsnapshot
> Delete virtual machine snapshots.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_delsnapshot>.
- Delete a snapshot:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm destroy
> Destroy a virtual machine in QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_destroy>.
- Destroy a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm disk
> Manage disk images.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_disk_import>.
- Add `n` gigabytes to a virtual disk:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Import a disk image to a virtual machine as an unused disk.
> The supported image formats for `qemu-img`, such as raw, qcow2, qed, vdi, vmdk, and vhd must be used.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_disk_import>.
- Import a VMDK/qcow2/raw disk image using a specific storage name:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm disk move
> Move a virtual disk from one storage to another within the same Proxmox cluster.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_disk_move>.
- Move a virtual disk:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm disk rescan
> Rescan all storages and update disk sizes and unused disk images of virtual machines.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_disk_rescan>.
- Rescan all storages and update disk sizes and unused disk images:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm disk resize
> Resize a virtual machine disk in the Proxmox Virtual Environment (PVE).
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_disk_resize>.
- Add `n` gigabytes to a virtual disk:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm guest
> Manage a VM guest agent.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_guest_cmd>.
- Print the status of a specific PID:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm guest cmd
> Execute QEMU Guest Agent commands.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_guest_cmd>.
- Execute a specific QEMU Guest Agent command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm guest exec
> Execute a specific command via a guest agent.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_guest_exec>.
- Execute a specific command via a guest agent:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm guest exec-status
> Print the status of a pid started by the guest-agent on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_guest_exec-status>.
- Print the status of a specific PID:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm guest passwd
> Set the password for a user on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_guest_passwd>.
- Set a password for a specific user in a virtual machine interactively:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm help
> Display help for a command.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_help>.
- Display help for a specific command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm list
> List all virtual machines.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_list>.
- List all virtual machines:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm listsnapshot
> List snapshots of virtual machines.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_listsnapshot>.
- List all snapshots of a specific virtual machine:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Migrate a virtual machine.
> Used to create a new migration task.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_migrate>.
- Migrate a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm monitor
> Enter the QEMU Monitor interface.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_monitor>.
- Enter the QEMU Monitor interface of a specific virtual machine:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Used by `qmigrate`.
> It should not be invoked manually.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_mtunnel>.
- Command used by `qmigrate` during data migration from a VM to another host:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm nbdstop
> Stop embedded nbd server.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_nbdstop>.
- Stop embedded nbd server:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm pending
> Get the virtual machine configuration with both current and pending values.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_pending>.
- Get the virtual machine configuration of a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm reboot
> Reboot a virtual machine by shutting it down, and starting it again after applying pending changes.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_reboot>.
- Reboot a virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm reset
> Reset a virtual machine on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_reset>.
- Reset a virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm resume
> Resume a virtual machine.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_resume>.
- Resume a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm rollback
> Rollback the VM state to a specified snapshot.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_rollback>.
- Rollback the state of a specific VM to a specified snapshot:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm sendkey
> Send QEMU monitor encoding key event to a virtual machine.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_sendkey>.
- Send the specified key event to a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm set
> Set virtual machine options.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_set>.
- Set a name for a VM in the GUI:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm showcmd
> Show command-line which is used to start the VM (debug info).
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_showcmd>.
- Show command-line for a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm shutdown
> Shutdown a virtual machine on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_shutdown>.
- Shutdown a virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm snapshot
> Create virtual machine snapshots.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_snapshot>.
- Create a snapshot of a specific virtual machine (name must start with a letter):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm start
> Start a virtual machine on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_start>.
- Start a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm status
> Show virtual machine status.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_status>.
- Display the status of a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm stop
> Stop a virtual machine.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_stop>.
- Stop a virtual machine immediately:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Suspends a virtual machine (VM) in the Proxmox Virtual Environment (PVE).
> Use `--skiplock` and `--skiplockstorage` flags with caution, as they may lead to data corruption in certain situations.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_suspend>.
- Suspend a virtual machine by ID:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm template
> Create a Proxmox VM template.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_template>.
- Create a template out of a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm terminal
> Attach to the serial console of a VM.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_terminal>.
- Attach to a terminal:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm unlock
> Unlock a virtual machine in QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_unlock>.
- Unlock a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm vncproxy
> Proxy Virtual Machine VNC (Virtual network computing) traffic to `stdin` or `stdout`.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_vncproxy>.
- Proxy a specific virtual machine:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qm wait
> Wait until the virtual machine is stopped.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_wait>.
- Wait until the virtual machine is stopped:

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Start a new process with affinity for multiple non-sequential CPUs:
`taskset {{[-c|--cpu-list]}} {{cpu_id_1}},{{cpu_id_2}},{{cpu_id_3}}`
`taskset {{[-c|--cpu-list]}} {{cpu_id_1,cpu_id_2,cpu_id_3,...}}`
- Start a new process with affinity for CPUs 1 through 4:

View File

@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- Display only specific fields:
`sudo vgs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
`sudo vgs {{[-o|--options]}} {{field_name_1,field_name_2,...}}`
- Append field to default display:

View File

@@ -12,17 +12,21 @@ source: https://github.com/tldr-pages/tldr.git
`nest {{[i|info]}}`
- Create a new NestJS project in a directory of the same name:
- Create a new NestJS project interactively:
`nest {{[n|new]}} {{project_name}}`
`nest {{[n|new]}}`
- Build a specific NestJS project:
- Create a new NestJS project without prompting:
`nest build {{project_name}}`
`nest {{[n|new]}} {{project_name}} {{[-p|--package-manager]}} {{npm|yarn|pnpm}}`
- Run a specific NestJS project:
- Build the NestJS project in the current working directory:
`nest start {{project_name}}`
`nest build`
- Run the NestJS project in the current working directory:
`nest start`
- Import a library into the current NestJS project:

View File

@@ -8,6 +8,10 @@ source: https://github.com/tldr-pages/tldr.git
> Run a script.
> More information: <https://docs.npmjs.com/cli/npm-run>.
- List available scripts:
`npm run`
- Run a script:
`npm run {{script_name}}`

View File

@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
`npm unpublish {{package_name}} --timeout {{time_in_milliseconds}}`
- To prevent accidental unpublishing, use the `--dry-run` flag to see what would be unpublished:
- Dry run to see what would be unpublished without actually doing it:
`npm unpublish {{package_name}} --dry-run`

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# passwd
> Change a user's password.
> See also: `chpasswd`.
> More information: <https://manned.org/passwd>.
- Change the password of the current user interactively:

View File

@@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git
- Check all Python files found in multiple directories:
`pyflakes iterSourceCode {{path/to/directory_1}} {{path/to/directory_2}}`
`pyflakes iterSourceCode {{path/to/directory_1 path/to/directory_2 ...}}`

View File

@@ -25,6 +25,6 @@ source: https://github.com/tldr-pages/tldr.git
`Set-Clipboard -Path "{{path/to/file1}}","{{path/to/file2}}","{{path/to/file3}}"`
- To clear the clipboard:
- Clear the clipboard:
`Set-Clipboard ""`