conversations
listlengths
2
2
[ { "from": "human", "value": "Sniff local DHCP traffic" }, { "from": "gpt", "value": "dhcpwn --interface network_interface sniff" } ]
[ { "from": "human", "value": "Start Mosquitto" }, { "from": "gpt", "value": "mosquitto" } ]
[ { "from": "human", "value": "Specify a configuration file to use" }, { "from": "gpt", "value": "mosquitto --config-file path/to/file.conf" } ]
[ { "from": "human", "value": "Listen on a specific port" }, { "from": "gpt", "value": "mosquitto --port 8883" } ]
[ { "from": "human", "value": "Daemonize by forking into the background" }, { "from": "gpt", "value": "mosquitto --daemon" } ]
[ { "from": "human", "value": "Initialize a backup repository in a given local directory" }, { "from": "gpt", "value": "bup [-d|--bup-dir] path/to/repository init" } ]
[ { "from": "human", "value": "Prepare a given directory before taking a backup" }, { "from": "gpt", "value": "bup [-d|--bup-dir] path/to/repository index path/to/directory" } ]
[ { "from": "human", "value": "Backup a directory to the repository specifying its name" }, { "from": "gpt", "value": "bup [-d|--bup-dir] path/to/repository save [-n|--name] backup_name path/to/directory" } ]
[ { "from": "human", "value": "Show the backup snapshots currently stored in the repository" }, { "from": "gpt", "value": "bup [-d|--bup-dir] path/to/repository ls" } ]
[ { "from": "human", "value": "Restore a specific backup snapshot to a target directory" }, { "from": "gpt", "value": "bup [-d|--bup-dir] path/to/repository restore [-C|--outdir] path/to/target_directory backup_name" } ]
[ { "from": "human", "value": "Run in a project's directory" }, { "from": "gpt", "value": "cppclean path/to/project" } ]
[ { "from": "human", "value": "Run on a project where the headers are in the `inc1/` and `inc2/` directories" }, { "from": "gpt", "value": "cppclean path/to/project --include-path inc1 --include-path inc2" } ]
[ { "from": "human", "value": "Run on a specific file `main.cpp`" }, { "from": "gpt", "value": "cppclean main.cpp" } ]
[ { "from": "human", "value": "Run on the current directory, excluding the \"build\" directory" }, { "from": "gpt", "value": "cppclean . --exclude build" } ]
[ { "from": "human", "value": "Create a new React Native project" }, { "from": "gpt", "value": "ignite new project_name" } ]
[ { "from": "human", "value": "Generate file from a plugin" }, { "from": "gpt", "value": "ignite generate plugin_name path/to/file" } ]
[ { "from": "human", "value": "Add an Ignite plugin to the project" }, { "from": "gpt", "value": "ignite add plugin_name" } ]
[ { "from": "human", "value": "Remove an Ignite plugin from the project" }, { "from": "gpt", "value": "ignite remove plugin_name" } ]
[ { "from": "human", "value": "Print marketplace terms" }, { "from": "gpt", "value": "az term show --product \"product_identifier\" --plan \"plan_identifier\" --publisher \"publisher_identifier\"" } ]
[ { "from": "human", "value": "Accept marketplace terms" }, { "from": "gpt", "value": "az term accept --product \"product_identifier\" --plan \"plan_identifier\" --publisher \"publisher_identifier\"" } ]
[ { "from": "human", "value": "Display a cursor to kill a window when pressing the left mouse button (press any other mouse button to cancel)" }, { "from": "gpt", "value": "xkill" } ]
[ { "from": "human", "value": "Display a cursor to select a window to kill by pressing any mouse button" }, { "from": "gpt", "value": "xkill -button any" } ]
[ { "from": "human", "value": "Kill a window with a specific ID (use `xwininfo` to get info about windows)" }, { "from": "gpt", "value": "xkill -id id" } ]
[ { "from": "human", "value": "Start the server" }, { "from": "gpt", "value": "minetestserver" } ]
[ { "from": "human", "value": "List available worlds" }, { "from": "gpt", "value": "minetestserver --world list" } ]
[ { "from": "human", "value": "Load the specified world" }, { "from": "gpt", "value": "minetestserver --world world_name" } ]
[ { "from": "human", "value": "List the available game IDs" }, { "from": "gpt", "value": "minetestserver --gameid list" } ]
[ { "from": "human", "value": "Use the specified game" }, { "from": "gpt", "value": "minetestserver --gameid game_id" } ]
[ { "from": "human", "value": "Listen on a specific port" }, { "from": "gpt", "value": "minetestserver --port 34567" } ]
[ { "from": "human", "value": "Migrate to a different data backend" }, { "from": "gpt", "value": "minetestserver --migrate sqlite3|leveldb|redis" } ]
[ { "from": "human", "value": "Start an interactive terminal after starting the server" }, { "from": "gpt", "value": "minetestserver --terminal" } ]
[ { "from": "human", "value": "Interactively show the disk usage of the current directory" }, { "from": "gpt", "value": "gdu" } ]
[ { "from": "human", "value": "Interactively show the disk usage of a given directory" }, { "from": "gpt", "value": "gdu path/to/directory" } ]
[ { "from": "human", "value": "Interactively show the disk usage of all mounted disks" }, { "from": "gpt", "value": "gdu --show-disks" } ]
[ { "from": "human", "value": "Interactively show the disk usage of the current directory but ignore some sub-directories" }, { "from": "gpt", "value": "gdu --ignore-dirs path/to/directory1,path/to/directory2,..." } ]
[ { "from": "human", "value": "Ignore paths by regular expression" }, { "from": "gpt", "value": "gdu --ignore-dirs-pattern '.*[abc]+'" } ]
[ { "from": "human", "value": "Ignore hidden directories" }, { "from": "gpt", "value": "gdu --no-hidden" } ]
[ { "from": "human", "value": "Only print the result, do not enter interactive mode" }, { "from": "gpt", "value": "gdu --non-interactive path/to/directory" } ]
[ { "from": "human", "value": "Do not show the progress in non-interactive mode (useful in scripts)" }, { "from": "gpt", "value": "gdu --no-progress path/to/directory" } ]
[ { "from": "human", "value": "Convert a PBM image to a WBMP file" }, { "from": "gpt", "value": "pbmtowbmp path/to/input_file.pbm > path/to/output_file.wbmp" } ]
[ { "from": "human", "value": "Edit the contents of the specified directories" }, { "from": "gpt", "value": "vidir path/to/directory1 path/to/directory2 ..." } ]
[ { "from": "human", "value": "Display each action taken by the program" }, { "from": "gpt", "value": "vidir --verbose path/to/directory1 path/to/directory2 ..." } ]
[ { "from": "human", "value": "Edit the contents of current directory" }, { "from": "gpt", "value": "vidir" } ]
[ { "from": "human", "value": "Use the specified text editor" }, { "from": "gpt", "value": "EDITOR=vim vidir path/to/directory1 path/to/directory2 ..." } ]
[ { "from": "human", "value": "Read a list of files to edit from `stdin`" }, { "from": "gpt", "value": "command | vidir -" } ]
[ { "from": "human", "value": "Count all the lines of code in a directory" }, { "from": "gpt", "value": "cloc path/to/directory" } ]
[ { "from": "human", "value": "Count all the lines of code in a directory, displaying a progress bar during the counting process" }, { "from": "gpt", "value": "cloc --progress=1 path/to/directory" } ]
[ { "from": "human", "value": "Compare 2 directory structures and count the differences between them" }, { "from": "gpt", "value": "cloc --diff path/to/directory/one path/to/directory/two" } ]
[ { "from": "human", "value": "Ignore files that are ignored by VCS, such as files specified in `.gitignore`" }, { "from": "gpt", "value": "cloc --vcs git path/to/directory" } ]
[ { "from": "human", "value": "Count all the lines of code in a directory, displaying the results for each file instead of each language" }, { "from": "gpt", "value": "cloc --by-file path/to/directory" } ]
[ { "from": "human", "value": "Abort a Git rebase, merge, or cherry-pick" }, { "from": "gpt", "value": "git abort" } ]
[ { "from": "human", "value": "Output a YAML file, in pretty-print format (v4+)" }, { "from": "gpt", "value": "yq eval path/to/file.yaml" } ]
[ { "from": "human", "value": "Output a YAML file, in pretty-print format (v3)" }, { "from": "gpt", "value": "yq read path/to/file.yaml [-C|--colors]" } ]
[ { "from": "human", "value": "Output the first element in a YAML file that contains only an array (v4+)" }, { "from": "gpt", "value": "yq eval '.[0]' path/to/file.yaml" } ]
[ { "from": "human", "value": "Output the first element in a YAML file that contains only an array (v3)" }, { "from": "gpt", "value": "yq read path/to/file.yaml '[0]'" } ]
[ { "from": "human", "value": "Set (or overwrite) a key to a value in a file (v4+)" }, { "from": "gpt", "value": "yq eval '.key = \"value\"' [-i|--inplace] path/to/file.yaml" } ]
[ { "from": "human", "value": "Set (or overwrite) a key to a value in a file (v3)" }, { "from": "gpt", "value": "yq write [-i|--inplace] path/to/file.yaml 'key' 'value'" } ]
[ { "from": "human", "value": "Merge two files and print to `stdout` (v4+)" }, { "from": "gpt", "value": "yq eval-all 'select(filename == \"path/to/file1.yaml\") * select(filename == \"path/to/file2.yaml\")' path/to/file1.yaml path/to/file2.yaml" } ]
[ { "from": "human", "value": "Merge two files and print to `stdout` (v3)" }, { "from": "gpt", "value": "yq merge path/to/file1.yaml path/to/file2.yaml [-C|--colors]" } ]
[ { "from": "human", "value": "Search for valid credentials by trying out every combination in the specified lists of [u]sernames and [p]asswords" }, { "from": "gpt", "value": "nxc mssql 192.168.178.2 -u path/to/usernames.txt -p path/to/passwords.txt" } ]
[ { "from": "human", "value": "Execute the specified SQL [q]uery on the target server" }, { "from": "gpt", "value": "nxc mssql 192.168.178.2 -u username -p password --query 'SELECT * FROM sys.databases;'" } ]
[ { "from": "human", "value": "Execute the specified shell command on the target server through MSSQL" }, { "from": "gpt", "value": "nxc mssql 192.168.178.2 -u username -p password -x whoami" } ]
[ { "from": "human", "value": "Execute the specified PowerShell command on the target server through MSSQL without retrieving output" }, { "from": "gpt", "value": "nxc mssql 192.168.178.2 -u username -p password -X whoami --no-output" } ]
[ { "from": "human", "value": "Download a remote file from the target server and store it in the specified location" }, { "from": "gpt", "value": "nxc mssql 192.168.178.2 -u username -p password --get-file C:\\path\\to\\remote_file path/to/local_file" } ]
[ { "from": "human", "value": "Upload a local file to the specified location on the target server" }, { "from": "gpt", "value": "nxc mssql 192.168.178.2 -u username -p password --put-file path/to/local_file C:\\path\\to\\remote_file" } ]
[ { "from": "human", "value": "Export a collection to `stdout`, formatted as JSON" }, { "from": "gpt", "value": "mongoexport --uri=connection_string --collection=collection_name" } ]
[ { "from": "human", "value": "Export the documents in the specified collection that match a query to a JSON file" }, { "from": "gpt", "value": "mongoexport --db=database_name --collection=collection_name --query=\"query_object\" --out=path/to/file.json" } ]
[ { "from": "human", "value": "Export documents as a JSON array instead of one object per line" }, { "from": "gpt", "value": "mongoexport --collection=collection_name --jsonArray" } ]
[ { "from": "human", "value": "Export documents to a CSV file" }, { "from": "gpt", "value": "mongoexport --collection=collection_name --type=csv --fields=\"field1,field2,...\" --out=path/to/file.csv" } ]
[ { "from": "human", "value": "Export documents that match the query in the specified file to a CSV file, omitting the list of field names on the first line" }, { "from": "gpt", "value": "mongoexport --collection=collection_name --type=csv --fields=\"field1,field2,...\" --queryFile=path/to/file --...
[ { "from": "human", "value": "Export documents to `stdout`, formatted as human-readable JSON" }, { "from": "gpt", "value": "mongoexport --uri=mongodb_uri --collection=collection_name --pretty" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "mongoexport --help" } ]
[ { "from": "human", "value": "Download the contents of a URL to a file using multiple threads (default behavior differs from `wget`)" }, { "from": "gpt", "value": "wget2 https://example.com/foo" } ]
[ { "from": "human", "value": "Limit the number of threads used for downloading (default is 5 threads)" }, { "from": "gpt", "value": "wget2 --max-threads 10 https://example.com/foo" } ]
[ { "from": "human", "value": "Download a single web page and all its resources (scripts, stylesheets, images, etc.)" }, { "from": "gpt", "value": "wget2 [-p|--page-requisites] [-k|--convert-links] https://example.com/somepage.html" } ]
[ { "from": "human", "value": "Mirror a website, but do not ascend to the parent directory (does not download embedded page elements)" }, { "from": "gpt", "value": "wget2 [-m|--mirror] [-np|--no-parent] https://example.com/somepath/" } ]
[ { "from": "human", "value": "Limit the download speed and the number of connection retries" }, { "from": "gpt", "value": "wget2 --limit-rate 300k [-t|--tries] 100 https://example.com/somepath/" } ]
[ { "from": "human", "value": "Continue an incomplete download (behavior is consistent with `wget`)" }, { "from": "gpt", "value": "wget2 [-c|--continue] https://example.com" } ]
[ { "from": "human", "value": "Download all URLs stored in a text file to a specific directory" }, { "from": "gpt", "value": "wget2 [-P|--directory-prefix] path/to/directory [-i|--input-file] URLs.txt" } ]
[ { "from": "human", "value": "Download a file from an HTTP server using Basic Auth (also works for HTTPS)" }, { "from": "gpt", "value": "wget2 --user username --password password https://example.com" } ]
[ { "from": "human", "value": "Search entries" }, { "from": "gpt", "value": "keepassxc-cli search path/to/database_file name" } ]
[ { "from": "human", "value": "List the contents of a folder" }, { "from": "gpt", "value": "keepassxc-cli ls path/to/database_file /path/to/directory" } ]
[ { "from": "human", "value": "Add an entry with an auto-generated password" }, { "from": "gpt", "value": "keepassxc-cli add --generate path/to/database_file entry_name" } ]
[ { "from": "human", "value": "Delete an entry" }, { "from": "gpt", "value": "keepassxc-cli rm path/to/database_file entry_name" } ]
[ { "from": "human", "value": "Copy an entry's password to the clipboard" }, { "from": "gpt", "value": "keepassxc-cli clip path/to/database_file entry_name" } ]
[ { "from": "human", "value": "Copy a TOTP code to the clipboard" }, { "from": "gpt", "value": "keepassxc-cli clip --totp path/to/database_file entry_name" } ]
[ { "from": "human", "value": "Generate a passphrase with 7 words" }, { "from": "gpt", "value": "keepassxc-cli diceware --words 7" } ]
[ { "from": "human", "value": "Generate a password with 16 printable ASCII characters" }, { "from": "gpt", "value": "keepassxc-cli generate --lower --upper --numeric --special --length 16" } ]
[ { "from": "human", "value": "Run a JavaScript file" }, { "from": "gpt", "value": "node path/to/file" } ]
[ { "from": "human", "value": "Start a REPL (interactive shell)" }, { "from": "gpt", "value": "node" } ]
[ { "from": "human", "value": "Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+)" }, { "from": "gpt", "value": "node --watch path/to/file" } ]
[ { "from": "human", "value": "Evaluate JavaScript code by passing it as an argument" }, { "from": "gpt", "value": "node -e \"code\"" } ]
[ { "from": "human", "value": "Evaluate and print the result, useful to print node's dependencies versions" }, { "from": "gpt", "value": "node -p \"process.versions\"" } ]
[ { "from": "human", "value": "Activate inspector, pausing execution until a debugger is connected once source code is fully parsed" }, { "from": "gpt", "value": "node --no-lazy --inspect-brk path/to/file" } ]
[ { "from": "human", "value": "Convert a PPM image to an X11 puzzle file" }, { "from": "gpt", "value": "ppmtopuzz path/to/file.ppm > path/to/file.puzz" } ]
[ { "from": "human", "value": "Extract an archive" }, { "from": "gpt", "value": "unp path/to/archive.zip" } ]
[ { "from": "human", "value": "Extract multiple archives" }, { "from": "gpt", "value": "unp path/to/archive1.tar.gz path/to/archive2.rar" } ]
[ { "from": "human", "value": "Print environment information" }, { "from": "gpt", "value": "accelerate env" } ]
[ { "from": "human", "value": "Interactively create a configuration file" }, { "from": "gpt", "value": "accelerate config" } ]
[ { "from": "human", "value": "Print the estimated GPU memory cost of running a Hugging Face model with different data types" }, { "from": "gpt", "value": "accelerate estimate-memory name/model" } ]