conversations
listlengths
2
2
[ { "from": "human", "value": "Check a known SHA512 checksum of a file via the `sha512sum` command" }, { "from": "gpt", "value": "`echo {{known_sha512_checksum_of_the_file}} {{path/to/file}} | sha512sum {{[-c|--check]}}`" } ]
[ { "from": "human", "value": "Tell me about `shards`." }, { "from": "gpt", "value": "Dependency management tool for the Crystal language.\nMore information: <https://crystal-lang.org/reference/the_shards_command>.\n" } ]
[ { "from": "human", "value": "Create a skeleton `shard.yml` file via the `shards` command" }, { "from": "gpt", "value": "`shards init`" } ]
[ { "from": "human", "value": "Install dependencies from a `shard.yml` file via the `shards` command" }, { "from": "gpt", "value": "`shards install`" } ]
[ { "from": "human", "value": "Update all dependencies via the `shards` command" }, { "from": "gpt", "value": "`shards update`" } ]
[ { "from": "human", "value": "List all installed dependencies via the `shards` command" }, { "from": "gpt", "value": "`shards list`" } ]
[ { "from": "human", "value": "Display version of dependency via the `shards` command" }, { "from": "gpt", "value": "`shards version {{path/to/dependency_directory}}`" } ]
[ { "from": "human", "value": "Tell me about `shar`." }, { "from": "gpt", "value": "Create a shell archive.\nMore information: <https://manned.org/shar>.\n" } ]
[ { "from": "human", "value": "Create a shell script that when executed extracts the given files from itself via the `shar` command" }, { "from": "gpt", "value": "`shar {{path/to/file1 path/to/file2 ...}} > {{path/to/archive.sh}}`" } ]
[ { "from": "human", "value": "Tell me about `shasum`." }, { "from": "gpt", "value": "Calculate SHA cryptographic checksums.\nMore information: <https://manned.org/shasum>.\n" } ]
[ { "from": "human", "value": "Calculate the SHA1 checksum for one or more files via the `shasum` command" }, { "from": "gpt", "value": "`shasum {{path/to/file1 path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Calculate the SHA checksum for one or more files with the specified algorithm via the `shasum` command" }, { "from": "gpt", "value": "`shasum --algorithm {{1|224|256|384|512|512224|512256}} {{path/to/file1 path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Calculate a SHA1 checksum from `stdin` via the `shasum` command" }, { "from": "gpt", "value": "`{{command}} | shasum`" } ]
[ { "from": "human", "value": "Calculate and save the list of SHA256 checksums to a file via the `shasum` command" }, { "from": "gpt", "value": "`shasum --algorithm 256 {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}`" } ]
[ { "from": "human", "value": "Read a file of SHA checksums and filenames and verify all files have matching checksums (the algorithm will be automatically detected) via the `shasum` command" }, { "from": "gpt", "value": "`shasum {{[-c|--check]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Only show a message for missing files or when verification fails via the `shasum` command" }, { "from": "gpt", "value": "`shasum {{[-c|--check]}} --quiet {{path/to/file}}`" } ]
[ { "from": "human", "value": "Only show a message when verification fails, ignoring missing files via the `shasum` command" }, { "from": "gpt", "value": "`shasum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file}}`" } ]
[ { "from": "human", "value": "Check a known SHA checksum of a file via the `shasum` command" }, { "from": "gpt", "value": "`echo {{known_sha_checksum_of_the_file}} {{path/to/file}} | shasum {{[-c|--check]}}`" } ]
[ { "from": "human", "value": "Tell me about `shc`." }, { "from": "gpt", "value": "Generic shell script compiler.\nMore information: <https://manned.org/shc>.\n" } ]
[ { "from": "human", "value": "Compile a shell script via the `shc` command" }, { "from": "gpt", "value": "`shc -f {{script}}`" } ]
[ { "from": "human", "value": "Compile a shell script and specify an output binary file via the `shc` command" }, { "from": "gpt", "value": "`shc -f {{script}} -o {{binary}}`" } ]
[ { "from": "human", "value": "Compile a shell script and set an expiration date for the executable via the `shc` command" }, { "from": "gpt", "value": "`shc -f {{script}} -e {{dd/mm/yyyy}}`" } ]
[ { "from": "human", "value": "Compile a shell script and set a message to display upon expiration via the `shc` command" }, { "from": "gpt", "value": "`shc -f {{script}} -e {{dd/mm/yyyy}} -m \"{{Please contact your provider}}\"`" } ]
[ { "from": "human", "value": "Tell me about `shellcheck`." }, { "from": "gpt", "value": "Statically check shell scripts for errors, usage of deprecated/insecure features, and bad practices.\nMore information: <https://github.com/koalaman/shellcheck/wiki>.\n" } ]
[ { "from": "human", "value": "Check a shell script via the `shellcheck` command" }, { "from": "gpt", "value": "`shellcheck {{path/to/script.sh}}`" } ]
[ { "from": "human", "value": "Check a shell script interpreting it as the specified [s]hell dialect (overrides the shebang at the top of the script) via the `shellcheck` command" }, { "from": "gpt", "value": "`shellcheck --shell {{sh|bash|dash|ksh}} {{path/to/script.sh}}`" } ]
[ { "from": "human", "value": "Ignor[e] one or more error types via the `shellcheck` command" }, { "from": "gpt", "value": "`shellcheck --exclude {{SC1009,SC1073,...}} {{path/to/script.sh}}`" } ]
[ { "from": "human", "value": "Also check any sourced shell scripts via the `shellcheck` command" }, { "from": "gpt", "value": "`shellcheck --check-sourced {{path/to/script.sh}}`" } ]
[ { "from": "human", "value": "Display output in the specified [f]ormat (defaults to `tty`) via the `shellcheck` command" }, { "from": "gpt", "value": "`shellcheck --format {{tty|checkstyle|diff|gcc|json|json1|quiet}} {{path/to/script.sh}}`" } ]
[ { "from": "human", "value": "Enable one or more [o]ptional checks via the `shellcheck` command" }, { "from": "gpt", "value": "`shellcheck --enable {{add-default-case,avoid-nullary-conditions,...}} {{path/to/script.sh}}`" } ]
[ { "from": "human", "value": "List all available optional checks that are disabled by default via the `shellcheck` command" }, { "from": "gpt", "value": "`shellcheck --list-optional`" } ]
[ { "from": "human", "value": "Adjust the level of [S]everity to consider (defaults to `style`) via the `shellcheck` command" }, { "from": "gpt", "value": "`shellcheck --severity {{error|warning|info|style}} {{path/to/script.sh}}`" } ]
[ { "from": "human", "value": "Tell me about `shfmt`." }, { "from": "gpt", "value": "Shell parser, formatter and interpreter.\nMore information: <https://pkg.go.dev/mvdan.cc/sh>.\n" } ]
[ { "from": "human", "value": "Print a formatted version of a shell script via the `shfmt` command" }, { "from": "gpt", "value": "`shfmt {{path/to/file}}`" } ]
[ { "from": "human", "value": "List unformatted files via the `shfmt` command" }, { "from": "gpt", "value": "`shfmt --list {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Write the result to the file instead of printing it to the terminal via the `shfmt` command" }, { "from": "gpt", "value": "`shfmt --write {{path/to/file}}`" } ]
[ { "from": "human", "value": "Simplify the code, removing redundant pieces of syntax (i.e. removing \"$\" from vars in expressions) via the `shfmt` command" }, { "from": "gpt", "value": "`shfmt --simplify {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `shift`." }, { "from": "gpt", "value": "Move positional parameters.\nMore information: <https://manned.org/shift.1posix>.\n" } ]
[ { "from": "human", "value": "Remove the first positional parameter via the `shift` command" }, { "from": "gpt", "value": "`shift`" } ]
[ { "from": "human", "value": "Remove the first `n` positional parameters via the `shift` command" }, { "from": "gpt", "value": "`shift {{n}}`" } ]
[ { "from": "human", "value": "Tell me about `shiori`." }, { "from": "gpt", "value": "Simple bookmark manager built with Go.\nMore information: <https://github.com/go-shiori/shiori>.\n" } ]
[ { "from": "human", "value": "Import bookmarks from HTML Netscape bookmark format file via the `shiori` command" }, { "from": "gpt", "value": "`shiori import {{path/to/bookmarks.html}}`" } ]
[ { "from": "human", "value": "Save the specified URL as bookmark via the `shiori` command" }, { "from": "gpt", "value": "`shiori add {{url}}`" } ]
[ { "from": "human", "value": "List the saved bookmarks via the `shiori` command" }, { "from": "gpt", "value": "`shiori print`" } ]
[ { "from": "human", "value": "Open the saved bookmark in a browser via the `shiori` command" }, { "from": "gpt", "value": "`shiori open {{bookmark_id}}`" } ]
[ { "from": "human", "value": "Start the web interface for managing bookmarks at port 8181 via the `shiori` command" }, { "from": "gpt", "value": "`shiori serve --port {{8181}}`" } ]
[ { "from": "human", "value": "Tell me about `sh`." }, { "from": "gpt", "value": "Bourne shell, the standard command language interpreter.\nSee also `histexpand` for history expansion.\nMore information: <https://manned.org/sh>.\n" } ]
[ { "from": "human", "value": "Start an interactive shell session via the `sh` command" }, { "from": "gpt", "value": "`sh`" } ]
[ { "from": "human", "value": "Execute a command and then exit via the `sh` command" }, { "from": "gpt", "value": "`sh -c \"{{command}}\"`" } ]
[ { "from": "human", "value": "Execute a script via the `sh` command" }, { "from": "gpt", "value": "`sh {{path/to/script.sh}}`" } ]
[ { "from": "human", "value": "Read and execute commands from `stdin` via the `sh` command" }, { "from": "gpt", "value": "`sh -s`" } ]
[ { "from": "human", "value": "Tell me about `shopt`." }, { "from": "gpt", "value": "Manage Bash shell options: variables (stored in `$BASHOPTS`) that control behavior specific to the Bash shell.\nGeneric POSIX shell variables (stored in `$SHELLOPTS`) are managed with the `set` command instead.\nM...
[ { "from": "human", "value": "List of all settable options and whether they are set via the `shopt` command" }, { "from": "gpt", "value": "`shopt`" } ]
[ { "from": "human", "value": "Set an option via the `shopt` command" }, { "from": "gpt", "value": "`shopt -s {{option_name}}`" } ]
[ { "from": "human", "value": "Unset an option via the `shopt` command" }, { "from": "gpt", "value": "`shopt -u {{option_name}}`" } ]
[ { "from": "human", "value": "Print a list of all options and their status formatted as runnable `shopt` commands via the `shopt` command" }, { "from": "gpt", "value": "`shopt -p`" } ]
[ { "from": "human", "value": "Display help via the `shopt` command" }, { "from": "gpt", "value": "`help shopt`" } ]
[ { "from": "human", "value": "Tell me about `shotcut`." }, { "from": "gpt", "value": "A program for video editing.\nMore information: <https://shotcut.org/notes/command-line-options/>.\n" } ]
[ { "from": "human", "value": "Start Shotcut via the `shotcut` command" }, { "from": "gpt", "value": "`shotcut`" } ]
[ { "from": "human", "value": "Open audio/video files via the `shotcut` command" }, { "from": "gpt", "value": "`shotcut {{path/to/file1 path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Start with a specific audio driver via the `shotcut` command" }, { "from": "gpt", "value": "`shotcut --SDL_AUDIODRIVER \"{{pulseaudio}}\"`" } ]
[ { "from": "human", "value": "Start in fullscreen via the `shotcut` command" }, { "from": "gpt", "value": "`shotcut --fullscreen`" } ]
[ { "from": "human", "value": "Start with GPU processing via the `shotcut` command" }, { "from": "gpt", "value": "`shotcut --gpu`" } ]
[ { "from": "human", "value": "Tell me about `showfigfonts`." }, { "from": "gpt", "value": "Display available figlet fonts.\nSee also `figlet`.\nMore information: <https://manned.org/showfigfonts>.\n" } ]
[ { "from": "human", "value": "Display available fonts via the `showfigfonts` command" }, { "from": "gpt", "value": "`showfigfonts`" } ]
[ { "from": "human", "value": "Display available fonts using a specific text via the `showfigfonts` command" }, { "from": "gpt", "value": "`showfigfonts {{input_text}}`" } ]
[ { "from": "human", "value": "Tell me about `shred`." }, { "from": "gpt", "value": "Overwrite files to securely delete data.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/shred-invocation.html>.\n" } ]
[ { "from": "human", "value": "Overwrite a file via the `shred` command" }, { "from": "gpt", "value": "`shred {{path/to/file}}`" } ]
[ { "from": "human", "value": "Overwrite a file and show progress on the screen via the `shred` command" }, { "from": "gpt", "value": "`shred {{[-v|--verbose]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Overwrite a file, leaving zeros instead of random data via the `shred` command" }, { "from": "gpt", "value": "`shred {{[-z|--zero]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Overwrite a file a specific number of times via the `shred` command" }, { "from": "gpt", "value": "`shred {{[-n|--iterations]}} {{25}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Overwrite a file and remove it via the `shred` command" }, { "from": "gpt", "value": "`shred --remove {{path/to/file}}`" } ]
[ { "from": "human", "value": "Overwrite a file 100 times, add a final overwrite with zeros, remove the file after overwriting it and show verbose progress on the screen via the `shred` command" }, { "from": "gpt", "value": "`shred {{[-vzun|--verbose --zero -u --iterations]}} 100 {{path/to/file}}`...
[ { "from": "human", "value": "Tell me about `shuf`." }, { "from": "gpt", "value": "Generate random permutations.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/shuf-invocation.html>.\n" } ]
[ { "from": "human", "value": "Randomize the order of lines in a file and output the result via the `shuf` command" }, { "from": "gpt", "value": "`shuf {{path/to/file}}`" } ]
[ { "from": "human", "value": "Only output the first 5 entries of the result via the `shuf` command" }, { "from": "gpt", "value": "`shuf {{[-n|--head-count]}} 5 {{path/to/file}}`" } ]
[ { "from": "human", "value": "Write the output to another file via the `shuf` command" }, { "from": "gpt", "value": "`shuf {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}`" } ]
[ { "from": "human", "value": "Generate 3 random numbers in the range 1-10 (inclusive) via the `shuf` command" }, { "from": "gpt", "value": "`shuf {{[-n|--head-count]}} 3 {{[-i|--input-range]}} 1-10 {{[-r|--repeat]}}`" } ]
[ { "from": "human", "value": "Tell me about `siege`." }, { "from": "gpt", "value": "HTTP loadtesting and benchmarking tool.\nMore information: <https://www.joedog.org/siege-manual/>.\n" } ]
[ { "from": "human", "value": "Test a URL with default settings via the `siege` command" }, { "from": "gpt", "value": "`siege {{https://example.com}}`" } ]
[ { "from": "human", "value": "Test a list of URLs via the `siege` command" }, { "from": "gpt", "value": "`siege --file {{path/to/url_list.txt}}`" } ]
[ { "from": "human", "value": "Test list of URLs in a random order (Simulates internet traffic) via the `siege` command" }, { "from": "gpt", "value": "`siege --internet --file {{path/to/url_list.txt}}`" } ]
[ { "from": "human", "value": "Benchmark a list of URLs (without waiting between requests) via the `siege` command" }, { "from": "gpt", "value": "`siege --benchmark --file {{path/to/url_list.txt}}`" } ]
[ { "from": "human", "value": "Set the amount of concurrent connections via the `siege` command" }, { "from": "gpt", "value": "`siege --concurrent={{50}} --file {{path/to/url_list.txt}}`" } ]
[ { "from": "human", "value": "Set how long for the siege to run for via the `siege` command" }, { "from": "gpt", "value": "`siege --time={{30s}} --file {{path/to/url_list.txt}}`" } ]
[ { "from": "human", "value": "Tell me about `silicon`." }, { "from": "gpt", "value": "Create an image of source code.\nMore information: <https://github.com/Aloxaf/silicon>.\n" } ]
[ { "from": "human", "value": "Generate an image from a specific source file via the `silicon` command" }, { "from": "gpt", "value": "`silicon {{path/to/source_file}} --output {{path/to/output_image}}`" } ]
[ { "from": "human", "value": "Generate an image from a source file with a specific programming language syntax highlighting (e.g. `rust`, `py`, `js`, etc.) via the `silicon` command" }, { "from": "gpt", "value": "`silicon {{path/to/source_file}} --output {{path/to/output_image}} --language {{lang...
[ { "from": "human", "value": "Generate an image from `stdin` via the `silicon` command" }, { "from": "gpt", "value": "`{{command}} | silicon --output {{path/to/output_image}}`" } ]
[ { "from": "human", "value": "Tell me about `simplehttpserver`." }, { "from": "gpt", "value": "A simple HTTP/S server that supports file upload, basic authentication, and YAML rules for custom responses.\nA Go alternative to Python's `http.server`.\nMore information: <https://github.com/projectdi...
[ { "from": "human", "value": "Start the HTTP server serving the current directory with verbose output (listen on all interfaces and port 8000 by default) via the `simplehttpserver` command" }, { "from": "gpt", "value": "`simplehttpserver -verbose`" } ]
[ { "from": "human", "value": "Start the HTTP server with basic authentication serving a specific path over port 80 on all interfaces via the `simplehttpserver` command" }, { "from": "gpt", "value": "`sudo simplehttpserver -basic-auth {{username}}:{{password}} -path {{/var/www/html}} -listen 0.0.0...
[ { "from": "human", "value": "Start the HTTP server, enabling HTTPS using a self-signed certificate with custom SAN on all interfaces via the `simplehttpserver` command" }, { "from": "gpt", "value": "`sudo simplehttpserver -https -domain {{*.selfsigned.com}} -listen 0.0.0.0:443`" } ]
[ { "from": "human", "value": "Start the HTTP server with custom response headers and upload capability via the `simplehttpserver` command" }, { "from": "gpt", "value": "`simplehttpserver -upload -header '{{X-Powered-By: Go}}' -header '{{Server: SimpleHTTPServer}}'`" } ]
[ { "from": "human", "value": "Start the HTTP server with customizable rules in YAML (see documentation for DSL) via the `simplehttpserver` command" }, { "from": "gpt", "value": "`simplehttpserver -rules {{rules.yaml}}`" } ]
[ { "from": "human", "value": "Tell me about `sindresorhus`." }, { "from": "gpt", "value": "Sindre Sorhus's personal CLI.\nMore information: <https://github.com/sindresorhus/sindresorhus-cli>.\n" } ]
[ { "from": "human", "value": "Start Sindre's interactive CLI via the `sindresorhus` command" }, { "from": "gpt", "value": "`sindresorhus`" } ]
[ { "from": "human", "value": "Tell me about `singularity`." }, { "from": "gpt", "value": "Manage Singularity containers and images.\nMore information: <https://singularity-docs.readthedocs.io/en/latest/#commands>.\n" } ]
[ { "from": "human", "value": "Download a remote image from Sylabs Cloud via the `singularity` command" }, { "from": "gpt", "value": "`singularity pull --name {{image.sif}} {{library://godlovedc/funny/lolcow:latest}}`" } ]
[ { "from": "human", "value": "Rebuild a remote image using the latest Singularity image format via the `singularity` command" }, { "from": "gpt", "value": "`singularity build {{image.sif}} {{docker://godlovedc/lolcow}}`" } ]