conversations
listlengths
2
2
[ { "from": "human", "value": "Print the default arguments and their values and exit via the `mysqld` command" }, { "from": "gpt", "value": "`mysqld --print-defaults`" } ]
[ { "from": "human", "value": "Start the server, reading arguments and values from a file via the `mysqld` command" }, { "from": "gpt", "value": "`mysqld --defaults-file={{path/to/file}}`" } ]
[ { "from": "human", "value": "Start the server and listen on a custom port via the `mysqld` command" }, { "from": "gpt", "value": "`mysqld --port={{port}}`" } ]
[ { "from": "human", "value": "Display help via the `mysqld` command" }, { "from": "gpt", "value": "`mysqld --verbose --help`" } ]
[ { "from": "human", "value": "Tell me about `mysqldump`." }, { "from": "gpt", "value": "Backups MySQL databases.\nSee also `mysql` for restoring databases.\nMore information: <https://dev.mysql.com/doc/refman/en/mysqldump.html>.\n" } ]
[ { "from": "human", "value": "Create a backup (user will be prompted for a password) via the `mysqldump` command" }, { "from": "gpt", "value": "`mysqldump --user {{user}} --password {{database_name}} --result-file={{path/to/file.sql}}`" } ]
[ { "from": "human", "value": "Backup a specific table redirecting the output to a file (user will be prompted for a password) via the `mysqldump` command" }, { "from": "gpt", "value": "`mysqldump --user {{user}} --password {{database_name}} {{table_name}} > {{path/to/file.sql}}`" } ]
[ { "from": "human", "value": "Backup all databases redirecting the output to a file (user will be prompted for a password) via the `mysqldump` command" }, { "from": "gpt", "value": "`mysqldump --user {{user}} --password --all-databases > {{path/to/file.sql}}`" } ]
[ { "from": "human", "value": "Backup all databases from a remote host, redirecting the output to a file (user will be prompted for a password) via the `mysqldump` command" }, { "from": "gpt", "value": "`mysqldump --host={{ip_or_hostname}} --user {{user}} --password --all-databases > {{path/to/fil...
[ { "from": "human", "value": "Tell me about `mysql`." }, { "from": "gpt", "value": "The MySQL command-line tool.\nMore information: <https://www.mysql.com/>.\n" } ]
[ { "from": "human", "value": "Connect to a database via the `mysql` command" }, { "from": "gpt", "value": "`mysql {{database_name}}`" } ]
[ { "from": "human", "value": "Connect to a database, user will be prompted for a password via the `mysql` command" }, { "from": "gpt", "value": "`mysql -u {{user}} --password {{database_name}}`" } ]
[ { "from": "human", "value": "Connect to a database on another host via the `mysql` command" }, { "from": "gpt", "value": "`mysql -h {{database_host}} {{database_name}}`" } ]
[ { "from": "human", "value": "Connect to a database through a Unix socket via the `mysql` command" }, { "from": "gpt", "value": "`mysql --socket {{path/to/socket.sock}}`" } ]
[ { "from": "human", "value": "Execute SQL statements in a script file (batch file) via the `mysql` command" }, { "from": "gpt", "value": "`mysql -e \"source {{filename.sql}}\" {{database_name}}`" } ]
[ { "from": "human", "value": "Restore a database from a backup created with `mysqldump` (user will be prompted for a password) via the `mysql` command" }, { "from": "gpt", "value": "`mysql --user {{user}} --password {{database_name}} < {{path/to/backup.sql}}`" } ]
[ { "from": "human", "value": "Restore all databases from a backup (user will be prompted for a password) via the `mysql` command" }, { "from": "gpt", "value": "`mysql --user {{user}} --password < {{path/to/backup.sql}}`" } ]
[ { "from": "human", "value": "Tell me about `mysql_secure_installation`." }, { "from": "gpt", "value": "Set up MySQL to have better security.\nMore information: <https://dev.mysql.com/doc/refman/en/mysql-secure-installation.html>.\n" } ]
[ { "from": "human", "value": "Start an interactive setup via the `mysql_secure_installation` command" }, { "from": "gpt", "value": "`mysql_secure_installation`" } ]
[ { "from": "human", "value": "Use specific host and port via the `mysql_secure_installation` command" }, { "from": "gpt", "value": "`mysql_secure_installation --host {{host}} --port {{port}}`" } ]
[ { "from": "human", "value": "Display help via the `mysql_secure_installation` command" }, { "from": "gpt", "value": "`mysql_secure_installation --help`" } ]
[ { "from": "human", "value": "Tell me about `mysqlsh`." }, { "from": "gpt", "value": "Advanced command-line client for MySQL, supporting SQL, JavaScript, and Python.\nIt offers features for managing InnoDB clusters and document store collections.\nMore information: <https://dev.mysql.com/doc/mysq...
[ { "from": "human", "value": "Start MySQL Shell in interactive mode via the `mysqlsh` command" }, { "from": "gpt", "value": "`mysqlsh`" } ]
[ { "from": "human", "value": "Connect to a MySQL server via the `mysqlsh` command" }, { "from": "gpt", "value": "`mysqlsh --user {{username}} --host {{hostname}} --port {{port}}`" } ]
[ { "from": "human", "value": "Execute an SQL statement on the server and exit via the `mysqlsh` command" }, { "from": "gpt", "value": "`mysqlsh --user {{username}} --execute '{{sql_statement}}'`" } ]
[ { "from": "human", "value": "Start MySQL Shell in JavaScript mode via the `mysqlsh` command" }, { "from": "gpt", "value": "`mysqlsh --js`" } ]
[ { "from": "human", "value": "Start MySQL Shell in Python mode via the `mysqlsh` command" }, { "from": "gpt", "value": "`mysqlsh --py`" } ]
[ { "from": "human", "value": "Import JSON documents into a MySQL collection via the `mysqlsh` command" }, { "from": "gpt", "value": "`mysqlsh --import {{path/to/file.json}} --schema {{schema_name}} --collection {{collection_name}}`" } ]
[ { "from": "human", "value": "Enable verbose output via the `mysqlsh` command" }, { "from": "gpt", "value": "`mysqlsh --verbose`" } ]
[ { "from": "human", "value": "Tell me about `mytop`." }, { "from": "gpt", "value": "Display MySQL server performance info like `top`.\nMore information: <https://jeremy.zawodny.com/mysql/mytop/mytop.html>.\n" } ]
[ { "from": "human", "value": "Start `mytop` via the `mytop` command" }, { "from": "gpt", "value": "`mytop`" } ]
[ { "from": "human", "value": "Connect with a specified username and password via the `mytop` command" }, { "from": "gpt", "value": "`mytop -u {{user}} -p {{password}}`" } ]
[ { "from": "human", "value": "Connect with a specified username (the user will be prompted for a password) via the `mytop` command" }, { "from": "gpt", "value": "`mytop -u {{user}} --prompt`" } ]
[ { "from": "human", "value": "Do not show any idle (sleeping) threads via the `mytop` command" }, { "from": "gpt", "value": "`mytop -u {{user}} -p {{password}} --noidle`" } ]
[ { "from": "human", "value": "Tell me about `naabu`." }, { "from": "gpt", "value": "A fast port scanner written in Go with a focus on reliability and simplicity.\nNote: Some features are only activated when `naabu` is run with root privileges such as SYN scan.\nMore information: <https://github.c...
[ { "from": "human", "value": "Run a SYN scan against default (top 100) ports of remote host via the `naabu` command" }, { "from": "gpt", "value": "`sudo naabu -host {{host}}`" } ]
[ { "from": "human", "value": "Display available network interfaces and public IP address of the local host via the `naabu` command" }, { "from": "gpt", "value": "`naabu -interface-list`" } ]
[ { "from": "human", "value": "Scan all ports of the remote host (CONNECT scan without `sudo`) via the `naabu` command" }, { "from": "gpt", "value": "`naabu -p - -host {{host}}`" } ]
[ { "from": "human", "value": "Scan the top 1000 ports of the remote host via the `naabu` command" }, { "from": "gpt", "value": "`naabu -top-ports 1000 -host {{host}}`" } ]
[ { "from": "human", "value": "Scan TCP ports 80, 443 and UDP port 53 of the remote host via the `naabu` command" }, { "from": "gpt", "value": "`naabu -p 80,443,u:53 -host {{host}}`" } ]
[ { "from": "human", "value": "Show CDN type the remote host is using, if any via the `naabu` command" }, { "from": "gpt", "value": "`naabu -p 80,443 -cdn -host {{host}}`" } ]
[ { "from": "human", "value": "Run `nmap` from `naabu` for additional functionalities (`nmap` must be installed) via the `naabu` command" }, { "from": "gpt", "value": "`sudo naabu -v -host {{host}} -nmap-cli 'nmap {{-v -T5 -sC}}'`" } ]
[ { "from": "human", "value": "Tell me about `nano`." }, { "from": "gpt", "value": "Command-line text editor. An enhanced `Pico` clone.\nMore information: <https://nano-editor.org>.\n" } ]
[ { "from": "human", "value": "Start the editor via the `nano` command" }, { "from": "gpt", "value": "`nano`" } ]
[ { "from": "human", "value": "Start the editor without using configuration files via the `nano` command" }, { "from": "gpt", "value": "`nano {{[-I|--ignorercfiles]}}`" } ]
[ { "from": "human", "value": "Open specific files, moving to the next file when closing the previous one via the `nano` command" }, { "from": "gpt", "value": "`nano {{path/to/file1 path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Open a file and position the cursor at a specific line and column via the `nano` command" }, { "from": "gpt", "value": "`nano +{{line}},{{column}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Open a file and enable soft wrapping via the `nano` command" }, { "from": "gpt", "value": "`nano {{[-S|--softwrap]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Open a file and indent new lines to the previous line's indentation via the `nano` command" }, { "from": "gpt", "value": "`nano {{[-i|--autoindent]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Open a file and create a backup file (`path/to/file~`) on save via the `nano` command" }, { "from": "gpt", "value": "`nano {{[-B|--backup]}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Exit nano via the `nano` command" }, { "from": "gpt", "value": "`<Ctrl x>`" } ]
[ { "from": "human", "value": "Tell me about `nasm`." }, { "from": "gpt", "value": "The Netwide Assembler, a portable 80x86 assembler.\nMore information: <https://nasm.us>.\n" } ]
[ { "from": "human", "value": "Assemble `source.asm` into a binary file `source`, in the (default) raw binary format via the `nasm` command" }, { "from": "gpt", "value": "`nasm {{source.asm}}`" } ]
[ { "from": "human", "value": "Assemble `source.asm` into a binary file `output_file`, in the specified format via the `nasm` command" }, { "from": "gpt", "value": "`nasm -f {{format}} {{source.asm}} -o {{output_file}}`" } ]
[ { "from": "human", "value": "List valid output formats (along with basic nasm help) via the `nasm` command" }, { "from": "gpt", "value": "`nasm -hf`" } ]
[ { "from": "human", "value": "Assemble and generate an assembly listing file via the `nasm` command" }, { "from": "gpt", "value": "`nasm -l {{list_file}} {{source.asm}}`" } ]
[ { "from": "human", "value": "Add a directory (must be written with trailing slash) to the include file search path before assembling via the `nasm` command" }, { "from": "gpt", "value": "`nasm -i {{path/to/include_dir/}} {{source.asm}}`" } ]
[ { "from": "human", "value": "Tell me about `nativefier`." }, { "from": "gpt", "value": "Create a desktop app for any web site with minimal configuration.\nMore information: <https://github.com/jiahaog/nativefier>.\n" } ]
[ { "from": "human", "value": "Make a desktop app for a website via the `nativefier` command" }, { "from": "gpt", "value": "`nativefier {{url}}`" } ]
[ { "from": "human", "value": "Create a desktop app with a custom name via the `nativefier` command" }, { "from": "gpt", "value": "`nativefier --name {{name}} {{url}}`" } ]
[ { "from": "human", "value": "Use a custom icon, should be a PNG via the `nativefier` command" }, { "from": "gpt", "value": "`nativefier --icon {{path/to/icon.png}} {{url}}`" } ]
[ { "from": "human", "value": "Tell me about `nbtscan`." }, { "from": "gpt", "value": "Scan networks for NetBIOS name information.\nMore information: <https://github.com/resurrecting-open-source-projects/nbtscan>.\n" } ]
[ { "from": "human", "value": "Scan a network for NetBIOS names via the `nbtscan` command" }, { "from": "gpt", "value": "`nbtscan {{192.168.0.1/24}}`" } ]
[ { "from": "human", "value": "Scan a single IP address via the `nbtscan` command" }, { "from": "gpt", "value": "`nbtscan {{192.168.0.1}}`" } ]
[ { "from": "human", "value": "Display verbose output via the `nbtscan` command" }, { "from": "gpt", "value": "`nbtscan -v {{192.168.0.1/24}}`" } ]
[ { "from": "human", "value": "Display output in `/etc/hosts` format via the `nbtscan` command" }, { "from": "gpt", "value": "`nbtscan -e {{192.168.0.1/24}}`" } ]
[ { "from": "human", "value": "Read IP addresses/networks to scan from a file via the `nbtscan` command" }, { "from": "gpt", "value": "`nbtscan -f {{path/to/file.txt}}`" } ]
[ { "from": "human", "value": "Tell me about `ncc`." }, { "from": "gpt", "value": "Compile a Node.js application into a single file.\nSupports TypeScript, binary addons and dynamic requires.\nMore information: <https://github.com/vercel/ncc>.\n" } ]
[ { "from": "human", "value": "Bundle a Node.js application via the `ncc` command" }, { "from": "gpt", "value": "`ncc build {{path/to/file.js}}`" } ]
[ { "from": "human", "value": "Bundle and minify a Node.js application via the `ncc` command" }, { "from": "gpt", "value": "`ncc build --minify {{path/to/file.js}}`" } ]
[ { "from": "human", "value": "Bundle and minify a Node.js application and generate source maps via the `ncc` command" }, { "from": "gpt", "value": "`ncc build --source-map {{path/to/file.js}}`" } ]
[ { "from": "human", "value": "Automatically recompile on changes to source files via the `ncc` command" }, { "from": "gpt", "value": "`ncc build --watch {{path/to/file.js}}`" } ]
[ { "from": "human", "value": "Bundle a Node.js application into a temporary directory and run it for testing via the `ncc` command" }, { "from": "gpt", "value": "`ncc run {{path/to/file.js}}`" } ]
[ { "from": "human", "value": "Clean the `ncc` cache via the `ncc` command" }, { "from": "gpt", "value": "`ncc clean cache`" } ]
[ { "from": "human", "value": "Tell me about `ncdu`." }, { "from": "gpt", "value": "Disk usage analyzer with an ncurses interface.\nMore information: <https://manned.org/ncdu>.\n" } ]
[ { "from": "human", "value": "Analyze the current working directory via the `ncdu` command" }, { "from": "gpt", "value": "`ncdu`" } ]
[ { "from": "human", "value": "Colorize output via the `ncdu` command" }, { "from": "gpt", "value": "`ncdu --color {{dark|off}}`" } ]
[ { "from": "human", "value": "Analyze a given directory via the `ncdu` command" }, { "from": "gpt", "value": "`ncdu {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Save results to a file via the `ncdu` command" }, { "from": "gpt", "value": "`ncdu -o {{path/to/file}}`" } ]
[ { "from": "human", "value": "Exclude files that match a pattern, argument can be given multiple times to add more patterns via the `ncdu` command" }, { "from": "gpt", "value": "`ncdu --exclude '{{*.txt}}'`" } ]
[ { "from": "human", "value": "Tell me about `nc`." }, { "from": "gpt", "value": "Redirect I/O into a network stream through this versatile tool.\nMore information: <https://manned.org/nc>.\n" } ]
[ { "from": "human", "value": "Start a listener on the specified TCP port and send a file into it via the `nc` command" }, { "from": "gpt", "value": "`nc -l -p {{port}} < {{filename}}`" } ]
[ { "from": "human", "value": "Connect to a target listener on the specified port and receive a file from it via the `nc` command" }, { "from": "gpt", "value": "`nc {{host}} {{port}} > {{received_filename}}`" } ]
[ { "from": "human", "value": "Scan the open TCP ports of a specified host via the `nc` command" }, { "from": "gpt", "value": "`nc -v -z -w {{timeout_in_seconds}} {{host}} {{start_port}}-{{end_port}}`" } ]
[ { "from": "human", "value": "Start a listener on the specified TCP port and provide your local shell access to the connected party (this is dangerous and can be abused) via the `nc` command" }, { "from": "gpt", "value": "`nc -l -p {{port}} -e {{shell_executable}}`" } ]
[ { "from": "human", "value": "Connect to a target listener and provide your local shell access to the remote party (this is dangerous and can be abused) via the `nc` command" }, { "from": "gpt", "value": "`nc {{host}} {{port}} -e {{shell_executable}}`" } ]
[ { "from": "human", "value": "Act as a proxy and forward data from a local TCP port to the given remote host via the `nc` command" }, { "from": "gpt", "value": "`nc -l -p {{local_port}} | nc {{host}} {{remote_port}}`" } ]
[ { "from": "human", "value": "Send an HTTP GET request via the `nc` command" }, { "from": "gpt", "value": "`echo -e \"GET / HTTP/1.1\\nHost: {{host}}\\n\\n\" | nc {{host}} 80`" } ]
[ { "from": "human", "value": "Tell me about `ncmpcpp`." }, { "from": "gpt", "value": "A music player client for the Music Player Daemon.\nSee also: `mpd`, `mpc`, `qmmp`, `termusic`.\nMore information: <https://rybczak.net/ncmpcpp>.\n" } ]
[ { "from": "human", "value": "Connect to a music player daemon on a given host and port via the `ncmpcpp` command" }, { "from": "gpt", "value": "`ncmpcpp --host {{ip}} --port {{port}}`" } ]
[ { "from": "human", "value": "Display metadata of the current song to console via the `ncmpcpp` command" }, { "from": "gpt", "value": "`ncmpcpp --current-song`" } ]
[ { "from": "human", "value": "Use a specified configuration file via the `ncmpcpp` command" }, { "from": "gpt", "value": "`ncmpcpp --config {{file}}`" } ]
[ { "from": "human", "value": "Use a different set of key bindings from a file via the `ncmpcpp` command" }, { "from": "gpt", "value": "`ncmpcpp --bindings {{file}}`" } ]
[ { "from": "human", "value": "Tell me about `ncu`." }, { "from": "gpt", "value": "Find newer versions of package dependencies and check outdated npm packages locally or globally.\n`ncu` only updates dependency versions in `package.json`. To install the new versions, run `npm install` afterwards.\...
[ { "from": "human", "value": "List outdated dependencies in the current directory via the `ncu` command" }, { "from": "gpt", "value": "`ncu`" } ]
[ { "from": "human", "value": "List outdated global `npm` packages via the `ncu` command" }, { "from": "gpt", "value": "`ncu --global`" } ]
[ { "from": "human", "value": "Upgrade all dependencies in the current directory via the `ncu` command" }, { "from": "gpt", "value": "`ncu --upgrade`" } ]
[ { "from": "human", "value": "Interactively upgrade dependencies in the current directory via the `ncu` command" }, { "from": "gpt", "value": "`ncu --interactive`" } ]
[ { "from": "human", "value": "List outdated dependencies up to the highest minor version via the `ncu` command" }, { "from": "gpt", "value": "`ncu --target {{minor}}`" } ]
[ { "from": "human", "value": "List outdated dependencies that match a keyword or regular expression via the `ncu` command" }, { "from": "gpt", "value": "`ncu --filter {{keyword|/regex/}}`" } ]