conversations
listlengths
2
2
[ { "from": "human", "value": "Append to the given files, do not overwrite via the `tee` command" }, { "from": "gpt", "value": "`echo \"example\" | tee {{[-a|--append]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Print `stdin` to the terminal, and also pipe it into another program for further processing via the `tee` command" }, { "from": "gpt", "value": "`echo \"example\" | tee {{/dev/tty}} | {{xargs printf \"[%s]\"}}`" } ]
[ { "from": "human", "value": "Create a directory called \"example\", count the number of characters in \"example\" and write \"example\" to the terminal via the `tee` command" }, { "from": "gpt", "value": "`echo \"example\" | tee >(xargs mkdir) >(wc -c)`" } ]
[ { "from": "human", "value": "Tell me about `telegram-desktop`." }, { "from": "gpt", "value": "Instant messenger with open source clients, chats and stickers.\nMore information: <https://telegram.org>.\n" } ]
[ { "from": "human", "value": "Start GUI via the `telegram-desktop` command" }, { "from": "gpt", "value": "`telegram-desktop`" } ]
[ { "from": "human", "value": "Run GUI as an autostart if allowed via the `telegram-desktop` command" }, { "from": "gpt", "value": "`telegram-desktop -autostart`" } ]
[ { "from": "human", "value": "Run GUI minimized to tray via the `telegram-desktop` command" }, { "from": "gpt", "value": "`telegram-desktop -startintray`" } ]
[ { "from": "human", "value": "Tell me about `telnet`." }, { "from": "gpt", "value": "Connect to a specified port of a host using the telnet protocol.\nMore information: <https://manned.org/telnet>.\n" } ]
[ { "from": "human", "value": "Telnet to the default port of a host via the `telnet` command" }, { "from": "gpt", "value": "`telnet {{host}}`" } ]
[ { "from": "human", "value": "Telnet to a specific port of a host via the `telnet` command" }, { "from": "gpt", "value": "`telnet {{ip_address}} {{port}}`" } ]
[ { "from": "human", "value": "Exit a telnet session via the `telnet` command" }, { "from": "gpt", "value": "`quit`" } ]
[ { "from": "human", "value": "Emit the default escape character combination for terminating the session via the `telnet` command" }, { "from": "gpt", "value": "`<Ctrl ]>`" } ]
[ { "from": "human", "value": "Start `telnet` with \"x\" as the session termination character via the `telnet` command" }, { "from": "gpt", "value": "`telnet -e {{x}} {{ip_address}} {{port}}`" } ]
[ { "from": "human", "value": "Telnet to Star Wars animation via the `telnet` command" }, { "from": "gpt", "value": "`telnet {{towel.blinkenlights.nl}}`" } ]
[ { "from": "human", "value": "Tell me about `termdown`." }, { "from": "gpt", "value": "Countdown timer and stopwatch for the command-line.\nMore information: <https://github.com/trehn/termdown>.\n" } ]
[ { "from": "human", "value": "Start a stopwatch via the `termdown` command" }, { "from": "gpt", "value": "`termdown`" } ]
[ { "from": "human", "value": "Start a 1 minute and 30 seconds countdown via the `termdown` command" }, { "from": "gpt", "value": "`termdown {{1m30s}}`" } ]
[ { "from": "human", "value": "Start a 1 minute 30 seconds countdown with blinking the terminal at the end via the `termdown` command" }, { "from": "gpt", "value": "`termdown {{1m30s}} --blink`" } ]
[ { "from": "human", "value": "Show a title above countdown via the `termdown` command" }, { "from": "gpt", "value": "`termdown {{1m30s}} --title \"{{Interesting title}}\"`" } ]
[ { "from": "human", "value": "Display current time via the `termdown` command" }, { "from": "gpt", "value": "`termdown --time`" } ]
[ { "from": "human", "value": "Tell me about `terminalizer`." }, { "from": "gpt", "value": "Record the terminal, generate animated GIFs and a web player, and optionally upload to <https://terminalizer.com>.\nSee also: `asciinema`.\nMore information: <https://terminalizer.com>.\n" } ]
[ { "from": "human", "value": "Create the global configuration directory via the `terminalizer` command" }, { "from": "gpt", "value": "`terminalizer init`" } ]
[ { "from": "human", "value": "Record the terminal and create a recording file via the `terminalizer` command" }, { "from": "gpt", "value": "`terminalizer record {{path/to/recording.gif}}`" } ]
[ { "from": "human", "value": "Play a recorded file on the terminal via the `terminalizer` command" }, { "from": "gpt", "value": "`terminalizer play {{path/to/recording.gif}}`" } ]
[ { "from": "human", "value": "Render a recording file as an animated GIF image via the `terminalizer` command" }, { "from": "gpt", "value": "`terminalizer render {{path/to/recording.gif}}`" } ]
[ { "from": "human", "value": "Upload a video to <https://terminalizer.com> via the `terminalizer` command" }, { "from": "gpt", "value": "`terminalizer share {{path/to/recording.gif}}`" } ]
[ { "from": "human", "value": "Tell me about `terraform fmt`." }, { "from": "gpt", "value": "Format configuration according to Terraform language style conventions.\nMore information: <https://developer.hashicorp.com/terraform/cli/commands/fmt>.\n" } ]
[ { "from": "human", "value": "Format the configuration in the current directory via the `terraform-fmt` command" }, { "from": "gpt", "value": "`terraform fmt`" } ]
[ { "from": "human", "value": "Format the configuration in the current directory and subdirectories via the `terraform-fmt` command" }, { "from": "gpt", "value": "`terraform fmt -recursive`" } ]
[ { "from": "human", "value": "Display diffs of formatting changes via the `terraform-fmt` command" }, { "from": "gpt", "value": "`terraform fmt -diff`" } ]
[ { "from": "human", "value": "Do not list files that were formatted to `stdout` via the `terraform-fmt` command" }, { "from": "gpt", "value": "`terraform fmt -list=false`" } ]
[ { "from": "human", "value": "Tell me about `terraform`." }, { "from": "gpt", "value": "Create and deploy infrastructure as code to cloud providers.\nMore information: <https://www.terraform.io/>.\n" } ]
[ { "from": "human", "value": "Initialize a new or existing Terraform configuration via the `terraform` command" }, { "from": "gpt", "value": "`terraform init`" } ]
[ { "from": "human", "value": "Verify that the configuration files are syntactically valid via the `terraform` command" }, { "from": "gpt", "value": "`terraform validate`" } ]
[ { "from": "human", "value": "Format configuration according to Terraform language style conventions via the `terraform` command" }, { "from": "gpt", "value": "`terraform fmt`" } ]
[ { "from": "human", "value": "Generate and show an execution plan via the `terraform` command" }, { "from": "gpt", "value": "`terraform plan`" } ]
[ { "from": "human", "value": "Build or change infrastructure via the `terraform` command" }, { "from": "gpt", "value": "`terraform apply`" } ]
[ { "from": "human", "value": "Destroy Terraform-managed infrastructure via the `terraform` command" }, { "from": "gpt", "value": "`terraform destroy`" } ]
[ { "from": "human", "value": "Tell me about `terraform output`." }, { "from": "gpt", "value": "Export structured data about your Terraform resources.\nMore information: <https://developer.hashicorp.com/terraform/cli/commands/output>.\n" } ]
[ { "from": "human", "value": "With no additional arguments, `output` will display all outputs for the root module via the `terraform-output` command" }, { "from": "gpt", "value": "`terraform output`" } ]
[ { "from": "human", "value": "Output only a value with specific name via the `terraform-output` command" }, { "from": "gpt", "value": "`terraform output {{name}}`" } ]
[ { "from": "human", "value": "Convert the output value to a raw string (useful for shell scripts) via the `terraform-output` command" }, { "from": "gpt", "value": "`terraform output -raw`" } ]
[ { "from": "human", "value": "Format the outputs as a JSON object, with a key per output (useful with jq) via the `terraform-output` command" }, { "from": "gpt", "value": "`terraform output -json`" } ]
[ { "from": "human", "value": "Tell me about `terraform plan`." }, { "from": "gpt", "value": "Generate and show Terraform execution plans.\nMore information: <https://developer.hashicorp.com/terraform/cli/commands/plan>.\n" } ]
[ { "from": "human", "value": "Generate and show the execution plan in the currently directory via the `terraform-plan` command" }, { "from": "gpt", "value": "`terraform plan`" } ]
[ { "from": "human", "value": "Show a plan to destroy all remote objects that currently exist via the `terraform-plan` command" }, { "from": "gpt", "value": "`terraform plan -destroy`" } ]
[ { "from": "human", "value": "Show a plan to update the Terraform state and output values via the `terraform-plan` command" }, { "from": "gpt", "value": "`terraform plan -refresh-only`" } ]
[ { "from": "human", "value": "Specify values for input variables via the `terraform-plan` command" }, { "from": "gpt", "value": "`terraform plan -var '{{name1}}={{value1}}' -var '{{name2}}={{value2}}'`" } ]
[ { "from": "human", "value": "Focus Terraform's attention on only a subset of resources via the `terraform-plan` command" }, { "from": "gpt", "value": "`terraform plan -target {{resource_type.resource_name[instance index]}}`" } ]
[ { "from": "human", "value": "Output a plan as JSON via the `terraform-plan` command" }, { "from": "gpt", "value": "`terraform plan -json`" } ]
[ { "from": "human", "value": "Write a plan to a specific file via the `terraform-plan` command" }, { "from": "gpt", "value": "`terraform plan -no-color > {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `terragrunt`." }, { "from": "gpt", "value": "Keep your Terraform CLI arguments DRY.\nMore information: <https://terragrunt.gruntwork.io>.\n" } ]
[ { "from": "human", "value": "Generate and show an execution plan via the `terragrunt` command" }, { "from": "gpt", "value": "`terragrunt plan`" } ]
[ { "from": "human", "value": "Build or change infrastructure via the `terragrunt` command" }, { "from": "gpt", "value": "`terragrunt apply`" } ]
[ { "from": "human", "value": "Show current deployment (from state) via the `terragrunt` command" }, { "from": "gpt", "value": "`terragrunt show`" } ]
[ { "from": "human", "value": "Show module output values via the `terragrunt` command" }, { "from": "gpt", "value": "`terragrunt output`" } ]
[ { "from": "human", "value": "Destroy Terraform-managed infrastructure via the `terragrunt` command" }, { "from": "gpt", "value": "`terragrunt destroy`" } ]
[ { "from": "human", "value": "Build or change infrastructure from a tree of Terragrunt modules (stack) via the `terragrunt` command" }, { "from": "gpt", "value": "`terragrunt run-all apply`" } ]
[ { "from": "human", "value": "Tell me about `tesseract`." }, { "from": "gpt", "value": "OCR (Optical Character Recognition) engine.\nMore information: <https://github.com/tesseract-ocr/tesseract>.\n" } ]
[ { "from": "human", "value": "Recognize text in an image and save it to `output.txt` (the `.txt` extension is added automatically) via the `tesseract` command" }, { "from": "gpt", "value": "`tesseract {{image.png}} {{output}}`" } ]
[ { "from": "human", "value": "Specify a custom language (default is English) with an ISO 639-2 code (e.g. deu = Deutsch = German) via the `tesseract` command" }, { "from": "gpt", "value": "`tesseract -l deu {{image.png}} {{output}}`" } ]
[ { "from": "human", "value": "List the ISO 639-2 codes of available languages via the `tesseract` command" }, { "from": "gpt", "value": "`tesseract --list-langs`" } ]
[ { "from": "human", "value": "Specify a custom page segmentation mode (default is 3) via the `tesseract` command" }, { "from": "gpt", "value": "`tesseract --psm {{0_to_10}} {{image.png}} {{output}}`" } ]
[ { "from": "human", "value": "List page segmentation modes and their descriptions via the `tesseract` command" }, { "from": "gpt", "value": "`tesseract --help-psm`" } ]
[ { "from": "human", "value": "Tell me about `test`." }, { "from": "gpt", "value": "Check file types and compare values.\nReturns 0 if the condition evaluates to true, 1 if it evaluates to false.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/test-invocation.html>.\n" ...
[ { "from": "human", "value": "Test if a given variable is equal to a given string via the `test` command" }, { "from": "gpt", "value": "`test \"{{$MY_VAR}}\" = \"{{/bin/zsh}}\"`" } ]
[ { "from": "human", "value": "Test if a given variable is empty ([z]ero length) via the `test` command" }, { "from": "gpt", "value": "`test -z \"{{$GIT_BRANCH}}\"`" } ]
[ { "from": "human", "value": "Test if a [f]ile exists via the `test` command" }, { "from": "gpt", "value": "`test -f \"{{path/to/file_or_directory}}\"`" } ]
[ { "from": "human", "value": "Test if a [d]irectory does not exist via the `test` command" }, { "from": "gpt", "value": "`test ! -d \"{{path/to/directory}}\"`" } ]
[ { "from": "human", "value": "If A is true, then do B, or C in the case of an error (notice that C may run even if A fails) via the `test` command" }, { "from": "gpt", "value": "`test {{condition}} && {{echo \"true\"}} || {{echo \"false\"}}`" } ]
[ { "from": "human", "value": "Tell me about `testssl`." }, { "from": "gpt", "value": "Check SSL/TLS protocols and ciphers supported by a server.\nMore information: <https://testssl.sh/>.\n" } ]
[ { "from": "human", "value": "Test a server (run every check) on port 443 via the `testssl` command" }, { "from": "gpt", "value": "`testssl {{example.com}}`" } ]
[ { "from": "human", "value": "Test a different port via the `testssl` command" }, { "from": "gpt", "value": "`testssl {{example.com:465}}`" } ]
[ { "from": "human", "value": "Only check available protocols via the `testssl` command" }, { "from": "gpt", "value": "`testssl --protocols {{example.com}}`" } ]
[ { "from": "human", "value": "Only check vulnerabilities via the `testssl` command" }, { "from": "gpt", "value": "`testssl --vulnerable {{example.com}}`" } ]
[ { "from": "human", "value": "Only check HTTP security headers via the `testssl` command" }, { "from": "gpt", "value": "`testssl --headers {{example.com}}`" } ]
[ { "from": "human", "value": "Test other STARTTLS enabled protocols via the `testssl` command" }, { "from": "gpt", "value": "`testssl --starttls {{ftp|smtp|pop3|imap|xmpp|sieve|xmpp-server|telnet|ldap|irc|lmtp|nntp|postgres|mysql}} {{example.com}}:{{port}}`" } ]
[ { "from": "human", "value": "Tell me about `texcount`." }, { "from": "gpt", "value": "Count words in TeX documents omitting macros.\nNote: if the TeX document uses `\\include` or `\\input` and you want to count the included files, `texcount` must be run in the directory of the root TeX file.\nMo...
[ { "from": "human", "value": "Count words in a TeX file via the `texcount` command" }, { "from": "gpt", "value": "`texcount {{path/to/file.tex}}`" } ]
[ { "from": "human", "value": "Count words in a document and subdocuments built with `\\input` or `\\include` via the `texcount` command" }, { "from": "gpt", "value": "`texcount -merge {{file.tex}}`" } ]
[ { "from": "human", "value": "Count words in a document and subdocuments, listing each file separately (and a total count) via the `texcount` command" }, { "from": "gpt", "value": "`texcount -inc {{file.tex}}`" } ]
[ { "from": "human", "value": "Count words in a document and subdocuments, producing subcounts by chapter (instead of subsection) via the `texcount` command" }, { "from": "gpt", "value": "`texcount -merge -sub=chapter {{file.tex}}`" } ]
[ { "from": "human", "value": "Count words with verbose output via the `texcount` command" }, { "from": "gpt", "value": "`texcount -v {{path/to/file.tex}}`" } ]
[ { "from": "human", "value": "Tell me about `texdoc`." }, { "from": "gpt", "value": "Search for appropriate documentation for (La)TeX commands or packages.\nMore information: <https://texdoc.org/index.html>.\n" } ]
[ { "from": "human", "value": "Open the first search result in the default PDF viewer via the `texdoc` command" }, { "from": "gpt", "value": "`texdoc {{search}}`" } ]
[ { "from": "human", "value": "List the best search results via the `texdoc` command" }, { "from": "gpt", "value": "`texdoc --list {{search}}`" } ]
[ { "from": "human", "value": "Open full documentation of texdoc via the `texdoc` command" }, { "from": "gpt", "value": "`texdoc {{texdoc}}`" } ]
[ { "from": "human", "value": "Tell me about `tex-fmt`." }, { "from": "gpt", "value": "Format LaTeX source code.\nMore information: <https://github.com/WGUNDERWOOD/tex-fmt>.\n" } ]
[ { "from": "human", "value": "Format a file, overwriting the original via the `tex-fmt` command" }, { "from": "gpt", "value": "`tex-fmt {{path/to/file.tex}}`" } ]
[ { "from": "human", "value": "Check if a file is correctly formatted via the `tex-fmt` command" }, { "from": "gpt", "value": "`tex-fmt --check {{path/to/file.tex}}`" } ]
[ { "from": "human", "value": "Format a file read from `stdin` and print to `stdout` via the `tex-fmt` command" }, { "from": "gpt", "value": "`cat {{path/to/file.tex}} | tex-fmt --stdin`" } ]
[ { "from": "human", "value": "Tell me about `texliveonfly`." }, { "from": "gpt", "value": "Downloads missing TeX Live packages while compiling `.tex` files.\nMore information: <https://ctan.org/pkg/texliveonfly>.\n" } ]
[ { "from": "human", "value": "Download missing packages while compiling via the `texliveonfly` command" }, { "from": "gpt", "value": "`texliveonfly {{source.tex}}`" } ]
[ { "from": "human", "value": "Use a specific compiler (defaults to `pdflatex`) via the `texliveonfly` command" }, { "from": "gpt", "value": "`texliveonfly --compiler={{compiler}} {{source.tex}}`" } ]
[ { "from": "human", "value": "Use a custom TeX Live `bin` folder via the `texliveonfly` command" }, { "from": "gpt", "value": "`texliveonfly --texlive_bin={{path/to/texlive_bin}} {{source.tex}}`" } ]
[ { "from": "human", "value": "Tell me about `tex`." }, { "from": "gpt", "value": "Compile a DVI document from TeX source files.\nMore information: <https://www.tug.org/begin.html>.\n" } ]
[ { "from": "human", "value": "Compile a DVI document via the `tex` command" }, { "from": "gpt", "value": "`tex {{source.tex}}`" } ]
[ { "from": "human", "value": "Compile a DVI document, specifying an output directory via the `tex` command" }, { "from": "gpt", "value": "`tex -output-directory={{path/to/directory}} {{source.tex}}`" } ]
[ { "from": "human", "value": "Compile a DVI document, exiting on each error via the `tex` command" }, { "from": "gpt", "value": "`tex -halt-on-error {{source.tex}}`" } ]
[ { "from": "human", "value": "Tell me about `textql`." }, { "from": "gpt", "value": "Execute SQL against structured text like CSV or TSV files.\nMore information: <https://github.com/dinedal/textql>.\n" } ]