conversations
listlengths
2
2
[ { "from": "human", "value": "Remove the variable `foo`, or if the variable doesn't exist, remove the function `foo` via the `unset` command" }, { "from": "gpt", "value": "`unset {{foo}}`" } ]
[ { "from": "human", "value": "Remove the variables foo and bar via the `unset` command" }, { "from": "gpt", "value": "`unset -v {{foo}} {{bar}}`" } ]
[ { "from": "human", "value": "Remove the function my_func via the `unset` command" }, { "from": "gpt", "value": "`unset -f {{my_func}}`" } ]
[ { "from": "human", "value": "Tell me about `until`." }, { "from": "gpt", "value": "Simple shell loop that repeats until it receives zero as return value.\nMore information: <https://www.gnu.org/software/bash/manual/bash.html#index-until>.\n" } ]
[ { "from": "human", "value": "Execute a command until it succeeds via the `until` command" }, { "from": "gpt", "value": "`until {{command}}; do :; done`" } ]
[ { "from": "human", "value": "Wait for a systemd service to be active via the `until` command" }, { "from": "gpt", "value": "`until systemctl is-active {{[-q|--quiet]}} {{nginx}}; do {{echo \"Waiting...\"}}; sleep 1; done; {{echo \"Launched!\"}}`" } ]
[ { "from": "human", "value": "Tell me about `unxz`." }, { "from": "gpt", "value": "This command is an alias of `xz --decompress`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `unxz` command" }, { "from": "gpt", "value": "`tldr xz`" } ]
[ { "from": "human", "value": "Tell me about `unzip`." }, { "from": "gpt", "value": "Extract files/directories from Zip archives.\nSee also: `zip`.\nMore information: <https://manned.org/unzip>.\n" } ]
[ { "from": "human", "value": "Extract all files/directories from specific archives into the current directory via the `unzip` command" }, { "from": "gpt", "value": "`unzip {{path/to/archive1.zip path/to/archive2.zip ...}}`" } ]
[ { "from": "human", "value": "Extract files/directories from archives to a specific path via the `unzip` command" }, { "from": "gpt", "value": "`unzip {{path/to/archive1.zip path/to/archive2.zip ...}} -d {{path/to/output}}`" } ]
[ { "from": "human", "value": "Extract files/directories from archives to `stdout` alongside the extracted file names via the `unzip` command" }, { "from": "gpt", "value": "`unzip -c {{path/to/archive1.zip path/to/archive2.zip ...}}`" } ]
[ { "from": "human", "value": "Extract an archive created on Windows, containing files with non-ASCII (e.g. Chinese or Japanese characters) filenames via the `unzip` command" }, { "from": "gpt", "value": "`unzip -O {{gbk}} {{path/to/archive1.zip path/to/archive2.zip ...}}`" } ]
[ { "from": "human", "value": "List the contents of a specific archive without extracting them via the `unzip` command" }, { "from": "gpt", "value": "`unzip -l {{path/to/archive.zip}}`" } ]
[ { "from": "human", "value": "Extract a specific file from an archive via the `unzip` command" }, { "from": "gpt", "value": "`unzip -j {{path/to/archive.zip}} {{path/to/file1_in_archive path/to/file2_in_archive ...}}`" } ]
[ { "from": "human", "value": "Tell me about `unzstd`." }, { "from": "gpt", "value": "This command is an alias of `zstd --decompress`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `unzstd` command" }, { "from": "gpt", "value": "`tldr zstd`" } ]
[ { "from": "human", "value": "Tell me about `updog`." }, { "from": "gpt", "value": "A replacement for Python's SimpleHTTPServer.\nIt allows uploading and downloading via HTTP/S, can set ad hoc SSL certificates and use HTTP basic auth.\nMore information: <https://github.com/sc0tfree/updog>.\n" }...
[ { "from": "human", "value": "Start a HTTP server for the current directory via the `updog` command" }, { "from": "gpt", "value": "`updog`" } ]
[ { "from": "human", "value": "Start a HTTP server for a specified directory via the `updog` command" }, { "from": "gpt", "value": "`updog --directory {{/path/to/directory}}`" } ]
[ { "from": "human", "value": "Start a HTTP server on a specified port via the `updog` command" }, { "from": "gpt", "value": "`updog --port {{port}}`" } ]
[ { "from": "human", "value": "Start a HTTP server with a password (To log in, leave the username blank and enter the password in the password field) via the `updog` command" }, { "from": "gpt", "value": "`updog --password {{password}}`" } ]
[ { "from": "human", "value": "Enable transport encryption via SSL via the `updog` command" }, { "from": "gpt", "value": "`updog --ssl`" } ]
[ { "from": "human", "value": "Tell me about `uptime`." }, { "from": "gpt", "value": "Tell how long the system has been running and other information.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/uptime-invocation.html>.\n" } ]
[ { "from": "human", "value": "Print current time, uptime, number of logged-in users and other information via the `uptime` command" }, { "from": "gpt", "value": "`uptime`" } ]
[ { "from": "human", "value": "Show only the amount of time the system has been booted for via the `uptime` command" }, { "from": "gpt", "value": "`uptime {{[-p|--pretty]}}`" } ]
[ { "from": "human", "value": "Print the date and time the system booted up at via the `uptime` command" }, { "from": "gpt", "value": "`uptime {{[-s|--since]}}`" } ]
[ { "from": "human", "value": "Display version via the `uptime` command" }, { "from": "gpt", "value": "`uptime {{[-V|--version]}}`" } ]
[ { "from": "human", "value": "Tell me about `upt`." }, { "from": "gpt", "value": "Unified interface for managing packages across various operating systems, like Windows, many Linux distributions, macOS, FreeBSD and even Haiku.\nIt requires the native OS package manager to be installed.\nSee also:...
[ { "from": "human", "value": "Update the list of available packages via the `upt` command" }, { "from": "gpt", "value": "`upt update`" } ]
[ { "from": "human", "value": "Search for a given package via the `upt` command" }, { "from": "gpt", "value": "`upt search {{search_term}}`" } ]
[ { "from": "human", "value": "Show information for a package via the `upt` command" }, { "from": "gpt", "value": "`upt info {{package}}`" } ]
[ { "from": "human", "value": "Install a given package via the `upt` command" }, { "from": "gpt", "value": "`upt install {{package}}`" } ]
[ { "from": "human", "value": "Remove a given package via the `upt` command" }, { "from": "gpt", "value": "`upt {{remove|uninstall}} {{package}}`" } ]
[ { "from": "human", "value": "Upgrade all installed packages via the `upt` command" }, { "from": "gpt", "value": "`upt upgrade`" } ]
[ { "from": "human", "value": "Upgrade a given package via the `upt` command" }, { "from": "gpt", "value": "`upt upgrade {{package}}`" } ]
[ { "from": "human", "value": "List installed packages via the `upt` command" }, { "from": "gpt", "value": "`upt list`" } ]
[ { "from": "human", "value": "Tell me about `upx`." }, { "from": "gpt", "value": "Compress or decompress executables.\nMore information: <https://upx.github.io>.\n" } ]
[ { "from": "human", "value": "Compress executable via the `upx` command" }, { "from": "gpt", "value": "`upx {{path/to/file}}`" } ]
[ { "from": "human", "value": "Decompress executable via the `upx` command" }, { "from": "gpt", "value": "`upx -d {{path/to/file}}`" } ]
[ { "from": "human", "value": "Detailed help via the `upx` command" }, { "from": "gpt", "value": "`upx --help`" } ]
[ { "from": "human", "value": "Tell me about `users`." }, { "from": "gpt", "value": "Display a list of logged in users.\nSee also: `useradd`, `userdel`, `usermod`.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/users-invocation.html>.\n" } ]
[ { "from": "human", "value": "Print logged in usernames via the `users` command" }, { "from": "gpt", "value": "`users`" } ]
[ { "from": "human", "value": "Print logged in usernames according to a given file via the `users` command" }, { "from": "gpt", "value": "`users {{/var/log/wmtp}}`" } ]
[ { "from": "human", "value": "Tell me about `usql`." }, { "from": "gpt", "value": "Universal CLI interface for SQL databases.\nMore information: <https://github.com/xo/usql>.\n" } ]
[ { "from": "human", "value": "Connect to a specific database via the `usql` command" }, { "from": "gpt", "value": "`usql {{sqlserver|mysql|postgres|sqlite3|...}}://{{username}}:{{password}}@{{host}}:{{port}}/{{database_name}}`" } ]
[ { "from": "human", "value": "Execute commands from a file via the `usql` command" }, { "from": "gpt", "value": "`usql --file={{path/to/query.sql}}`" } ]
[ { "from": "human", "value": "Execute a specific SQL command via the `usql` command" }, { "from": "gpt", "value": "`usql --command=\"{{sql_command}}\"`" } ]
[ { "from": "human", "value": "Run an SQL command in the `usql` prompt via the `usql` command" }, { "from": "gpt", "value": "`{{prompt}}=> {{command}}`" } ]
[ { "from": "human", "value": "Display the database schema via the `usql` command" }, { "from": "gpt", "value": "`{{prompt}}=> \\d`" } ]
[ { "from": "human", "value": "Export query results to a specific file via the `usql` command" }, { "from": "gpt", "value": "`{{prompt}}=> \\g {{path/to/file_with_results}}`" } ]
[ { "from": "human", "value": "Import data from a CSV file into a specific table via the `usql` command" }, { "from": "gpt", "value": "`{{prompt}}=> \\copy {{path/to/data.csv}} {{table_name}}`" } ]
[ { "from": "human", "value": "Tell me about `uudecode`." }, { "from": "gpt", "value": "Decode files encoded by `uuencode`.\nMore information: <https://manned.org/uudecode>.\n" } ]
[ { "from": "human", "value": "Decode a file that was encoded with `uuencode` and print the result to `stdout` via the `uudecode` command" }, { "from": "gpt", "value": "`uudecode {{path/to/encoded_file}}`" } ]
[ { "from": "human", "value": "Decode a file that was encoded with `uuencode` and write the result to a file via the `uudecode` command" }, { "from": "gpt", "value": "`uudecode -o {{path/to/decoded_file}} {{path/to/encoded_file}}`" } ]
[ { "from": "human", "value": "Tell me about `uuencode`." }, { "from": "gpt", "value": "Encode binary files into ASCII for transport via mediums that only support simple ASCII encoding.\nMore information: <https://manned.org/uuencode>.\n" } ]
[ { "from": "human", "value": "Encode a file and print the result to `stdout` via the `uuencode` command" }, { "from": "gpt", "value": "`uuencode {{path/to/input_file}} {{output_file_name_after_decoding}}`" } ]
[ { "from": "human", "value": "Encode a file and write the result to a file via the `uuencode` command" }, { "from": "gpt", "value": "`uuencode -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}`" } ]
[ { "from": "human", "value": "Encode a file using Base64 instead of the default uuencode encoding and write the result to a file via the `uuencode` command" }, { "from": "gpt", "value": "`uuencode -m -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}`" } ]
[ { "from": "human", "value": "Tell me about `uv add`." }, { "from": "gpt", "value": "Add package dependencies to the `pyproject.toml` file.\nPackages are specified according to <https://peps.python.org/pep-0508/>.\nMore information: <https://docs.astral.sh/uv/reference/cli/#uv-add>.\n" } ]
[ { "from": "human", "value": "Add the latest version of a package via the `uv-add` command" }, { "from": "gpt", "value": "`uv add {{package}}`" } ]
[ { "from": "human", "value": "Add multiple packages via the `uv-add` command" }, { "from": "gpt", "value": "`uv add {{package1 package2 ...}}`" } ]
[ { "from": "human", "value": "Add a package with a version requirement via the `uv-add` command" }, { "from": "gpt", "value": "`uv add {{package>=1.2.3}}`" } ]
[ { "from": "human", "value": "Add packages to an optional dependency group, which will be included when published via the `uv-add` command" }, { "from": "gpt", "value": "`uv add --optional {{optional}} {{package1 package2 ...}}`" } ]
[ { "from": "human", "value": "Add packages to a local group, which will not be included when published via the `uv-add` command" }, { "from": "gpt", "value": "`uv add --group {{group}} {{package1 package2 ...}}`" } ]
[ { "from": "human", "value": "Add packages to the dev group, shorthand for `--group dev` via the `uv-add` command" }, { "from": "gpt", "value": "`uv add --dev {{package1 package2 ...}}`" } ]
[ { "from": "human", "value": "Add package as editable via the `uv-add` command" }, { "from": "gpt", "value": "`uv add --editable {{path/to/package/}}`" } ]
[ { "from": "human", "value": "Enable an extra when installing package, may be provided multiple times via the `uv-add` command" }, { "from": "gpt", "value": "`uv add {{package}} --extra {{extra_feature}}`" } ]
[ { "from": "human", "value": "Tell me about `uvicorn`." }, { "from": "gpt", "value": "Python ASGI HTTP Server, for asynchronous projects.\nMore information: <https://www.uvicorn.org/>.\n" } ]
[ { "from": "human", "value": "Run Python web app via the `uvicorn` command" }, { "from": "gpt", "value": "`uvicorn {{import.path:app_object}}`" } ]
[ { "from": "human", "value": "Listen on port 8080 on localhost via the `uvicorn` command" }, { "from": "gpt", "value": "`uvicorn --host {{localhost}} --port {{8080}} {{import.path:app_object}}`" } ]
[ { "from": "human", "value": "Turn on live reload via the `uvicorn` command" }, { "from": "gpt", "value": "`uvicorn --reload {{import.path:app_object}}`" } ]
[ { "from": "human", "value": "Use 4 worker processes for handling requests via the `uvicorn` command" }, { "from": "gpt", "value": "`uvicorn --workers {{4}} {{import.path:app_object}}`" } ]
[ { "from": "human", "value": "Run app over HTTPS via the `uvicorn` command" }, { "from": "gpt", "value": "`uvicorn --ssl-certfile {{cert.pem}} --ssl-keyfile {{key.pem}} {{import.path:app_object}}`" } ]
[ { "from": "human", "value": "Tell me about `uv`." }, { "from": "gpt", "value": "A fast Python package and project manager.\nSome subcommands such as `tool` and `python` have their own usage documentation.\nMore information: <https://docs.astral.sh/uv/reference/cli>.\n" } ]
[ { "from": "human", "value": "Create a new Python project in the current directory via the `uv` command" }, { "from": "gpt", "value": "`uv init`" } ]
[ { "from": "human", "value": "Create a new Python project at the specified path via the `uv` command" }, { "from": "gpt", "value": "`uv init {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Add a new dependency to the project via the `uv` command" }, { "from": "gpt", "value": "`uv add {{package}}`" } ]
[ { "from": "human", "value": "Remove a dependency from the project via the `uv` command" }, { "from": "gpt", "value": "`uv remove {{package}}`" } ]
[ { "from": "human", "value": "Run a script in the project's environment via the `uv` command" }, { "from": "gpt", "value": "`uv run {{path/to/script.py}}`" } ]
[ { "from": "human", "value": "Run a command in the project's environment via the `uv` command" }, { "from": "gpt", "value": "`uv run {{command}}`" } ]
[ { "from": "human", "value": "Update a project's environment from `pyproject.toml` via the `uv` command" }, { "from": "gpt", "value": "`uv sync`" } ]
[ { "from": "human", "value": "Create a lock file for the project's dependencies via the `uv` command" }, { "from": "gpt", "value": "`uv lock`" } ]
[ { "from": "human", "value": "Tell me about `uv python`." }, { "from": "gpt", "value": "Manage Python versions and installations.\nMore information: <https://docs.astral.sh/uv/reference/cli/#uv-python>.\n" } ]
[ { "from": "human", "value": "List all available Python installations via the `uv-python` command" }, { "from": "gpt", "value": "`uv python list`" } ]
[ { "from": "human", "value": "Install a Python version via the `uv-python` command" }, { "from": "gpt", "value": "`uv python install {{version}}`" } ]
[ { "from": "human", "value": "Uninstall a Python version via the `uv-python` command" }, { "from": "gpt", "value": "`uv python uninstall {{version}}`" } ]
[ { "from": "human", "value": "Search for a Python installation via the `uv-python` command" }, { "from": "gpt", "value": "`uv python find {{version}}`" } ]
[ { "from": "human", "value": "Pin the current project to use a specific Python version via the `uv-python` command" }, { "from": "gpt", "value": "`uv python pin {{version}}`" } ]
[ { "from": "human", "value": "Show the `uv` Python installation directory via the `uv-python` command" }, { "from": "gpt", "value": "`uv python dir`" } ]
[ { "from": "human", "value": "Tell me about `uv tool`." }, { "from": "gpt", "value": "Install and run commands provided by Python packages.\nMore information: <https://docs.astral.sh/uv/reference/cli/#uv-tool>.\n" } ]
[ { "from": "human", "value": "Run a command from a package, without installing it via the `uv-tool` command" }, { "from": "gpt", "value": "`uv tool run {{command}}`" } ]
[ { "from": "human", "value": "Install a Python package system-wide via the `uv-tool` command" }, { "from": "gpt", "value": "`uv tool install {{package}}`" } ]
[ { "from": "human", "value": "Upgrade an installed Python package via the `uv-tool` command" }, { "from": "gpt", "value": "`uv tool upgrade {{package}}`" } ]
[ { "from": "human", "value": "Uninstall a Python package via the `uv-tool` command" }, { "from": "gpt", "value": "`uv tool uninstall {{package}}`" } ]
[ { "from": "human", "value": "List Python packages installed system-wide via the `uv-tool` command" }, { "from": "gpt", "value": "`uv tool list`" } ]
[ { "from": "human", "value": "Tell me about `uv tree`." }, { "from": "gpt", "value": "Display project dependencies in a tree format.\nMore information: <https://docs.astral.sh/uv/reference/cli/#uv-tree>.\n" } ]
[ { "from": "human", "value": "Show dependency tree for current environment via the `uv-tree` command" }, { "from": "gpt", "value": "`uv tree`" } ]
[ { "from": "human", "value": "Show dependency tree for all environments via the `uv-tree` command" }, { "from": "gpt", "value": "`uv tree --universal`" } ]
[ { "from": "human", "value": "Show dependency tree up to a certain depth via the `uv-tree` command" }, { "from": "gpt", "value": "`uv tree {{[-d|--depth]}} {{n}}`" } ]