diff --git a/tldr/cargo-add b/tldr/cargo-add index 28dc7181..61acce12 100644 --- a/tldr/cargo-add +++ b/tldr/cargo-add @@ -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: diff --git a/tldr/dvc b/tldr/dvc index 18dbd985..e8023415 100644 --- a/tldr/dvc +++ b/tldr/dvc @@ -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` diff --git a/tldr/grep b/tldr/grep index 22759dc8..63e62229 100644 --- a/tldr/grep +++ b/tldr/grep @@ -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}}"` diff --git a/tldr/kubetail b/tldr/kubetail index 5cef877a..8bcdb8a6 100644 --- a/tldr/kubetail +++ b/tldr/kubetail @@ -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,...}}` diff --git a/tldr/linux/bmon b/tldr/linux/bmon index 8dbc16ae..9d6c3e60 100644 --- a/tldr/linux/bmon +++ b/tldr/linux/bmon @@ -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: diff --git a/tldr/linux/chpasswd b/tldr/linux/chpasswd index 483fad67..bc3eeedb 100644 --- a/tldr/linux/chpasswd +++ b/tldr/linux/chpasswd @@ -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: . - 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}}` diff --git a/tldr/linux/gs b/tldr/linux/gs index 671b1d03..02103101 100644 --- a/tldr/linux/gs +++ b/tldr/linux/gs @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > GhostScript, a PDF and PostScript interpreter. > More information: . -- To view a file: +- View a file: `gs -dQUIET -dBATCH {{file.pdf}}` diff --git a/tldr/linux/koji-resubmit b/tldr/linux/koji-resubmit new file mode 100644 index 00000000..245e4605 --- /dev/null +++ b/tldr/linux/koji-resubmit @@ -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: . + +- 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]}}` diff --git a/tldr/linux/lvs b/tldr/linux/lvs index 8aa4126e..4335d8a5 100644 --- a/tldr/linux/lvs +++ b/tldr/linux/lvs @@ -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: diff --git a/tldr/linux/pct-clone b/tldr/linux/pct-clone index 943bb4fc..c517783f 100644 --- a/tldr/linux/pct-clone +++ b/tldr/linux/pct-clone @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct clone > Clone a container. -> More information: . +> More information: . - Clone a container: diff --git a/tldr/linux/pct-config b/tldr/linux/pct-config index a9b8400e..fdda392e 100644 --- a/tldr/linux/pct-config +++ b/tldr/linux/pct-config @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct config > Print the configuration of a container. -> More information: . +> More information: . - Display the saved configuration: diff --git a/tldr/linux/pct-console b/tldr/linux/pct-console index c0810ac9..2511485a 100644 --- a/tldr/linux/pct-console +++ b/tldr/linux/pct-console @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct console > Attach to a container TTY. -> More information: . +> More information: . - Attach to a terminal: diff --git a/tldr/linux/pct-create b/tldr/linux/pct-create index f36d8f67..8d69bdb4 100644 --- a/tldr/linux/pct-create +++ b/tldr/linux/pct-create @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct create > Create LXC containers in Proxmox. -> More information: . +> More information: . - Create a container from a template with 4GB size, give it 512MiB of memory and unlimited access to CPU: diff --git a/tldr/linux/pct-destroy b/tldr/linux/pct-destroy index b2ae8028..0e2d0e89 100644 --- a/tldr/linux/pct-destroy +++ b/tldr/linux/pct-destroy @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct destroy > Destroy a container. -> More information: . +> More information: . - Destroy a container: diff --git a/tldr/linux/pct-exec b/tldr/linux/pct-exec index f1716a7f..4c23e4e1 100644 --- a/tldr/linux/pct-exec +++ b/tldr/linux/pct-exec @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct exec > Launch a command inside a specified container. -> More information: . +> More information: . - Launch a command in a container: diff --git a/tldr/linux/pct-resize b/tldr/linux/pct-resize index 5346f08c..c5a65be0 100644 --- a/tldr/linux/pct-resize +++ b/tldr/linux/pct-resize @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct resize > Resize container storage. -> More information: . +> More information: . - Resize the container size to 20GB: diff --git a/tldr/linux/pct-set b/tldr/linux/pct-set index 19d6a047..ff4debdd 100644 --- a/tldr/linux/pct-set +++ b/tldr/linux/pct-set @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct set > Set container options. -> More information: . +> More information: . - Set container to start automatically on boot: diff --git a/tldr/linux/pct-status b/tldr/linux/pct-status index bd2b38bf..1756eb81 100644 --- a/tldr/linux/pct-status +++ b/tldr/linux/pct-status @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct status > Display the status of a container. -> More information: . +> More information: . - Display if the container is running: diff --git a/tldr/linux/pct-template b/tldr/linux/pct-template index c19d1005..8b66031e 100644 --- a/tldr/linux/pct-template +++ b/tldr/linux/pct-template @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pct template > Convert a container into a template. -> More information: . +> More information: . - Convert a container into a template: diff --git a/tldr/linux/pvs b/tldr/linux/pvs index a37248a1..04a1cf93 100644 --- a/tldr/linux/pvs +++ b/tldr/linux/pvs @@ -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: diff --git a/tldr/linux/qm-cleanup b/tldr/linux/qm-cleanup index 3d3201a6..e62915dd 100644 --- a/tldr/linux/qm-cleanup +++ b/tldr/linux/qm-cleanup @@ -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: . +> More information: . - Clean up resources: diff --git a/tldr/linux/qm-clone b/tldr/linux/qm-clone index b470d5df..b9646392 100644 --- a/tldr/linux/qm-clone +++ b/tldr/linux/qm-clone @@ -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: . +> More information: . - Copy a virtual machine: diff --git a/tldr/linux/qm-cloudinit-dump b/tldr/linux/qm-cloudinit-dump index 457fd2b0..cb113226 100644 --- a/tldr/linux/qm-cloudinit-dump +++ b/tldr/linux/qm-cloudinit-dump @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm cloudinit dump > Generate cloudinit configuration files. -> More information: . +> More information: . - Generate a cloudinit file for a specific configuration type: diff --git a/tldr/linux/qm-config b/tldr/linux/qm-config index c796cd13..a308cb44 100644 --- a/tldr/linux/qm-config +++ b/tldr/linux/qm-config @@ -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: . +> More information: . - Display the virtual machine configuration: diff --git a/tldr/linux/qm-create b/tldr/linux/qm-create index 44c5412c..59ee229d 100644 --- a/tldr/linux/qm-create +++ b/tldr/linux/qm-create @@ -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: . +> More information: . - Create a virtual machine with access to 512MiB of memory and 1 CPU core: diff --git a/tldr/linux/qm-delsnapshot b/tldr/linux/qm-delsnapshot index 2a1e0cc2..7aca0531 100644 --- a/tldr/linux/qm-delsnapshot +++ b/tldr/linux/qm-delsnapshot @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm delsnapshot > Delete virtual machine snapshots. -> More information: . +> More information: . - Delete a snapshot: diff --git a/tldr/linux/qm-destroy b/tldr/linux/qm-destroy index e80f6d32..f0a36cc3 100644 --- a/tldr/linux/qm-destroy +++ b/tldr/linux/qm-destroy @@ -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: . +> More information: . - Destroy a specific virtual machine: diff --git a/tldr/linux/qm-disk b/tldr/linux/qm-disk index 5e9d6c38..853d9861 100644 --- a/tldr/linux/qm-disk +++ b/tldr/linux/qm-disk @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm disk > Manage disk images. -> More information: . +> More information: . - Add `n` gigabytes to a virtual disk: diff --git a/tldr/linux/qm-disk-import b/tldr/linux/qm-disk-import index a2ecea20..9e170a6c 100644 --- a/tldr/linux/qm-disk-import +++ b/tldr/linux/qm-disk-import @@ -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: . +> More information: . - Import a VMDK/qcow2/raw disk image using a specific storage name: diff --git a/tldr/linux/qm-disk-move b/tldr/linux/qm-disk-move index fee9932e..99b7b8ef 100644 --- a/tldr/linux/qm-disk-move +++ b/tldr/linux/qm-disk-move @@ -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: . +> More information: . - Move a virtual disk: diff --git a/tldr/linux/qm-disk-rescan b/tldr/linux/qm-disk-rescan index d29ca437..19d175f1 100644 --- a/tldr/linux/qm-disk-rescan +++ b/tldr/linux/qm-disk-rescan @@ -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: . +> More information: . - Rescan all storages and update disk sizes and unused disk images: diff --git a/tldr/linux/qm-disk-resize b/tldr/linux/qm-disk-resize index 1c70cb1e..be4a27ab 100644 --- a/tldr/linux/qm-disk-resize +++ b/tldr/linux/qm-disk-resize @@ -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: . +> More information: . - Add `n` gigabytes to a virtual disk: diff --git a/tldr/linux/qm-guest b/tldr/linux/qm-guest index 05a76148..fce89a28 100644 --- a/tldr/linux/qm-guest +++ b/tldr/linux/qm-guest @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm guest > Manage a VM guest agent. -> More information: . +> More information: . - Print the status of a specific PID: diff --git a/tldr/linux/qm-guest-cmd b/tldr/linux/qm-guest-cmd index 4e5fe26f..6305c8f9 100644 --- a/tldr/linux/qm-guest-cmd +++ b/tldr/linux/qm-guest-cmd @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm guest cmd > Execute QEMU Guest Agent commands. -> More information: . +> More information: . - Execute a specific QEMU Guest Agent command: diff --git a/tldr/linux/qm-guest-exec b/tldr/linux/qm-guest-exec index 41e098cb..37cad816 100644 --- a/tldr/linux/qm-guest-exec +++ b/tldr/linux/qm-guest-exec @@ -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: . +> More information: . - Execute a specific command via a guest agent: diff --git a/tldr/linux/qm-guest-exec-status b/tldr/linux/qm-guest-exec-status index 150f7d2c..98eb9c45 100644 --- a/tldr/linux/qm-guest-exec-status +++ b/tldr/linux/qm-guest-exec-status @@ -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: . +> More information: . - Print the status of a specific PID: diff --git a/tldr/linux/qm-guest-passwd b/tldr/linux/qm-guest-passwd index 805abc93..bcdae578 100644 --- a/tldr/linux/qm-guest-passwd +++ b/tldr/linux/qm-guest-passwd @@ -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: . +> More information: . - Set a password for a specific user in a virtual machine interactively: diff --git a/tldr/linux/qm-help b/tldr/linux/qm-help index 537341ab..75d11b8b 100644 --- a/tldr/linux/qm-help +++ b/tldr/linux/qm-help @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm help > Display help for a command. -> More information: . +> More information: . - Display help for a specific command: diff --git a/tldr/linux/qm-list b/tldr/linux/qm-list index 0238a052..f28ae248 100644 --- a/tldr/linux/qm-list +++ b/tldr/linux/qm-list @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm list > List all virtual machines. -> More information: . +> More information: . - List all virtual machines: diff --git a/tldr/linux/qm-listsnapshot b/tldr/linux/qm-listsnapshot index 4f0d06a8..ac015fdd 100644 --- a/tldr/linux/qm-listsnapshot +++ b/tldr/linux/qm-listsnapshot @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm listsnapshot > List snapshots of virtual machines. -> More information: . +> More information: . - List all snapshots of a specific virtual machine: diff --git a/tldr/linux/qm-migrate b/tldr/linux/qm-migrate index 8bfa2df4..3748ee2d 100644 --- a/tldr/linux/qm-migrate +++ b/tldr/linux/qm-migrate @@ -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: . +> More information: . - Migrate a specific virtual machine: diff --git a/tldr/linux/qm-monitor b/tldr/linux/qm-monitor index bcf0c388..e31bac6d 100644 --- a/tldr/linux/qm-monitor +++ b/tldr/linux/qm-monitor @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm monitor > Enter the QEMU Monitor interface. -> More information: . +> More information: . - Enter the QEMU Monitor interface of a specific virtual machine: diff --git a/tldr/linux/qm-mtunnel b/tldr/linux/qm-mtunnel index 1081a1a9..1636ccf9 100644 --- a/tldr/linux/qm-mtunnel +++ b/tldr/linux/qm-mtunnel @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Used by `qmigrate`. > It should not be invoked manually. -> More information: . +> More information: . - Command used by `qmigrate` during data migration from a VM to another host: diff --git a/tldr/linux/qm-nbdstop b/tldr/linux/qm-nbdstop index a0be9612..cf264808 100644 --- a/tldr/linux/qm-nbdstop +++ b/tldr/linux/qm-nbdstop @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm nbdstop > Stop embedded nbd server. -> More information: . +> More information: . - Stop embedded nbd server: diff --git a/tldr/linux/qm-pending b/tldr/linux/qm-pending index d9e512ed..f016ac3e 100644 --- a/tldr/linux/qm-pending +++ b/tldr/linux/qm-pending @@ -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: . +> More information: . - Get the virtual machine configuration of a specific virtual machine: diff --git a/tldr/linux/qm-reboot b/tldr/linux/qm-reboot index af11e57c..4c712418 100644 --- a/tldr/linux/qm-reboot +++ b/tldr/linux/qm-reboot @@ -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: . +> More information: . - Reboot a virtual machine: diff --git a/tldr/linux/qm-reset b/tldr/linux/qm-reset index fdbae85d..8052814a 100644 --- a/tldr/linux/qm-reset +++ b/tldr/linux/qm-reset @@ -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: . +> More information: . - Reset a virtual machine: diff --git a/tldr/linux/qm-resume b/tldr/linux/qm-resume index 914b682b..f2494d9e 100644 --- a/tldr/linux/qm-resume +++ b/tldr/linux/qm-resume @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm resume > Resume a virtual machine. -> More information: . +> More information: . - Resume a specific virtual machine: diff --git a/tldr/linux/qm-rollback b/tldr/linux/qm-rollback index 0dda1f83..2e8ef0db 100644 --- a/tldr/linux/qm-rollback +++ b/tldr/linux/qm-rollback @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm rollback > Rollback the VM state to a specified snapshot. -> More information: . +> More information: . - Rollback the state of a specific VM to a specified snapshot: diff --git a/tldr/linux/qm-sendkey b/tldr/linux/qm-sendkey index ea1c4522..5d704a96 100644 --- a/tldr/linux/qm-sendkey +++ b/tldr/linux/qm-sendkey @@ -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: . +> More information: . - Send the specified key event to a specific virtual machine: diff --git a/tldr/linux/qm-set b/tldr/linux/qm-set index 1cdf76f3..583aa539 100644 --- a/tldr/linux/qm-set +++ b/tldr/linux/qm-set @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm set > Set virtual machine options. -> More information: . +> More information: . - Set a name for a VM in the GUI: diff --git a/tldr/linux/qm-showcmd b/tldr/linux/qm-showcmd index bf0d800d..4d2336b9 100644 --- a/tldr/linux/qm-showcmd +++ b/tldr/linux/qm-showcmd @@ -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: . +> More information: . - Show command-line for a specific virtual machine: diff --git a/tldr/linux/qm-shutdown b/tldr/linux/qm-shutdown index 25bdb011..9cf4cd1c 100644 --- a/tldr/linux/qm-shutdown +++ b/tldr/linux/qm-shutdown @@ -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: . +> More information: . - Shutdown a virtual machine: diff --git a/tldr/linux/qm-snapshot b/tldr/linux/qm-snapshot index d985ab5b..de5b6aec 100644 --- a/tldr/linux/qm-snapshot +++ b/tldr/linux/qm-snapshot @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm snapshot > Create virtual machine snapshots. -> More information: . +> More information: . - Create a snapshot of a specific virtual machine (name must start with a letter): diff --git a/tldr/linux/qm-start b/tldr/linux/qm-start index 9228c9f6..6af6bdc7 100644 --- a/tldr/linux/qm-start +++ b/tldr/linux/qm-start @@ -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: . +> More information: . - Start a specific virtual machine: diff --git a/tldr/linux/qm-status b/tldr/linux/qm-status index 172d338c..5ac3588b 100644 --- a/tldr/linux/qm-status +++ b/tldr/linux/qm-status @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm status > Show virtual machine status. -> More information: . +> More information: . - Display the status of a specific virtual machine: diff --git a/tldr/linux/qm-stop b/tldr/linux/qm-stop index 4181d918..aa13640b 100644 --- a/tldr/linux/qm-stop +++ b/tldr/linux/qm-stop @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm stop > Stop a virtual machine. -> More information: . +> More information: . - Stop a virtual machine immediately: diff --git a/tldr/linux/qm-suspend b/tldr/linux/qm-suspend index 44c50b7c..a1f87fcd 100644 --- a/tldr/linux/qm-suspend +++ b/tldr/linux/qm-suspend @@ -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: . +> More information: . - Suspend a virtual machine by ID: diff --git a/tldr/linux/qm-template b/tldr/linux/qm-template index 7f697d4a..84edb211 100644 --- a/tldr/linux/qm-template +++ b/tldr/linux/qm-template @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm template > Create a Proxmox VM template. -> More information: . +> More information: . - Create a template out of a specific virtual machine: diff --git a/tldr/linux/qm-terminal b/tldr/linux/qm-terminal index 9ba0ff9a..0f3ab18f 100644 --- a/tldr/linux/qm-terminal +++ b/tldr/linux/qm-terminal @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm terminal > Attach to the serial console of a VM. -> More information: . +> More information: . - Attach to a terminal: diff --git a/tldr/linux/qm-unlock b/tldr/linux/qm-unlock index e6ab23d0..463d2bcd 100644 --- a/tldr/linux/qm-unlock +++ b/tldr/linux/qm-unlock @@ -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: . +> More information: . - Unlock a specific virtual machine: diff --git a/tldr/linux/qm-vncproxy b/tldr/linux/qm-vncproxy index aa2465ba..64df0a68 100644 --- a/tldr/linux/qm-vncproxy +++ b/tldr/linux/qm-vncproxy @@ -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: . +> More information: . - Proxy a specific virtual machine: diff --git a/tldr/linux/qm-wait b/tldr/linux/qm-wait index 4e3669be..605fa0be 100644 --- a/tldr/linux/qm-wait +++ b/tldr/linux/qm-wait @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qm wait > Wait until the virtual machine is stopped. -> More information: . +> More information: . - Wait until the virtual machine is stopped: diff --git a/tldr/linux/taskset b/tldr/linux/taskset index 0140039c..56bef7cc 100644 --- a/tldr/linux/taskset +++ b/tldr/linux/taskset @@ -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: diff --git a/tldr/linux/vgs b/tldr/linux/vgs index 61881b4c..279ea0fc 100644 --- a/tldr/linux/vgs +++ b/tldr/linux/vgs @@ -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: diff --git a/tldr/nest b/tldr/nest index ae00d076..7cd0031a 100644 --- a/tldr/nest +++ b/tldr/nest @@ -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: diff --git a/tldr/npm-run b/tldr/npm-run index 759802c4..f325308c 100644 --- a/tldr/npm-run +++ b/tldr/npm-run @@ -8,6 +8,10 @@ source: https://github.com/tldr-pages/tldr.git > Run a script. > More information: . +- List available scripts: + +`npm run` + - Run a script: `npm run {{script_name}}` diff --git a/tldr/npm-unpublish b/tldr/npm-unpublish index 49b4c91b..308bea5e 100644 --- a/tldr/npm-unpublish +++ b/tldr/npm-unpublish @@ -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` diff --git a/tldr/passwd b/tldr/passwd index 541ced56..055488a1 100644 --- a/tldr/passwd +++ b/tldr/passwd @@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # passwd > Change a user's password. +> See also: `chpasswd`. > More information: . - Change the password of the current user interactively: diff --git a/tldr/pyflakes b/tldr/pyflakes index 4126a404..d13aa565 100644 --- a/tldr/pyflakes +++ b/tldr/pyflakes @@ -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 ...}}` diff --git a/tldr/windows/set-clipboard b/tldr/windows/set-clipboard index c487cb6d..2103ff4a 100644 --- a/tldr/windows/set-clipboard +++ b/tldr/windows/set-clipboard @@ -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 ""`