diff --git a/tldr/bzip3 b/tldr/bzip3 index 729ce6d8..24eea206 100644 --- a/tldr/bzip3 +++ b/tldr/bzip3 @@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git - Decompress a file overwriting existing files: -`bzip3 {{[-d|--decode]}} {{[-f--force]}} {{path/to/compressed_file.bz3}}` +`bzip3 {{[-d|--decode]}} {{[-f|--force]}} {{path/to/compressed_file.bz3}}` - Display help: diff --git a/tldr/cisco-ios/enable b/tldr/cisco-ios/enable new file mode 100644 index 00000000..b210fa9c --- /dev/null +++ b/tldr/cisco-ios/enable @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, cisco-ios] +source: https://github.com/tldr-pages/tldr.git +--- +# enable + +> Enter privileged execution mode. +> More information: . + +- Enter privileged execution mode: + +`enable` diff --git a/tldr/dnsmasq b/tldr/dnsmasq new file mode 100644 index 00000000..8cce007e --- /dev/null +++ b/tldr/dnsmasq @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# dnsmasq + +> Lightweight DNS, DHCP, TFTP, and PXE server. +> More information: . + +- Start dnsmasq with default configuration: + +`dnsmasq` + +- Run dnsmasq in the foreground (for debugging): + +`dnsmasq --no-daemon` + +- Specify a custom configuration file: + +`dnsmasq --conf-file={{path/to/config.conf}}` + +- Enable verbose logging: + +`dnsmasq --log-queries --log-facility=-` + +- Set a DHCP range and lease time: + +`dnsmasq --dhcp-range={{192.168.0.50,192.168.0.150,12h}}` + +- Print dnsmasq version: + +`dnsmasq --version` diff --git a/tldr/gh-api b/tldr/gh-api index 2c5971ff..395d5f02 100644 --- a/tldr/gh-api +++ b/tldr/gh-api @@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git - Include the HTTP response headers in the output: -`gh api {{[--include]}} {{endpoint}}` +`gh api {{[-i|--include]}} {{endpoint}}` - Do not print the response body: diff --git a/tldr/linux/pct b/tldr/linux/pct index 8ae1e8ce..5fc7c268 100644 --- a/tldr/linux/pct +++ b/tldr/linux/pct @@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git - Resize the container's disk to 20G: -`pct {{[resi|resize]]} {{100}} {{rootfs|mpX}} {{20G}}` +`pct {{[resi|resize]}} {{100}} {{rootfs|mpX}} {{20G}}` - Show the configuration of a container, specifying its ID: diff --git a/tldr/linux/wol b/tldr/linux/wol index 549282f6..09df0165 100644 --- a/tldr/linux/wol +++ b/tldr/linux/wol @@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git - Read hardware addresses, IP addresses/hostnames, optional ports and SecureON passwords from a file: -`wol {{[-f|--file]]} {{path/to/file}}` +`wol {{[-f|--file]}} {{path/to/file}}` - Turn on verbose output: diff --git a/tldr/lzop b/tldr/lzop index c3b0a589..23f03428 100644 --- a/tldr/lzop +++ b/tldr/lzop @@ -22,8 +22,8 @@ source: https://github.com/tldr-pages/tldr.git - Compress a file with the best compression level: -`lzop {{[-9|--best]}} {{[path/to/file]}}` +`lzop {{[-9|--best]}} {{path/to/file}}` - Compress a file with the fastest compression level: -`lzop {{[-1|--fast]}} {{[path/to/file]}}` +`lzop {{[-1|--fast]}} {{path/to/file}}` diff --git a/tldr/nvidia-smi-mig b/tldr/nvidia-smi-mig new file mode 100644 index 00000000..9f9f3d16 --- /dev/null +++ b/tldr/nvidia-smi-mig @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# nvidia-smi mig + +> Manage Nvidia multi-instance GPUs. +> More information: . + +- Create a compute instance from device 0: + +`nvidia-smi mig {{[-cgi|--create-gpu-instance]}} {{0}} {{[-C|--default-compute-instance]}}` + +- List GPU instances: + +`nvidia-smi mig {{[-lgi|--list-gpu-instances]}}` + +- Display help: + +`nvidia-smi mig {{[-h|--help]}}`