conversations
listlengths
2
2
[ { "from": "human", "value": "Compress a file with a specified compression level. 0=Fastest (Worst), 9=Slowest (Best) via the `zlib-flate` command" }, { "from": "gpt", "value": "`zlib-flate -compress={{compression_level}} < {{path/to/input_file}} > {{path/to/compressed.zlib}}`" } ]
[ { "from": "human", "value": "Tell me about `zmap`." }, { "from": "gpt", "value": "Fast, open-source network scanner for Internet-wide surveys.\nMore information: <https://github.com/zmap/zmap>.\n" } ]
[ { "from": "human", "value": "Scan a subnet or full IPv4 space for a specific TCP port (default: 80) via the `zmap` command" }, { "from": "gpt", "value": "`zmap {{SUBNETS}} -p {{port}}`" } ]
[ { "from": "human", "value": "Scan specific ports or port ranges across a subnet via the `zmap` command" }, { "from": "gpt", "value": "`zmap {{--target-ports}} {{port1,port2-port3,...}} {{SUBNETS}}`" } ]
[ { "from": "human", "value": "Output results to a CSV file with custom fields via the `zmap` command" }, { "from": "gpt", "value": "`zmap {{[-o|--output-file]}} {{path/to/output_file.csv}} {{[-f|--output-fields]}} \"{{saddr,daddr,sport,dport}}\" {{SUBNETS}}`" } ]
[ { "from": "human", "value": "Limit the scan rate to a specific number of packets per second via the `zmap` command" }, { "from": "gpt", "value": "`zmap {{[-r|--rate]}} {{packets_per_second}} {{SUBNETS}}`" } ]
[ { "from": "human", "value": "Perform a dry run without sending packets via the `zmap` command" }, { "from": "gpt", "value": "`zmap {{[-d|--dryrun]}} {{SUBNETS}}`" } ]
[ { "from": "human", "value": "Exclude subnets using a blocklist file in CIDR notation via the `zmap` command" }, { "from": "gpt", "value": "`zmap {{[-b|--blocklist-file]}} {{path/to/blocklist.txt}} {{SUBNETS}}`" } ]
[ { "from": "human", "value": "Set a specific source IP for scan packets via the `zmap` command" }, { "from": "gpt", "value": "`zmap {{[-S|--source-ip]}} {{source_ip}} {{SUBNETS}}`" } ]
[ { "from": "human", "value": "Cap the number/percentage of targets to probe (e.g. 1000 IP/port pairs) via the `zmap` command" }, { "from": "gpt", "value": "`zmap {{[-n|--max-targets]}} {{1000}} {{SUBNETS}} {{[-p|--target-ports]}} {{port1,port2-port3}}`" } ]
[ { "from": "human", "value": "Tell me about `z`." }, { "from": "gpt", "value": "Tracks the most used (by frequency) directories and enables quickly navigating to them using string patterns or regular expressions.\nMore information: <https://github.com/rupa/z>.\n" } ]
[ { "from": "human", "value": "Go to a directory that contains \"foo\" in the name via the `z` command" }, { "from": "gpt", "value": "`z {{foo}}`" } ]
[ { "from": "human", "value": "Go to a directory that contains \"foo\" and then \"bar\" via the `z` command" }, { "from": "gpt", "value": "`z {{foo}} {{bar}}`" } ]
[ { "from": "human", "value": "Go to the highest-ranked directory matching \"foo\" via the `z` command" }, { "from": "gpt", "value": "`z -r {{foo}}`" } ]
[ { "from": "human", "value": "Go to the most recently accessed directory matching \"foo\" via the `z` command" }, { "from": "gpt", "value": "`z -t {{foo}}`" } ]
[ { "from": "human", "value": "List all directories in `z`'s database matching \"foo\" via the `z` command" }, { "from": "gpt", "value": "`z -l {{foo}}`" } ]
[ { "from": "human", "value": "Remove the current directory from `z`'s database via the `z` command" }, { "from": "gpt", "value": "`z -x`" } ]
[ { "from": "human", "value": "Restrict matches to subdirectories of the current directory via the `z` command" }, { "from": "gpt", "value": "`z -c {{foo}}`" } ]
[ { "from": "human", "value": "Tell me about `zm`." }, { "from": "gpt", "value": "A tool for managing articles of newspapers and blogs.\nMore information: <https://github.com/ZERMZeitung/zm2>.\n" } ]
[ { "from": "human", "value": "Make a new draft via the `zm` command" }, { "from": "gpt", "value": "`zm new`" } ]
[ { "from": "human", "value": "Edit a draft via the `zm` command" }, { "from": "gpt", "value": "`zm edit`" } ]
[ { "from": "human", "value": "Publish a draft and commit it with git via the `zm` command" }, { "from": "gpt", "value": "`zm publish`" } ]
[ { "from": "human", "value": "Tell me about `zmore`." }, { "from": "gpt", "value": "View `gzip` compressed files with `more`.\nMore information: <https://manned.org/zmore>.\n" } ]
[ { "from": "human", "value": "Open a compressed file via the `zmore` command" }, { "from": "gpt", "value": "`zmore {{path/to/file.txt.gz}}`" } ]
[ { "from": "human", "value": "Display the next page of the file via the `zmore` command" }, { "from": "gpt", "value": "`<Space>`" } ]
[ { "from": "human", "value": "Search for a pattern in the file (press `<n>` to go to next match) via the `zmore` command" }, { "from": "gpt", "value": "`</>{{regular_expression}}`" } ]
[ { "from": "human", "value": "Exit via the `zmore` command" }, { "from": "gpt", "value": "`<q>`" } ]
[ { "from": "human", "value": "Display interactive command help via the `zmore` command" }, { "from": "gpt", "value": "`<h>`" } ]
[ { "from": "human", "value": "Tell me about `zmv`." }, { "from": "gpt", "value": "Move or rename files matching a specified extended glob pattern.\nSee also `zcp` and `zln`.\nMore information: <https://zsh.sourceforge.net/Doc/Release/User-Contributions.html>.\n" } ]
[ { "from": "human", "value": "Move files using a regular expression-like pattern via the `zmv` command" }, { "from": "gpt", "value": "`zmv '{{(*).log}}' '{{$1.txt}}'`" } ]
[ { "from": "human", "value": "Preview the result of a move, without making any actual changes via the `zmv` command" }, { "from": "gpt", "value": "`zmv -n '{{(*).log}}' '{{$1.txt}}'`" } ]
[ { "from": "human", "value": "Interactively move files, with a prompt before every change via the `zmv` command" }, { "from": "gpt", "value": "`zmv -i '{{(*).log}}' '{{$1.txt}}'`" } ]
[ { "from": "human", "value": "Verbosely print each action as it's being executed via the `zmv` command" }, { "from": "gpt", "value": "`zmv -v '{{(*).log}}' '{{$1.txt}}'`" } ]
[ { "from": "human", "value": "Tell me about `znew`." }, { "from": "gpt", "value": "Recompress files from `.Z` to gzip format.\nMore information: <https://manned.org/znew>.\n" } ]
[ { "from": "human", "value": "Recompress a file from `.Z` to gzip format via the `znew` command" }, { "from": "gpt", "value": "`znew {{path/to/file1.Z}}`" } ]
[ { "from": "human", "value": "Recompress multiple files and display the achieved size reduction % per file via the `znew` command" }, { "from": "gpt", "value": "`znew -v {{path/to/file1.Z path/to/file2.Z ...}}`" } ]
[ { "from": "human", "value": "Recompress a file using the slowest compression method (for optimal compression) via the `znew` command" }, { "from": "gpt", "value": "`znew -9 {{path/to/file1.Z}}`" } ]
[ { "from": "human", "value": "Recompress a file, [K]eeping the `.Z` file if it is smaller than the gzip file via the `znew` command" }, { "from": "gpt", "value": "`znew -K {{path/to/file1.Z}}`" } ]
[ { "from": "human", "value": "Tell me about `zola`." }, { "from": "gpt", "value": "A static site generator in a single binary with everything built-in.\nMore information: <https://www.getzola.org/documentation/getting-started/cli-usage/>.\n" } ]
[ { "from": "human", "value": "Create the directory structure used by Zola at the given directory via the `zola` command" }, { "from": "gpt", "value": "`zola init {{my_site}}`" } ]
[ { "from": "human", "value": "Build the whole site in the `public` directory after deleting it via the `zola` command" }, { "from": "gpt", "value": "`zola build`" } ]
[ { "from": "human", "value": "Build the whole site into a different directory via the `zola` command" }, { "from": "gpt", "value": "`zola build --output-dir {{path/to/output_directory/}}`" } ]
[ { "from": "human", "value": "Build and serve the site using a local server (default is `127.0.0.1:1111`) via the `zola` command" }, { "from": "gpt", "value": "`zola serve`" } ]
[ { "from": "human", "value": "Build all pages just like the build command would, but without writing any of the results to disk via the `zola` command" }, { "from": "gpt", "value": "`zola check`" } ]
[ { "from": "human", "value": "Tell me about `zopflipng`." }, { "from": "gpt", "value": "PNG compression utility.\nMore information: <https://github.com/google/zopfli>.\n" } ]
[ { "from": "human", "value": "Optimize a PNG via the `zopflipng` command" }, { "from": "gpt", "value": "`zopflipng {{input.png}} {{output.png}}`" } ]
[ { "from": "human", "value": "Optimize several PNGs and save with given prefix via the `zopflipng` command" }, { "from": "gpt", "value": "`zopflipng --prefix={{prefix}} {{image1.png}} {{image2.png}} {{image3.png}}`" } ]
[ { "from": "human", "value": "Tell me about `zotero`." }, { "from": "gpt", "value": "Manage your bibliographies.\nMore information: <https://www.zotero.org/support>.\n" } ]
[ { "from": "human", "value": "Run with the GUI via the `zotero` command" }, { "from": "gpt", "value": "`zotero`" } ]
[ { "from": "human", "value": "Run in headless mode via the `zotero` command" }, { "from": "gpt", "value": "`zotero --headless`" } ]
[ { "from": "human", "value": "Run with a specific profile via the `zotero` command" }, { "from": "gpt", "value": "`zotero -P {{profile}}`" } ]
[ { "from": "human", "value": "Run the Migration Assistant via the `zotero` command" }, { "from": "gpt", "value": "`zotero --migration`" } ]
[ { "from": "human", "value": "Tell me about `zoxide`." }, { "from": "gpt", "value": "Keep track of the most frequently used directories.\nUses a ranking algorithm to navigate to the best match.\nMore information: <https://github.com/ajeetdsouza/zoxide>.\n" } ]
[ { "from": "human", "value": "Go to the highest-ranked directory that contains \"foo\" in the name via the `zoxide` command" }, { "from": "gpt", "value": "`zoxide query {{foo}}`" } ]
[ { "from": "human", "value": "Go to the highest-ranked directory that contains \"foo\" and then \"bar\" via the `zoxide` command" }, { "from": "gpt", "value": "`zoxide query {{foo}} {{bar}}`" } ]
[ { "from": "human", "value": "Start an interactive directory search (requires `fzf`) via the `zoxide` command" }, { "from": "gpt", "value": "`zoxide query --interactive`" } ]
[ { "from": "human", "value": "Add a directory or increment its rank via the `zoxide` command" }, { "from": "gpt", "value": "`zoxide add {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Remove a directory from `zoxide`'s database via the `zoxide` command" }, { "from": "gpt", "value": "`zoxide remove {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Generate shell configuration for command aliases (`z`, `za`, `zi`, `zq`, `zr`) via the `zoxide` command" }, { "from": "gpt", "value": "`zoxide init {{bash|fish|zsh}}`" } ]
[ { "from": "human", "value": "Tell me about `zpaq`." }, { "from": "gpt", "value": "Incremental journaling backup utility and archiver.\nMore information: <https://mattmahoney.net/dc/zpaqdoc.html>.\n" } ]
[ { "from": "human", "value": "Add a file or directory to a new or existing archive via the `zpaq` command" }, { "from": "gpt", "value": "`zpaq {{[a|add]}} {{path/to/archive.zpaq}} {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Create or add to an encrypted archive via the `zpaq` command" }, { "from": "gpt", "value": "`zpaq {{[a|add]}} -k{{password}} {{path/to/archive.zpaq}} {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Extract the most recent versions of files via the `zpaq` command" }, { "from": "gpt", "value": "`zpaq {{[x|extract]}} {{path/to/archive.zpaq}}`" } ]
[ { "from": "human", "value": "List the archive contents via the `zpaq` command" }, { "from": "gpt", "value": "`zpaq {{[l|list]}} {{path/to/archive.zpaq}}`" } ]
[ { "from": "human", "value": "Set the level of compression (higher means more compression but slower) via the `zpaq` command" }, { "from": "gpt", "value": "`zpaq {{[a|add]}} {{path/to/archive.zpaq}} -m{{1|2|3|4|5}} {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "Extract the specified files from the archive that are not newer than the specified date via the `zpaq` command" }, { "from": "gpt", "value": "`zpaq {{[x|extract]}} {{path/to/archive.zpaq}} {{path/in/archive/to/extract}} -to {{path/to/output}} -until {{YYYY-MM-DD}}`" ...
[ { "from": "human", "value": "Tell me about `zpool`." }, { "from": "gpt", "value": "Manage ZFS pools.\nMore information: <https://manned.org/zpool>.\n" } ]
[ { "from": "human", "value": "Show the configuration and status of all ZFS zpools via the `zpool` command" }, { "from": "gpt", "value": "`zpool status`" } ]
[ { "from": "human", "value": "Check a ZFS pool for errors (verifies the checksum of EVERY block). Very CPU and disk intensive via the `zpool` command" }, { "from": "gpt", "value": "`zpool scrub {{pool_name}}`" } ]
[ { "from": "human", "value": "List zpools available for import via the `zpool` command" }, { "from": "gpt", "value": "`zpool import`" } ]
[ { "from": "human", "value": "Import a zpool via the `zpool` command" }, { "from": "gpt", "value": "`zpool import {{pool_name}}`" } ]
[ { "from": "human", "value": "Export a zpool (unmount all filesystems) via the `zpool` command" }, { "from": "gpt", "value": "`zpool export {{pool_name}}`" } ]
[ { "from": "human", "value": "Show the history of all pool operations via the `zpool` command" }, { "from": "gpt", "value": "`zpool history {{pool_name}}`" } ]
[ { "from": "human", "value": "Create a mirrored pool via the `zpool` command" }, { "from": "gpt", "value": "`zpool create {{pool_name}} mirror {{disk1}} {{disk2}} mirror {{disk3}} {{disk4}}`" } ]
[ { "from": "human", "value": "Add a cache (L2ARC) device to a zpool via the `zpool` command" }, { "from": "gpt", "value": "`zpool add {{pool_name}} cache {{cache_disk}}`" } ]
[ { "from": "human", "value": "Tell me about `zrun`." }, { "from": "gpt", "value": "Transparently uncompress argument files to a command.\nMore information: <https://joeyh.name/code/moreutils/>.\n" } ]
[ { "from": "human", "value": "Run the specified command with uncompressed versions of the compressed argument files via the `zrun` command" }, { "from": "gpt", "value": "`zrun {{cat path/to/file1.gz path/to/file2.bz2 ...}}`" } ]
[ { "from": "human", "value": "Tell me about `zsh`." }, { "from": "gpt", "value": "Z SHell, a Bash-compatible command-line interpreter.\nSee also: `bash`, `histexpand`.\nMore information: <https://zsh.sourceforge.io/Doc/Release/Invocation.html#Invocation>.\n" } ]
[ { "from": "human", "value": "Start an interactive shell session via the `zsh` command" }, { "from": "gpt", "value": "`zsh`" } ]
[ { "from": "human", "value": "Execute specific [c]ommands via the `zsh` command" }, { "from": "gpt", "value": "`zsh -c \"{{echo Hello world}}\"`" } ]
[ { "from": "human", "value": "Execute a specific script via the `zsh` command" }, { "from": "gpt", "value": "`zsh {{path/to/script.zsh}}`" } ]
[ { "from": "human", "value": "Check a specific script for syntax errors without executing it via the `zsh` command" }, { "from": "gpt", "value": "`zsh --no-exec {{path/to/script.zsh}}`" } ]
[ { "from": "human", "value": "Execute specific commands from `stdin` via the `zsh` command" }, { "from": "gpt", "value": "`{{echo Hello world}} | zsh`" } ]
[ { "from": "human", "value": "Execute a specific script, printing each command in the script before executing it via the `zsh` command" }, { "from": "gpt", "value": "`zsh --xtrace {{path/to/script.zsh}}`" } ]
[ { "from": "human", "value": "Start an interactive shell session in verbose mode, printing each command before executing it via the `zsh` command" }, { "from": "gpt", "value": "`zsh --verbose`" } ]
[ { "from": "human", "value": "Execute a specific command inside `zsh` with disabled glob patterns via the `zsh` command" }, { "from": "gpt", "value": "`noglob {{command}}`" } ]
[ { "from": "human", "value": "Tell me about `zstdcat`." }, { "from": "gpt", "value": "This command is an alias of `zstd --decompress --stdout`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `zstdcat` command" }, { "from": "gpt", "value": "`tldr zstd`" } ]
[ { "from": "human", "value": "Tell me about `zstdless`." }, { "from": "gpt", "value": "Open a `zstd` compressed file for interactive reading, allowing scrolling and search.\nSee also: `zstd`, `less`.\nMore information: <https://manned.org/zstdless>.\n" } ]
[ { "from": "human", "value": "Open a `zstd` compressed file via the `zstdless` command" }, { "from": "gpt", "value": "`zstdless {{path/to/file.zst}}`" } ]
[ { "from": "human", "value": "Tell me about `zstd`." }, { "from": "gpt", "value": "Compress or decompress files with Zstandard compression.\nMore information: <https://github.com/facebook/zstd>.\n" } ]
[ { "from": "human", "value": "Compress a file into a new file with the `.zst` suffix via the `zstd` command" }, { "from": "gpt", "value": "`zstd {{path/to/file}}`" } ]
[ { "from": "human", "value": "Decompress a file via the `zstd` command" }, { "from": "gpt", "value": "`zstd --decompress {{path/to/file.zst}}`" } ]
[ { "from": "human", "value": "Decompress to `stdout` via the `zstd` command" }, { "from": "gpt", "value": "`zstd --decompress --stdout {{path/to/file.zst}}`" } ]
[ { "from": "human", "value": "Compress a file specifying the compression level, where 1=fastest, 19=slowest and 3=default via the `zstd` command" }, { "from": "gpt", "value": "`zstd -{{level}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Unlock higher compression levels (up to 22) using more memory (both for compression and decompression) via the `zstd` command" }, { "from": "gpt", "value": "`zstd --ultra -{{level}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `zstdmt`." }, { "from": "gpt", "value": "This command is an alias of `zstd --threads 0` (which sets the number of working threads to the number of physical CPU cores).\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `zstdmt` command" }, { "from": "gpt", "value": "`tldr zstd`" } ]
[ { "from": "human", "value": "Tell me about `zsteg`." }, { "from": "gpt", "value": "Steganography detection tool for PNG and BMP file formats.\nIt detects LSB steganography, ZLIB-compressed data, OpenStego, Camouflage and LSB with the Eratosthenes set.\nMore information: <https://github.com/zed-0...
[ { "from": "human", "value": "Detect embedded data in a PNG via the `zsteg` command" }, { "from": "gpt", "value": "`zsteg {{path/to/image.png}}`" } ]