pages*: fix various proper names, acronyms and initialisms (#12494)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# 7zr
|
||||
|
||||
> File archiver with a high compression ratio.
|
||||
> Similar to `7z` except that it only supports `.7z` files.
|
||||
> Similar to `7z` except that it only supports 7z files.
|
||||
> More information: <https://manned.org/7zr>.
|
||||
|
||||
- [a]rchive a file or directory:
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# autossh
|
||||
|
||||
> Run, monitor and restart SSH connections.
|
||||
> Auto-reconnects to keep port forwarding tunnels up. Accepts all `ssh` flags.
|
||||
> Auto-reconnects to keep port forwarding tunnels up. Accepts all SSH flags.
|
||||
> More information: <https://www.harding.motd.ca/autossh>.
|
||||
|
||||
- Start an SSH session, restarting when the [M]onitoring port fails to return data:
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
`autossh -M {{monitor_port}} -L {{local_port}}:localhost:{{remote_port}} {{user}}@{{host}}`
|
||||
|
||||
- Fork `autossh` into the background before executing `ssh` and do [N]ot open a remote shell:
|
||||
- Fork `autossh` into the background before executing SSH and do [N]ot open a remote shell:
|
||||
|
||||
`autossh -f -M {{monitor_port}} -N "{{ssh_command}}"`
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
|
||||
`autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" -o ExitOnForwardFailure=yes -L {{local_port}}:localhost:{{remote_port}} {{user}}@{{host}}`
|
||||
|
||||
- Run in the background, logging `autossh` debug output and `ssh` verbose output to files:
|
||||
- Run in the background, logging `autossh` debug output and SSH verbose output to files:
|
||||
|
||||
`AUTOSSH_DEBUG=1 AUTOSSH_LOGFILE={{path/to/autossh_log_file.log}} autossh -f -M {{monitor_port}} -v -E {{path/to/ssh_log_file.log}} {{ssh_command}}`
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Driver program for Atmel AVR microcontrollers programming.
|
||||
> More information: <https://www.nongnu.org/avrdude/>.
|
||||
|
||||
- [r]ead the flash ROM of a AVR microcontroller with a specific [p]art id:
|
||||
- [r]ead the flash ROM of a AVR microcontroller with a specific [p]art ID:
|
||||
|
||||
`avrdude -p {{part_no}} -c {{programmer_id}} -U flash:r:{{file.hex}}:i`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# az sshkey
|
||||
|
||||
> Manage ssh public keys with virtual machines.
|
||||
> Manage SSH public keys with virtual machines.
|
||||
> Part of `azure-cli` (also known as `az`).
|
||||
> More information: <https://learn.microsoft.com/cli/azure/sshkey>.
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
`az vm list`
|
||||
|
||||
- Create a virtual machine using the default Ubuntu image and generate ssh keys:
|
||||
- Create a virtual machine using the default Ubuntu image and generate SSH keys:
|
||||
|
||||
`az vm create --resource-group {{rg}} --name {{vm_name}} --image {{UbuntuLTS}} --admin-user {{azureuser}} --generate-ssh-keys`
|
||||
|
||||
|
@@ -23,6 +23,6 @@
|
||||
|
||||
`bzegrep --only-matching "{{search_pattern}}" {{path/to/file}}`
|
||||
|
||||
- Recursively search files in a `bzip2` compressed `tar` archive for a pattern:
|
||||
- Recursively search files in a bzip2 compressed tar archive for a pattern:
|
||||
|
||||
`bzegrep --recursive "{{search_pattern}}" {{path/to/file}}`
|
||||
|
@@ -23,6 +23,6 @@
|
||||
|
||||
`bzfgrep --only-matching "{{search_string}}" {{path/to/file}}`
|
||||
|
||||
- Recursively search files in a `bzip2` compressed `tar` archive for the given list of strings:
|
||||
- Recursively search files in a bzip2 compressed tar archive for the given list of strings:
|
||||
|
||||
`bzfgrep --recursive "{{search_string}}" {{path/to/file}}`
|
||||
|
@@ -23,7 +23,7 @@
|
||||
|
||||
`bzgrep --only-matching "{{search_pattern}}" {{path/to/file}}`
|
||||
|
||||
- Recursively search files in a `bzip2` compressed `tar` archive for a pattern:
|
||||
- Recursively search files in a bzip2 compressed tar archive for a pattern:
|
||||
|
||||
`bzgrep --recursive "{{search_pattern}}" {{path/to/tar/file}}`
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`cargo report {{future-incompatibilities|...}}`
|
||||
|
||||
- Display a report with the specified Cargo-generated id:
|
||||
- Display a report with the specified Cargo-generated ID:
|
||||
|
||||
`cargo report {{future-incompatibilities|...}} --id {{id}}`
|
||||
|
||||
|
@@ -4,19 +4,19 @@
|
||||
> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
|
||||
> More information: <https://graphviz.org/doc/info/command.html>.
|
||||
|
||||
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
||||
- Render a PNG image with a filename based on the input filename and output format (uppercase -O):
|
||||
|
||||
`circo -T {{png}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `svg` image with the specified output filename (lowercase -o):
|
||||
- Render a SVG image with the specified output filename (lowercase -o):
|
||||
|
||||
`circo -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||
|
||||
- Render the output in `ps`, `pdf`, `svg`, `fig`, `png`, `gif`, `jpg`, `json`, or `dot` format:
|
||||
- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format:
|
||||
|
||||
`circo -T {{format}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `gif` image using `stdin` and `stdout`:
|
||||
- Render a GIF image using `stdin` and `stdout`:
|
||||
|
||||
`echo "{{digraph {this -> that} }}" | circo -T {{gif}} > {{path/to/image.gif}}`
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
> Part of ImageMagick.
|
||||
> More information: <https://imagemagick.org/script/convert.php>.
|
||||
|
||||
- Convert an image from JPG to PNG:
|
||||
- Convert an image from JPEG to PNG:
|
||||
|
||||
`convert {{path/to/input_image.jpg}} {{path/to/output_image.png}}`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Quick visualization of large datasets using CLI based on datashader.
|
||||
> More information: <https://github.com/wybert/datashader-cli>.
|
||||
|
||||
- Create a shaded scatter plot of points and save it to a png file and set the background color:
|
||||
- Create a shaded scatter plot of points and save it to a PNG file and set the background color:
|
||||
|
||||
`datashader_cli points {{path/to/input.parquet}} --x {{pickup_x}} --y {{pickup_y}} {{path/to/output.png}} --background {{black|white|#rrggbb}}`
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
`dep rollback`
|
||||
|
||||
- Connect to a remote host via ssh:
|
||||
- Connect to a remote host via SSH:
|
||||
|
||||
`dep ssh {{hostname}}`
|
||||
|
||||
|
@@ -3,19 +3,19 @@
|
||||
> Build an image from a Dockerfile.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/build/>.
|
||||
|
||||
- Build a docker image using the Dockerfile in the current directory:
|
||||
- Build a Docker image using the Dockerfile in the current directory:
|
||||
|
||||
`docker build .`
|
||||
|
||||
- Build a docker image from a Dockerfile at a specified URL:
|
||||
- Build a Docker image from a Dockerfile at a specified URL:
|
||||
|
||||
`docker build {{github.com/creack/docker-firefox}}`
|
||||
|
||||
- Build a docker image and tag it:
|
||||
- Build a Docker image and tag it:
|
||||
|
||||
`docker build --tag {{name:tag}} .`
|
||||
|
||||
- Build a docker image with no build context:
|
||||
- Build a Docker image with no build context:
|
||||
|
||||
`docker build --tag {{name:tag}} - < {{Dockerfile}}`
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
`docker build --no-cache --tag {{name:tag}} .`
|
||||
|
||||
- Build a docker image using a specific Dockerfile:
|
||||
- Build a Docker image using a specific Dockerfile:
|
||||
|
||||
`docker build --file {{Dockerfile}} .`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# docker compose
|
||||
|
||||
> Run and manage multi container docker applications.
|
||||
> Run and manage multi container Docker applications.
|
||||
> More information: <https://docs.docker.com/compose/reference/>.
|
||||
|
||||
- List all running containers:
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
`docker container inspect {{container_name}}`
|
||||
|
||||
- Export a container's filesystem as a `tar` archive:
|
||||
- Export a container's filesystem as a tar archive:
|
||||
|
||||
`docker container export {{container_name}}`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# docker login
|
||||
|
||||
> Log into a docker registry.
|
||||
> Log into a Docker registry.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/login/>.
|
||||
|
||||
- Interactively log into a registry:
|
||||
|
@@ -3,11 +3,11 @@
|
||||
> Create and manage machines running Docker.
|
||||
> More information: <https://docs.docker.com/machine/reference/>.
|
||||
|
||||
- List currently running docker machines:
|
||||
- List currently running Docker machines:
|
||||
|
||||
`docker-machine ls`
|
||||
|
||||
- Create a new docker machine with specific name:
|
||||
- Create a new Docker machine with specific name:
|
||||
|
||||
`docker-machine create {{name}}`
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# docker network
|
||||
|
||||
> Create and manage docker networks.
|
||||
> Create and manage Docker networks.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/network/>.
|
||||
|
||||
- List all available and configured networks on docker daemon:
|
||||
- List all available and configured networks on Docker daemon:
|
||||
|
||||
`docker network ls`
|
||||
|
||||
|
@@ -3,11 +3,11 @@
|
||||
> List Docker containers.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/ps/>.
|
||||
|
||||
- List currently running docker containers:
|
||||
- List currently running Docker containers:
|
||||
|
||||
`docker ps`
|
||||
|
||||
- List all docker containers (running and stopped):
|
||||
- List all Docker containers (running and stopped):
|
||||
|
||||
`docker ps --all`
|
||||
|
||||
|
@@ -3,11 +3,11 @@
|
||||
> Export Docker images to archive.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/save/>.
|
||||
|
||||
- Save an image by redirecting `stdout` to a `tar` archive:
|
||||
- Save an image by redirecting `stdout` to a tar archive:
|
||||
|
||||
`docker save {{image}}:{{tag}} > {{path/to/file.tar}}`
|
||||
|
||||
- Save an image to a `tar` archive:
|
||||
- Save an image to a tar archive:
|
||||
|
||||
`docker save --output {{path/to/file.tar}} {{image}}:{{tag}}`
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# docker service
|
||||
|
||||
> Manage the services on a docker daemon.
|
||||
> Manage the services on a Docker daemon.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/service/>.
|
||||
|
||||
- List the services on a docker daemon:
|
||||
- List the services on a Docker daemon:
|
||||
|
||||
`docker service ls`
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`docker start`
|
||||
|
||||
- Start a docker container:
|
||||
- Start a Docker container:
|
||||
|
||||
`docker start {{container}}`
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`docker system`
|
||||
|
||||
- Show docker disk usage:
|
||||
- Show Docker disk usage:
|
||||
|
||||
`docker system df`
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
> Some subcommands such as `docker run` have their own usage documentation.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/cli/>.
|
||||
|
||||
- List all docker containers (running and stopped):
|
||||
- List all Docker containers (running and stopped):
|
||||
|
||||
`docker ps --all`
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
`docker {{start|stop}} {{container_name}}`
|
||||
|
||||
- Pull an image from a docker registry:
|
||||
- Pull an image from a Docker registry:
|
||||
|
||||
`docker pull {{image}}`
|
||||
|
||||
|
@@ -4,19 +4,19 @@
|
||||
> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
|
||||
> More information: <https://graphviz.org/doc/info/command.html>.
|
||||
|
||||
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
||||
- Render a PNG image with a filename based on the input filename and output format (uppercase -O):
|
||||
|
||||
`dot -T {{png}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `svg` image with the specified output filename (lowercase -o):
|
||||
- Render a SVG image with the specified output filename (lowercase -o):
|
||||
|
||||
`dot -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||
|
||||
- Render the output in `ps`, `pdf`, `svg`, `fig`, `png`, `gif`, `jpg`, `json`, or `dot` format:
|
||||
- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format:
|
||||
|
||||
`dot -T {{format}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `gif` image using `stdin` and `stdout`:
|
||||
- Render a GIF image using `stdin` and `stdout`:
|
||||
|
||||
`echo "{{digraph {this -> that} }}" | dot -T {{gif}} > {{path/to/image.gif}}`
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
`duplicity collection-status "file://{{absolute/path/to/backup/directory}}"`
|
||||
|
||||
- List the files in a backup stored on a remote machine, via ssh:
|
||||
- List the files in a backup stored on a remote machine, via SSH:
|
||||
|
||||
`duplicity list-current-files --time {{YYYY-MM-DD}} scp://{{user@hostname}}/{{path/to/backup/dir}}`
|
||||
|
||||
|
@@ -4,26 +4,26 @@
|
||||
> Animated WebP files are not supported.
|
||||
> More information: <https://developers.google.com/speed/webp/docs/dwebp/>.
|
||||
|
||||
- Convert a `webp` file into a `png` file:
|
||||
- Convert a WebP file into a PNG file:
|
||||
|
||||
`dwebp {{path/to/input.webp}} -o {{path/to/output.png}}`
|
||||
|
||||
- Convert a `webp` file into a specific filetype:
|
||||
- Convert a WebP file into a specific filetype:
|
||||
|
||||
`dwebp {{path/to/input.webp}} -bmp|-tiff|-pam|-ppm|-pgm|-yuv -o {{path/to/output}}`
|
||||
|
||||
- Convert a `webp` file, using multi-threading if possible:
|
||||
- Convert a WebP file, using multi-threading if possible:
|
||||
|
||||
`dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -mt`
|
||||
|
||||
- Convert a `webp` file, but also crop and scale at the same time:
|
||||
- Convert a WebP file, but also crop and scale at the same time:
|
||||
|
||||
`dwebp {{input.webp}} -o {{output.png}} -crop {{x_pos}} {{y_pos}} {{width}} {{height}} -scale {{width}} {{height}}`
|
||||
|
||||
- Convert a `webp` file and flip the output:
|
||||
- Convert a WebP file and flip the output:
|
||||
|
||||
`dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -flip`
|
||||
|
||||
- Convert a `webp` file and don't use in-loop filtering to speed up the decoding process:
|
||||
- Convert a WebP file and don't use in-loop filtering to speed up the decoding process:
|
||||
|
||||
`dwebp {{path/to/input.webp}} -o {{path/to/output.png}} -nofilter`
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# ect
|
||||
|
||||
> Efficient Compression Tool.
|
||||
> File optimizer written in C++. It supports `.png`, `.jpg`, `.gzip` and `.zip` files.
|
||||
> File optimizer written in C++. It supports PNG, JPEG, gzip and Zip files.
|
||||
> More information: <https://github.com/fhanau/Efficient-Compression-Tool>.
|
||||
|
||||
- Compress a file:
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
`fastmod {{regex}} {{replacement}} --dir {{path/to/directory}} --iglob {{'**/*.{js,json}'}}`
|
||||
|
||||
- Replace for an exact string in .js or .json files:
|
||||
- Replace for an exact string in `.js` or JSON files:
|
||||
|
||||
`fastmod --fixed-strings {{exact_string}} {{replacement}} --extensions {{json,js}}`
|
||||
|
||||
|
@@ -4,11 +4,11 @@
|
||||
> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
|
||||
> More information: <https://graphviz.org/doc/info/command.html>.
|
||||
|
||||
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
||||
- Render a PNG image with a filename based on the input filename and output format (uppercase -O):
|
||||
|
||||
`fdp -T png -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `svg` image with the specified output filename (lowercase -o):
|
||||
- Render a SVG image with the specified output filename (lowercase -o):
|
||||
|
||||
`fdp -T svg -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||
|
||||
|
@@ -3,14 +3,14 @@
|
||||
> Print the content of the first (non-directory) member in an archive without extraction.
|
||||
> More information: <https://manned.org/funzip>.
|
||||
|
||||
- Print the content of the first member in a `.zip` archive:
|
||||
- Print the content of the first member in a Zip archive:
|
||||
|
||||
`funzip {{path/to/archive.zip}}`
|
||||
|
||||
- Print the content in a `.gz` archive:
|
||||
- Print the content in a gzip archive:
|
||||
|
||||
`funzip {{path/to/archive.gz}}`
|
||||
|
||||
- Decrypt a `.zip` or `.gz` archive and print the content:
|
||||
- Decrypt a Zip or gzip archive and print the content:
|
||||
|
||||
`funzip -password {{password}} {{path/to/archive}}`
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# gcpdiag
|
||||
|
||||
> Google Cloud Platform troubleshooting and diagnostics tool.
|
||||
> Run in a docker container or in GCP Cloudshell.
|
||||
> Run in a Docker container or in GCP Cloudshell.
|
||||
> More information: <https://github.com/GoogleCloudPlatform/gcpdiag>.
|
||||
|
||||
- Run `gcpdiag` on your project, returning all rules:
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# git archive-file
|
||||
|
||||
> Export all the files of the current Git branch into a `zip` archive.
|
||||
> Export all the files of the current Git branch into a Zip archive.
|
||||
> Part of `git-extras`.
|
||||
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-archive-file>.
|
||||
|
||||
- Pack the currently checked out commit into a `zip` archive:
|
||||
- Pack the currently checked out commit into a Zip archive:
|
||||
|
||||
`git archive-file`
|
||||
|
@@ -15,6 +15,6 @@
|
||||
|
||||
`git init --object-format={{sha256}}`
|
||||
|
||||
- Initialize a barebones repository, suitable for use as a remote over ssh:
|
||||
- Initialize a barebones repository, suitable for use as a remote over SSH:
|
||||
|
||||
`git init --bare`
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
`helm install {{name}} {{repository_name}}/{{chart_name}}`
|
||||
|
||||
- Download helm chart as a `tar` archive:
|
||||
- Download helm chart as a tar archive:
|
||||
|
||||
`helm get {{chart_release_name}}`
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
`httpflow -u '{{regular_expression}}'`
|
||||
|
||||
- Read packets from pcap format binary file:
|
||||
- Read packets from PCAP format binary file:
|
||||
|
||||
`httpflow -r {{out.cap}}`
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
`httpry -o {{path/to/file.log}}`
|
||||
|
||||
- Listen on a specific interface and save output to a binary pcap format file:
|
||||
- Listen on a specific interface and save output to a binary PCAP format file:
|
||||
|
||||
`httpry {{eth0}} -b {{path/to/file.pcap}}`
|
||||
|
||||
|
@@ -3,6 +3,6 @@
|
||||
> Clone an existing repository.
|
||||
> More information: <https://hub.github.com/hub-clone.1.html>.
|
||||
|
||||
- Clone an existing repository to current directory (If run into authentication problem, try full ssh path):
|
||||
- Clone an existing repository to current directory (If run into authentication problem, try full SSH path):
|
||||
|
||||
`hub clone {{remote_repository_location}}`
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Produce aggregate statistics of TCP/IP dumps.
|
||||
> More information: <https://manned.org/ipaggcreate>.
|
||||
|
||||
- Count the number of packets sent from each source address appearing in a pcap file:
|
||||
- Count the number of packets sent from each source address appearing in a PCAP file:
|
||||
|
||||
`ipaggcreate --src {{path/to/file.pcap}}`
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
|
||||
`ipaggcreate --interface {{eth0}} --length`
|
||||
|
||||
- Count the number of bytes sent between each address pair appearing in a pcap file:
|
||||
- Count the number of bytes sent between each address pair appearing in a PCAP file:
|
||||
|
||||
`ipaggcreate --address-pairs --bytes {{path/to/file.pcap}}`
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Summarise TCP/IP dumps into a human and machine readable ASCII format.
|
||||
> More information: <https://manned.org/ipsumdump>.
|
||||
|
||||
- Print the source and destination IP addresses of all packets in a pcap file:
|
||||
- Print the source and destination IP addresses of all packets in a PCAP file:
|
||||
|
||||
`ipsumdump --src --dst {{path/to/file.pcap}}`
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
|
||||
`ipsumdump --interface {{eth0}} -tsSdDp`
|
||||
|
||||
- Print the anonymised source address, anonymised destination address, and IP packet length of all packets in a pcap file:
|
||||
- Print the anonymised source address, anonymised destination address, and IP packet length of all packets in a PCAP file:
|
||||
|
||||
`ipsumdump --src --dst --length --anonymize {{path/to/file.pcap}}`
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`jhat {{dump_file.bin}}`
|
||||
|
||||
- Analyze a heap dump, specifying an alternate port for the http server:
|
||||
- Analyze a heap dump, specifying an alternate port for the HTTP server:
|
||||
|
||||
`jhat -p {{port}} {{dump_file.bin}}`
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`kops create cluster -f {{cluster_name.yaml}}`
|
||||
|
||||
- Create a new ssh public key:
|
||||
- Create a new SSH public key:
|
||||
|
||||
`kops create secret sshpublickey {{key_name}} -i {{~/.ssh/id_rsa.pub}}`
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
`magick {{path/to/input_image.jpg}} -resize {{100x100}} {{path/to/output_image.jpg}}`
|
||||
|
||||
- Create a GIF out of all JPG images in the current directory:
|
||||
- Create a GIF out of all JPEG images in the current directory:
|
||||
|
||||
`magick {{*.jpg}} {{path/to/images.gif}}`
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
|
||||
`magick -size {{640x480}} pattern:checkerboard {{path/to/checkerboard.png}}`
|
||||
|
||||
- Create a PDF file out of all JPG images in the current directory:
|
||||
- Create a PDF file out of all JPEG images in the current directory:
|
||||
|
||||
`magick {{*.jpg}} -adjoin {{path/to/file.pdf}}`
|
||||
|
@@ -4,19 +4,19 @@
|
||||
> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
|
||||
> More information: <https://graphviz.org/doc/info/command.html>.
|
||||
|
||||
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
||||
- Render a PNG image with a filename based on the input filename and output format (uppercase -O):
|
||||
|
||||
`neato -T {{png}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `svg` image with the specified output filename (lowercase -o):
|
||||
- Render a SVG image with the specified output filename (lowercase -o):
|
||||
|
||||
`neato -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||
|
||||
- Render the output in `ps`, `pdf`, `svg`, `fig`, `png`, `gif`, `jpg`, `json`, or `dot` format:
|
||||
- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format:
|
||||
|
||||
`neato -T {{format}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `gif` image using `stdin` and `stdout`:
|
||||
- Render a GIF image using `stdin` and `stdout`:
|
||||
|
||||
`echo "{{graph {this -- that} }}" | neato -T {{gif}} > {{path/to/image.gif}}`
|
||||
|
||||
|
@@ -8,11 +8,11 @@
|
||||
|
||||
`nix registry pin {{nixpkgs}}`
|
||||
|
||||
- Pin an entry to the latest version of the branch, or a particular reivision of a github repository:
|
||||
- Pin an entry to the latest version of the branch, or a particular reivision of a GitHub repository:
|
||||
|
||||
`nix registry pin {{entry}} {{github:owner/repo/branch_or_revision}}`
|
||||
|
||||
- Add a new entry that always points to the latest version of a github repository, updating automatically:
|
||||
- Add a new entry that always points to the latest version of a GitHub repository, updating automatically:
|
||||
|
||||
`nix registry add {{entry}} {{github:owner/repo}}`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Monitor a process and trigger a banner notification.
|
||||
> More information: <https://github.com/variadico/noti>.
|
||||
|
||||
- Display a notification when `tar` finishes compressing files:
|
||||
- Display a notification when tar finishes compressing files:
|
||||
|
||||
`noti {{tar -cjf example.tar.bz2 example/}}`
|
||||
|
||||
|
@@ -4,19 +4,19 @@
|
||||
> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
|
||||
> More information: <https://graphviz.org/doc/info/command.html>.
|
||||
|
||||
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
||||
- Render a PNG image with a filename based on the input filename and output format (uppercase -O):
|
||||
|
||||
`osage -T {{png}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `svg` image with the specified output filename (lowercase -o):
|
||||
- Render a SVG image with the specified output filename (lowercase -o):
|
||||
|
||||
`osage -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||
|
||||
- Render the output in `ps`, `pdf`, `svg`, `fig`, `png`, `gif`, `jpg`, `json`, or `dot` format:
|
||||
- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format:
|
||||
|
||||
`osage -T {{format}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `gif` image using `stdin` and `stdout`:
|
||||
- Render a GIF image using `stdin` and `stdout`:
|
||||
|
||||
`echo "{{digraph {this -> that} }}" | osage -T {{gif}} > {{path/to/image.gif}}`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Scan various mediums for dependencies and matches them against the OSV database.
|
||||
> More information: <https://osv.dev/about>.
|
||||
|
||||
- Scan a docker image:
|
||||
- Scan a Docker image:
|
||||
|
||||
`osv-scanner -D {{docker_image_name}}`
|
||||
|
||||
|
@@ -19,6 +19,6 @@
|
||||
|
||||
`packwiz refresh`
|
||||
|
||||
- Export as a Modrinth (`.mrpack`) or Curseforge (`.zip`) file:
|
||||
- Export as a Modrinth (`.mrpack`) or Curseforge (Zip) file:
|
||||
|
||||
`packwiz {{modrinth|curseforge}} export`
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
`ls *.txt | parallel -j4 gzip`
|
||||
|
||||
- Convert JPG images to PNG using replacement strings:
|
||||
- Convert JPEG images to PNG using replacement strings:
|
||||
|
||||
`parallel convert {} {.}.png ::: *.jpg`
|
||||
|
||||
|
@@ -4,15 +4,15 @@
|
||||
> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
|
||||
> More information: <https://graphviz.org/doc/info/command.html>.
|
||||
|
||||
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
||||
- Render a PNG image with a filename based on the input filename and output format (uppercase -O):
|
||||
|
||||
`patchwork -T {{png}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `svg` image with the specified output filename (lowercase -o):
|
||||
- Render a SVG image with the specified output filename (lowercase -o):
|
||||
|
||||
`patchwork -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||
|
||||
- Render the output in `ps`, `pdf`, `svg`, `fig`, `png`, `gif`, `jpg`, `json`, or `dot` format:
|
||||
- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format:
|
||||
|
||||
`patchwork -T {{format}} -O {{path/to/input.gv}}`
|
||||
|
||||
|
@@ -1,21 +1,21 @@
|
||||
# pcapfix
|
||||
|
||||
> Repair damaged or corrupted `pcap` and `pcapng` files.
|
||||
> Repair damaged or corrupted PCAP and PcapNG files.
|
||||
> More information: <https://f00l.de/pcapfix/>.
|
||||
|
||||
- Repair a `pcap`/`pcapng` file (Note: for `pcap` files, only the first 262144 bytes of each packet are scanned):
|
||||
- Repair a PCAP/PCapNG file (Note: for PCAP files, only the first 262144 bytes of each packet are scanned):
|
||||
|
||||
`pcapfix {{path/to/file.pcapng}}`
|
||||
|
||||
- Repair an entire `pcap` file:
|
||||
- Repair an entire PCAP file:
|
||||
|
||||
`pcapfix --deep-scan {{path/to/file.pcap}}`
|
||||
|
||||
- Repair a `pcap`/`pcapng` file and write the repaired file to the specified location:
|
||||
- Repair a PCAP/PcapNG file and write the repaired file to the specified location:
|
||||
|
||||
`pcapfix --outfile {{path/to/repaired.pcap}} {{path/to/file.pcap}}`
|
||||
|
||||
- Repair a `pcapng` file and treat it as a `pcapng` file, ignoring the automatic recognition:
|
||||
- Repair a PcapNG file and treat it as a PcapNG file, ignoring the automatic recognition:
|
||||
|
||||
`pcapfix --pcapng {{path/to/file.pcapng}}`
|
||||
|
||||
|
@@ -3,11 +3,11 @@
|
||||
> List Podman containers.
|
||||
> More information: <https://docs.podman.io/en/latest/markdown/podman-ps.1.html>.
|
||||
|
||||
- List currently running podman containers:
|
||||
- List currently running Podman containers:
|
||||
|
||||
`podman ps`
|
||||
|
||||
- List all podman containers (running and stopped):
|
||||
- List all Podman containers (running and stopped):
|
||||
|
||||
`podman ps --all`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Find regular expression patterns in tar archive files.
|
||||
> More information: <https://manned.org/ptargrep>.
|
||||
|
||||
- Search for a pattern within one or more `tar` archives:
|
||||
- Search for a pattern within one or more tar archives:
|
||||
|
||||
`ptargrep "{{search_pattern}}" {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
|
||||
`ptargrep --basename "{{search_pattern}}" {{path/to/file}}`
|
||||
|
||||
- Search for a case-insensitive pattern matching within a `tar` archive:
|
||||
- Search for a case-insensitive pattern matching within a tar archive:
|
||||
|
||||
`ptargrep --ignore-case "{{search_pattern}}" {{path/to/file}}`
|
||||
|
@@ -7,6 +7,6 @@
|
||||
|
||||
`pueue send {{task_id}} "{{input}}"`
|
||||
|
||||
- Send confirmation to a task expecting y/N (e.g. apt, cp):
|
||||
- Send confirmation to a task expecting y/N (e.g. APT, cp):
|
||||
|
||||
`pueue send {{task_id}} {{y}}`
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
`cat {{index.html}} | pup '{{tag}}'`
|
||||
|
||||
- Filter HTML by id:
|
||||
- Filter HTML by ID:
|
||||
|
||||
`cat {{index.html}} | pup '{{div#id}}'`
|
||||
|
||||
|
@@ -1,13 +1,13 @@
|
||||
# q
|
||||
|
||||
> Execute SQL-like queries on .csv and .tsv files.
|
||||
> Execute SQL-like queries on CSV and TSV files.
|
||||
> More information: <https://harelba.github.io/q>.
|
||||
|
||||
- Query `.csv` file by specifying the delimiter as ',':
|
||||
- Query a CSV file by specifying the delimiter as ',':
|
||||
|
||||
`q -d',' "SELECT * from {{path/to/file}}"`
|
||||
|
||||
- Query `.tsv` file:
|
||||
- Query a TSV file:
|
||||
|
||||
`q -t "SELECT * from {{path/to/file}}"`
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`qcp {{source_file}}`
|
||||
|
||||
- Copy multiple JPG files:
|
||||
- Copy multiple JPEG files:
|
||||
|
||||
`qcp {{*.jpg}}`
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`qmv {{source_file}}`
|
||||
|
||||
- Move multiple JPG files:
|
||||
- Move multiple JPEG files:
|
||||
|
||||
`qmv {{*.jpg}}`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# rarcrack
|
||||
|
||||
> Password cracker for `rar`, `zip` and `7z` archives.
|
||||
> Password cracker for RAR, Zip and 7z archives.
|
||||
|
||||
- Brute force the password for an archive (tries to guess the archive type):
|
||||
|
||||
|
@@ -1,13 +1,13 @@
|
||||
# sc_warts2pcap
|
||||
|
||||
> Write packets included in `warts` object to a `pcap` file.
|
||||
> Write packets included in `warts` object to a PCAP file.
|
||||
> This is only possible for tbit, sting and sniff.
|
||||
> More information: <https://www.caida.org/catalog/software/scamper/>.
|
||||
|
||||
- Convert the data from several `warts` files into one `pcap` file:
|
||||
- Convert the data from several `warts` files into one PCAP file:
|
||||
|
||||
`sc_warts2pcap -o {{path/to/output.pcap}} {{path/to/file1.warts path/to/file2.warts ...}}`
|
||||
|
||||
- Convert the data from a `warts` file into a `pcap` file and sort the packets by timestamp:
|
||||
- Convert the data from a `warts` file into a PCAP file and sort the packets by timestamp:
|
||||
|
||||
`sc_warts2pcap -s -o {{path/to/output.pcap}} {{path/to/file.warts}}`
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
`scp {{path/to/local_file}} {{remote_username}}@{{remote_host}}:{{path/to/remote_directory}}`
|
||||
|
||||
- Use a specific ssh private key for authentication with the remote host:
|
||||
- Use a specific SSH private key for authentication with the remote host:
|
||||
|
||||
`scp -i {{~/.ssh/private_key}} {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}`
|
||||
|
||||
|
@@ -4,19 +4,19 @@
|
||||
> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
|
||||
> More information: <https://graphviz.org/doc/info/command.html>.
|
||||
|
||||
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
||||
- Render a PNG image with a filename based on the input filename and output format (uppercase -O):
|
||||
|
||||
`sfdp -T {{png}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `svg` image with the specified output filename (lowercase -o):
|
||||
- Render a SVG image with the specified output filename (lowercase -o):
|
||||
|
||||
`sfdp -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||
|
||||
- Render the output in `ps`, `pdf`, `svg`, `fig`, `png`, `gif`, `jpg`, `json`, or `dot` format:
|
||||
- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format:
|
||||
|
||||
`sfdp -T {{format}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `gif` image using `stdin` and `stdout`:
|
||||
- Render a GIF image using `stdin` and `stdout`:
|
||||
|
||||
`echo "{{digraph {this -> that} }}" | sfdp -T {{gif}} > {{path/to/image.gif}}`
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
> Ensure that `ssh-agent` is up and running for the keys to be loaded in it.
|
||||
> More information: <https://man.openbsd.org/ssh-add>.
|
||||
|
||||
- Add the default ssh keys in `~/.ssh` to the ssh-agent:
|
||||
- Add the default SSH keys in `~/.ssh` to the ssh-agent:
|
||||
|
||||
`ssh-add`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# ssh-keygen
|
||||
|
||||
> Generate ssh keys used for authentication, password-less logins, and other things.
|
||||
> Generate SSH keys used for authentication, password-less logins, and other things.
|
||||
> More information: <https://man.openbsd.org/ssh-keygen>.
|
||||
|
||||
- Generate a key interactively:
|
||||
|
@@ -1,20 +1,20 @@
|
||||
# ssh-keyscan
|
||||
|
||||
> Get the public ssh keys of remote hosts.
|
||||
> Get the public SSH keys of remote hosts.
|
||||
> More information: <https://man.openbsd.org/ssh-keyscan>.
|
||||
|
||||
- Retrieve all public ssh keys of a remote host:
|
||||
- Retrieve all public SSH keys of a remote host:
|
||||
|
||||
`ssh-keyscan {{host}}`
|
||||
|
||||
- Retrieve all public ssh keys of a remote host listening on a specific port:
|
||||
- Retrieve all public SSH keys of a remote host listening on a specific port:
|
||||
|
||||
`ssh-keyscan -p {{port}} {{host}}`
|
||||
|
||||
- Retrieve certain types of public ssh keys of a remote host:
|
||||
- Retrieve certain types of public SSH keys of a remote host:
|
||||
|
||||
`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{host}}`
|
||||
|
||||
- Manually update the ssh known_hosts file with the fingerprint of a given host:
|
||||
- Manually update the SSH known_hosts file with the fingerprint of a given host:
|
||||
|
||||
`ssh-keyscan -H {{host}} >> ~/.ssh/known_hosts`
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
`ssh -i {{path/to/key_file}} {{username}}@{{remote_host}}`
|
||||
|
||||
- Connect to a remote server using a specific port:
|
||||
- Connect to a remote server using a specific [p]ort:
|
||||
|
||||
`ssh {{username}}@{{remote_host}} -p {{2222}}`
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
`ssh {{username}}@{{remote_host}} -t {{command}} {{command_arguments}}`
|
||||
|
||||
- SSH tunneling: Dynamic port forwarding (SOCKS proxy on `localhost:1080`):
|
||||
- SSH tunneling: [D]ynamic port forwarding (SOCKS proxy on `localhost:1080`):
|
||||
|
||||
`ssh -D {{1080}} {{username}}@{{remote_host}}`
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
`ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{username}}@{{remote_host}}`
|
||||
|
||||
- SSH jumping: Connect through a jumphost to a remote server (Multiple jump hops may be specified separated by comma characters):
|
||||
- SSH [J]umping: Connect through a jumphost to a remote server (Multiple jump hops may be specified separated by comma characters):
|
||||
|
||||
`ssh -J {{username}}@{{jump_host}} {{username}}@{{remote_host}}`
|
||||
|
||||
|
@@ -1,17 +1,17 @@
|
||||
# sshpass
|
||||
|
||||
> An ssh password provider.
|
||||
> It works by creating a TTY, feeding the password into it, and then redirecting `stdin` to the ssh session.
|
||||
> An SSH password provider.
|
||||
> It works by creating a TTY, feeding the password into it, and then redirecting `stdin` to the SSH session.
|
||||
> More information: <https://manned.org/sshpass>.
|
||||
|
||||
- Connect to a remote server using a password supplied on a file descriptor (in this case, `stdin`):
|
||||
|
||||
`sshpass -d {{0}} ssh {{user}}@{{hostname}}`
|
||||
|
||||
- Connect to a remote server with the password supplied as an option, and automatically accept unknown ssh keys:
|
||||
- Connect to a remote server with the password supplied as an option, and automatically accept unknown SSH keys:
|
||||
|
||||
`sshpass -p {{password}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}}`
|
||||
|
||||
- Connect to a remote server using the first line of a file as the password, automatically accept unknown ssh keys, and launch a command:
|
||||
- Connect to a remote server using the first line of a file as the password, automatically accept unknown SSH keys, and launch a command:
|
||||
|
||||
`sshpass -f {{path/to/file}} ssh -o StrictHostKeyChecking=no {{user}}@{{hostname}} "{{command}}"`
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
`tar caf {{path/to/target.tar.xz}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Lis[t] the contents of a `tar` [f]ile [v]erbosely:
|
||||
- Lis[t] the contents of a tar [f]ile [v]erbosely:
|
||||
|
||||
`tar tvf {{path/to/source.tar}}`
|
||||
|
||||
|
@@ -1,13 +1,13 @@
|
||||
# textql
|
||||
|
||||
> Execute SQL against structured text like csv or tsv files.
|
||||
> Execute SQL against structured text like CSV or TSV files.
|
||||
> More information: <https://github.com/dinedal/textql>.
|
||||
|
||||
- Print the lines in the specified `.csv` file that match an SQL query to `stdout`:
|
||||
- Print the lines in the specified CSV file that match an SQL query to `stdout`:
|
||||
|
||||
`textql -sql "{{SELECT * FROM filename}}" {{path/to/filename.csv}}`
|
||||
|
||||
- Query `.tsv` file:
|
||||
- Query a TSV file:
|
||||
|
||||
`textql -dlm=tab -sql "{{SELECT * FROM filename}}" {{path/to/filename.tsv}}`
|
||||
|
||||
|
@@ -4,19 +4,19 @@
|
||||
> Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
|
||||
> More information: <https://graphviz.org/doc/info/command.html>.
|
||||
|
||||
- Render a `png` image with a filename based on the input filename and output format (uppercase -O):
|
||||
- Render a PNG image with a filename based on the input filename and output format (uppercase -O):
|
||||
|
||||
`twopi -T {{png}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `svg` image with the specified output filename (lowercase -o):
|
||||
- Render a SVG image with the specified output filename (lowercase -o):
|
||||
|
||||
`twopi -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||
|
||||
- Render the output in `ps`, `pdf`, `svg`, `fig`, `png`, `gif`, `jpg`, `json`, or `dot` format:
|
||||
- Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format:
|
||||
|
||||
`twopi -T {{format}} -O {{path/to/input.gv}}`
|
||||
|
||||
- Render a `gif` image using `stdin` and `stdout`:
|
||||
- Render a GIF image using `stdin` and `stdout`:
|
||||
|
||||
`echo "{{digraph {this -> that} }}" | twopi -T {{gif}} > {{path/to/image.gif}}`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Convert RAW files from cameras into standard image files.
|
||||
> More information: <https://manned.org/ufraw-batch>.
|
||||
|
||||
- Simply convert RAW files to JPG:
|
||||
- Simply convert RAW files to JPEG:
|
||||
|
||||
`ufraw-batch --out-type=jpg {{input_file(s)}}`
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
|
||||
`ugrep --fuzzy={{3}} "{{search_pattern}}"`
|
||||
|
||||
- Also search compressed files, `zip` and `tar` archives recursively:
|
||||
- Also search compressed files, Zip and tar archives recursively:
|
||||
|
||||
`ugrep --decompress "{{search_pattern}}"`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# unzip
|
||||
|
||||
> Extract files/directories from ZIP archives.
|
||||
> Extract files/directories from Zip archives.
|
||||
> See also: `zip`.
|
||||
> More information: <https://manned.org/unzip>.
|
||||
|
||||
|
@@ -16,6 +16,6 @@
|
||||
|
||||
`virsh connect qemu:///session`
|
||||
|
||||
- Connect as root to a remote hypervisor using ssh:
|
||||
- Connect as root to a remote hypervisor using SSH:
|
||||
|
||||
`virsh connect qemu+ssh://{{user_name@host_name}}/system`
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# virsh
|
||||
|
||||
> Manage virsh guest domains. (Note: 'guest_id' can be the id, name or UUID of the guest).
|
||||
> Manage virsh guest domains. (Note: 'guest_id' can be the ID, name or UUID of the guest).
|
||||
> Some subcommands such as `virsh list` have their own usage documentation.
|
||||
> More information: <https://libvirt.org/virshcmdref.html>.
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
`vt analysis {{file_id|analysis_id}}`
|
||||
|
||||
- Download files in encrypted `.zip` format (requires premium account):
|
||||
- Download files in encrypted Zip format (requires premium account):
|
||||
|
||||
`vt download {{file_id}} --output {{path/to/directory}} --zip --zip-password {{password}}`
|
||||
|
||||
|
@@ -4,11 +4,11 @@
|
||||
> See also: `warp-cli`.
|
||||
> More information: <https://developers.cloudflare.com/warp-client/>.
|
||||
|
||||
- Generate a `zip` file with information about the system configuration and the WARP connection:
|
||||
- Generate a Zip file with information about the system configuration and the WARP connection:
|
||||
|
||||
`warp-diag`
|
||||
|
||||
- Generate a `zip` file with debug information including a timestamp to the output filename:
|
||||
- Generate a Zip file with debug information including a timestamp to the output filename:
|
||||
|
||||
`warp-diag --add-ts`
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`webpack {{app.js}} {{bundle.js}}`
|
||||
|
||||
- Load CSS files too from the JavaScript file (this uses the CSS loader for `.css` files):
|
||||
- Load CSS files too from the JavaScript file (this uses the CSS loader for CSS files):
|
||||
|
||||
`webpack {{app.js}} {{bundle.js}} --module-bind '{{css=css}}'`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Locate the binary, source, and manual page files for a command.
|
||||
> More information: <https://manned.org/whereis>.
|
||||
|
||||
- Locate binary, source and man pages for ssh:
|
||||
- Locate binary, source and man pages for SSH:
|
||||
|
||||
`whereis {{ssh}}`
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
> Use the `who` command to find out all terminal_ids of all active users active on the system. See also `mesg`.
|
||||
> More information: <https://manned.org/write>.
|
||||
|
||||
- Send a message to a given user on a given terminal id:
|
||||
- Send a message to a given user on a given terminal ID:
|
||||
|
||||
`write {{username}} {{terminal_id}}`
|
||||
|
||||
|
@@ -12,6 +12,6 @@
|
||||
|
||||
`xkill -button any`
|
||||
|
||||
- Kill a window with a specific id (use `xwininfo` to get info about windows):
|
||||
- Kill a window with a specific ID (use `xwininfo` to get info about windows):
|
||||
|
||||
`xkill -id {{id}}`
|
||||
|
@@ -15,6 +15,6 @@
|
||||
|
||||
`xprop -font "{{font_name}}" POINT_SIZE`
|
||||
|
||||
- Display all the properties of the window with the id 0x200007:
|
||||
- Display all the properties of the window with the ID 0x200007:
|
||||
|
||||
`xprop -id {{0x200007}}`
|
||||
|
@@ -1,13 +1,13 @@
|
||||
# xz
|
||||
|
||||
> Compress or decompress `.xz` and `.lzma` files.
|
||||
> Compress or decompress XZ and LZMA files.
|
||||
> More information: <https://manned.org/xz>.
|
||||
|
||||
- Compress a file using xz:
|
||||
|
||||
`xz {{path/to/file}}`
|
||||
|
||||
- Decompress an xz file:
|
||||
- Decompress an XZ file:
|
||||
|
||||
`xz --decompress {{path/to/file.xz}}`
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
`xz --format=lzma {{path/to/file}}`
|
||||
|
||||
- Decompress an lzma file:
|
||||
- Decompress an LZMA file:
|
||||
|
||||
`xz --decompress --format=lzma {{path/to/file.lzma}}`
|
||||
|
||||
|
@@ -24,6 +24,6 @@
|
||||
|
||||
`sudo zeek --watchdog --iface {{interface}}`
|
||||
|
||||
- Analyze traffic from a `pcap` file:
|
||||
- Analyze traffic from a PCAP file:
|
||||
|
||||
`zeek --readfile {{path/to/file.trace}}`
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# zip
|
||||
|
||||
> Package and compress (archive) files into `zip` archive.
|
||||
> Package and compress (archive) files into a Zip archive.
|
||||
> See also: `unzip`.
|
||||
> More information: <https://manned.org/zip>.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
`zip -r -e {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||
|
||||
- Archive files/directories to a multi-part [s]plit `zip` archive (e.g. 3 GB parts):
|
||||
- Archive files/directories to a multi-part [s]plit Zip archive (e.g. 3 GB parts):
|
||||
|
||||
`zip -r -s {{3g}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# zip2john
|
||||
|
||||
> Extract password hashes from `zip` archives for use with John the Ripper password cracker.
|
||||
> Extract password hashes from Zip archives for use with John the Ripper password cracker.
|
||||
> This is a utility tool usually installed as part of the John the Ripper installation.
|
||||
> More information: <https://www.openwall.com/john/>.
|
||||
|
||||
|
@@ -4,10 +4,10 @@
|
||||
> Part of the Android SDK build tools.
|
||||
> More information: <https://developer.android.com/tools/zipalign>.
|
||||
|
||||
- Align the data of a ZIP file on 4-byte boundaries:
|
||||
- Align the data of a Zip file on 4-byte boundaries:
|
||||
|
||||
`zipalign {{4}} {{path/to/input.zip}} {{path/to/output.zip}}`
|
||||
|
||||
- Check that a ZIP file is correctly aligned on 4-byte boundaries and display the results in a verbose manner:
|
||||
- Check that a Zip file is correctly aligned on 4-byte boundaries and display the results in a verbose manner:
|
||||
|
||||
`zipalign -v -c {{4}} {{path/to/input.zip}}`
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# zipgrep
|
||||
|
||||
> Find patterns in files in a ZIP archive using extended regular expression (supports `?`, `+`, `{}`, `()` and `|`).
|
||||
> Find patterns in files in a Zip archive using extended regular expression (supports `?`, `+`, `{}`, `()` and `|`).
|
||||
> More information: <https://manned.org/zipgrep>.
|
||||
|
||||
- Search for a pattern within a ZIP archive:
|
||||
- Search for a pattern within a Zip archive:
|
||||
|
||||
`zipgrep "{{search_pattern}}" {{path/to/file.zip}}`
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
|
||||
`zipgrep -v "{{search_pattern}}" {{path/to/file.zip}}`
|
||||
|
||||
- Specify files inside a ZIP archive from search:
|
||||
- Specify files inside a Zip archive from search:
|
||||
|
||||
`zipgrep "{{search_pattern}}" {{path/to/file.zip}} {{file/to/search1}} {{file/to/search2}}`
|
||||
|
||||
- Exclude files inside a ZIP archive from search:
|
||||
- Exclude files inside a Zip archive from search:
|
||||
|
||||
`zipgrep "{{search_pattern}}" {{path/to/file.zip}} -x {{file/to/exclude1}} {{file/to/exclude2}}`
|
||||
|
@@ -1,12 +1,12 @@
|
||||
# zipinfo
|
||||
|
||||
> List detailed information about the contents of a `.zip` file.
|
||||
> List detailed information about the contents of a Zip file.
|
||||
> More information: <https://manned.org/zipinfo>.
|
||||
|
||||
- List all files in a `.zip` file in long format (permissions, ownership, size, and modification date):
|
||||
- List all files in a Zip file in long format (permissions, ownership, size, and modification date):
|
||||
|
||||
`zipinfo {{path/to/archive.zip}}`
|
||||
|
||||
- List all files in a `.zip` file:
|
||||
- List all files in a Zip file:
|
||||
|
||||
`zipinfo -1 {{path/to/archive.zip}}`
|
||||
|
@@ -1,17 +1,17 @@
|
||||
# zipnote
|
||||
|
||||
> View, add, or edit a `zip` archive's comments.
|
||||
> Files can also be renamed in the `zip` archive.
|
||||
> View, add, or edit a Zip archive's comments.
|
||||
> Files can also be renamed in the Zip archive.
|
||||
> More information: <https://manned.org/zipnote>.
|
||||
|
||||
- View the comments on a `zip` archive:
|
||||
- View the comments on a Zip archive:
|
||||
|
||||
`zipnote {{path/to/file.zip}}`
|
||||
|
||||
- Extract the comments on a `zip` archive to a file:
|
||||
- Extract the comments on a Zip archive to a file:
|
||||
|
||||
`zipnote {{path/to/file.zip}} > {{path/to/file.txt}}`
|
||||
|
||||
- Add/Update comments in a `zip` archive from a file:
|
||||
- Add/Update comments in a Zip archive from a file:
|
||||
|
||||
`zipnote -w {{path/to/file.zip}} < {{path/to/file.txt}}`
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# znew
|
||||
|
||||
> Recompress files from `.Z` to `.gz` format.
|
||||
> Recompress files from `.Z` to gzip format.
|
||||
> More information: <https://manned.org/znew>.
|
||||
|
||||
- Recompress a file from `.Z` to `.gz` format:
|
||||
- Recompress a file from `.Z` to gzip format:
|
||||
|
||||
`znew {{path/to/file1.Z}}`
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
|
||||
`znew -9 {{path/to/file1.Z}}`
|
||||
|
||||
- Recompress a file, [K]eeping the `.Z` file if it is smaller than the `.gz` file:
|
||||
- Recompress a file, [K]eeping the `.Z` file if it is smaller than the gzip file:
|
||||
|
||||
`znew -K {{path/to/file1.Z}}`
|
||||
|
Reference in New Issue
Block a user