conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Let a steam locomotive run through your terminal"
},
{
"from": "gpt",
"value": "sl"
}
] |
[
{
"from": "human",
"value": "The train burns, people scream"
},
{
"from": "gpt",
"value": "sl -a"
}
] |
[
{
"from": "human",
"value": "Let the train fly"
},
{
"from": "gpt",
"value": "sl -F"
}
] |
[
{
"from": "human",
"value": "Make the train little"
},
{
"from": "gpt",
"value": "sl -l"
}
] |
[
{
"from": "human",
"value": "Let the user exit (`<Ctrl c>`)"
},
{
"from": "gpt",
"value": "sl -e"
}
] |
[
{
"from": "human",
"value": "View documentation for `sfdk emulator install`"
},
{
"from": "gpt",
"value": "tldr sfdk emulator install"
}
] |
[
{
"from": "human",
"value": "Switch to a branch"
},
{
"from": "gpt",
"value": "dolt checkout branch_name"
}
] |
[
{
"from": "human",
"value": "Revert unstaged changes to a table"
},
{
"from": "gpt",
"value": "dolt checkout table"
}
] |
[
{
"from": "human",
"value": "Create new branch and switch to it"
},
{
"from": "gpt",
"value": "dolt checkout -b branch_name"
}
] |
[
{
"from": "human",
"value": "Create new branch based on a specified commit and switch to it"
},
{
"from": "gpt",
"value": "dolt checkout -b branch_name commit"
}
] |
[
{
"from": "human",
"value": "Convert an SBIG CCDOPS image file to PGM"
},
{
"from": "gpt",
"value": "sbigtopgm path/to/input_file.sbig > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Download a specific torrent"
},
{
"from": "gpt",
"value": "transmission-cli url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Download a torrent to a specific directory"
},
{
"from": "gpt",
"value": "transmission-cli --download-dir path/to/download_directory url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Create a torrent file from a specific file or directory"
},
{
"from": "gpt",
"value": "transmission-cli --new path/to/source_file_or_directory"
}
] |
[
{
"from": "human",
"value": "Specify the download speed limit (in KB/s)"
},
{
"from": "gpt",
"value": "transmission-cli --downlimit 50 url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Specify the upload speed limit (in KB/s)"
},
{
"from": "gpt",
"value": "transmission-cli --uplimit 50 url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Use a specific port for connections"
},
{
"from": "gpt",
"value": "transmission-cli --port port_number url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Force encryption for peer connections"
},
{
"from": "gpt",
"value": "transmission-cli --encryption-required url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Use a Bluetack-formatted peer blocklist"
},
{
"from": "gpt",
"value": "transmission-cli --blocklist blocklist_url|path/to/blocklist url|magnet|path/to/file"
}
] |
[
{
"from": "human",
"value": "Display the names and values of shell variables"
},
{
"from": "gpt",
"value": "set"
}
] |
[
{
"from": "human",
"value": "Export newly initialized variables to child processes"
},
{
"from": "gpt",
"value": "set -a"
}
] |
[
{
"from": "human",
"value": "Write formatted messages to `stderr` when jobs finish"
},
{
"from": "gpt",
"value": "set -b"
}
] |
[
{
"from": "human",
"value": "Write and edit text in the command-line with `vi`-like keybindings (e.g. `yy`)"
},
{
"from": "gpt",
"value": "set -o vi"
}
] |
[
{
"from": "human",
"value": "Return to default mode"
},
{
"from": "gpt",
"value": "set -o emacs"
}
] |
[
{
"from": "human",
"value": "List all modes"
},
{
"from": "gpt",
"value": "set -o"
}
] |
[
{
"from": "human",
"value": "Exit the shell when (some) command fails"
},
{
"from": "gpt",
"value": "set -e"
}
] |
[
{
"from": "human",
"value": "Reset all shell parameters and assign new ones"
},
{
"from": "gpt",
"value": "set -- argument1 argument2 ..."
}
] |
[
{
"from": "human",
"value": "Run a `doctl databases db` command with an access token"
},
{
"from": "gpt",
"value": "doctl databases db command --access-token access_token"
}
] |
[
{
"from": "human",
"value": "Retrieve the name of the given database hosted in the given database cluster"
},
{
"from": "gpt",
"value": "doctl databases db get database_id database_name"
}
] |
[
{
"from": "human",
"value": "List existing databases hosted within a given database cluster"
},
{
"from": "gpt",
"value": "doctl databases db list database_id"
}
] |
[
{
"from": "human",
"value": "Create a database with the given name in the given database cluster"
},
{
"from": "gpt",
"value": "doctl databases db create database_id database_name"
}
] |
[
{
"from": "human",
"value": "Delete the database with the given name in the given database cluster"
},
{
"from": "gpt",
"value": "doctl databases db delete database_id database_name"
}
] |
[
{
"from": "human",
"value": "Compile resources referenced in `file.gresource.xml` to a .gresource binary"
},
{
"from": "gpt",
"value": "glib-compile-resources file.gresource.xml"
}
] |
[
{
"from": "human",
"value": "Compile resources referenced in `file.gresource.xml` to a C source file"
},
{
"from": "gpt",
"value": "glib-compile-resources --generate-source file.gresource.xml"
}
] |
[
{
"from": "human",
"value": "Compile resources in `file.gresource.xml` to a chosen target file, with `.c`, `.h` or `.gresource` extension"
},
{
"from": "gpt",
"value": "glib-compile-resources --generate --target=file.ext file.gresource.xml"
}
] |
[
{
"from": "human",
"value": "Print a list of resource files referenced in `file.gresource.xml`"
},
{
"from": "gpt",
"value": "glib-compile-resources --generate-dependencies file.gresource.xml"
}
] |
[
{
"from": "human",
"value": "Analyze the dependencies of a `.jar` or `.class` file"
},
{
"from": "gpt",
"value": "jdeps path/to/filename.class"
}
] |
[
{
"from": "human",
"value": "Print a summary of all dependencies of a specific `.jar` file"
},
{
"from": "gpt",
"value": "jdeps path/to/filename.jar -summary"
}
] |
[
{
"from": "human",
"value": "Print all class-level dependencies of a `.jar` file"
},
{
"from": "gpt",
"value": "jdeps path/to/filename.jar -verbose"
}
] |
[
{
"from": "human",
"value": "Output the results of the analysis in a DOT file into a specific directory"
},
{
"from": "gpt",
"value": "jdeps path/to/filename.jar -dotoutput path/to/directory"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "jdeps --help"
}
] |
[
{
"from": "human",
"value": "Register a node at a Puppet server and apply the received catalog"
},
{
"from": "gpt",
"value": "puppet agent --test --server puppetserver_fqdn --serverport port --waitforcert poll_time"
}
] |
[
{
"from": "human",
"value": "Run the agent in the background (uses settings from `puppet.conf`)"
},
{
"from": "gpt",
"value": "puppet agent"
}
] |
[
{
"from": "human",
"value": "Run the agent once in the foreground, then exit"
},
{
"from": "gpt",
"value": "puppet agent --test"
}
] |
[
{
"from": "human",
"value": "Run the agent in dry-mode"
},
{
"from": "gpt",
"value": "puppet agent --test --noop"
}
] |
[
{
"from": "human",
"value": "Log every resource being evaluated (even if nothing is being changed)"
},
{
"from": "gpt",
"value": "puppet agent --test --evaltrace"
}
] |
[
{
"from": "human",
"value": "Disable the agent"
},
{
"from": "gpt",
"value": "puppet agent --disable \"message\""
}
] |
[
{
"from": "human",
"value": "Enable the agent"
},
{
"from": "gpt",
"value": "puppet agent --enable"
}
] |
[
{
"from": "human",
"value": "Collect all data using default collection methods (includes groups, sessions, and trusts)"
},
{
"from": "gpt",
"value": "bloodhound-python --username username --password password --domain domain"
}
] |
[
{
"from": "human",
"value": "Collect data using Kerberos authentication without requiring a plaintext password"
},
{
"from": "gpt",
"value": "bloodhound-python --collectionmethod All --kerberos --domain domain"
}
] |
[
{
"from": "human",
"value": "Authenticate using NTLM hashes instead of a password"
},
{
"from": "gpt",
"value": "bloodhound-python --collectionmethod All --username username --hashes LM:NTLM --domain domain"
}
] |
[
{
"from": "human",
"value": "Specify a custom name server for DNS queries"
},
{
"from": "gpt",
"value": "bloodhound-python --collectionmethod All --username username --password password --domain domain --nameserver nameserver"
}
] |
[
{
"from": "human",
"value": "Save the output files as a compressed ZIP archive"
},
{
"from": "gpt",
"value": "bloodhound-python --collectionmethod All --username username --password password --domain domain --zip"
}
] |
[
{
"from": "human",
"value": "Convert an input image to PBM, PGM, or PPM format irrespective of the input type"
},
{
"from": "gpt",
"value": "anytopnm path/to/input > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "anytopnm [-v|-version]"
}
] |
[
{
"from": "human",
"value": "Compile a vala file, with gtk+"
},
{
"from": "gpt",
"value": "valac path/to/file.vala --pkg gtk+-3.0"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "valac --help"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "valac --version"
}
] |
[
{
"from": "human",
"value": "Scan the top 1000 ports of a remote host with various [v]erbosity levels"
},
{
"from": "gpt",
"value": "nmap -v1|2|3 ip_or_hostname"
}
] |
[
{
"from": "human",
"value": "Run a ping sweep over an entire subnet or individual hosts very aggressively"
},
{
"from": "gpt",
"value": "nmap -T5 -sn 192.168.0.0/24|ip_or_hostname1,ip_or_hostname2,..."
}
] |
[
{
"from": "human",
"value": "Enable OS detection, version detection, script scanning, and traceroute of hosts from a file"
},
{
"from": "gpt",
"value": "sudo nmap -A -iL path/to/file.txt"
}
] |
[
{
"from": "human",
"value": "Scan a specific list of ports (use `-p-` for all ports from 1 to 65535)"
},
{
"from": "gpt",
"value": "nmap -p port1,port2,... ip_or_host1,ip_or_host2,..."
}
] |
[
{
"from": "human",
"value": "Perform service and version detection of the top 1000 ports using default NSE scripts, writing results (`-oA`) to output files"
},
{
"from": "gpt",
"value": "nmap -sC -sV -oA top-1000-ports ip_or_host1,ip_or_host2,..."
}
] |
[
{
"from": "human",
"value": "Scan target(s) carefully using `default and safe` NSE scripts"
},
{
"from": "gpt",
"value": "nmap --script \"default and safe\" ip_or_host1,ip_or_host2,..."
}
] |
[
{
"from": "human",
"value": "Scan for web servers running on standard ports 80 and 443 using all available `http-*` NSE scripts"
},
{
"from": "gpt",
"value": "nmap --script \"http-*\" ip_or_host1,ip_or_host2,... -p 80,443"
}
] |
[
{
"from": "human",
"value": "Attempt evading IDS/IPS detection by using an extremely slow scan (`-T0`), decoy source addresses (`-D`), [f]ragmented packets, random data and other methods"
},
{
"from": "gpt",
"value": "sudo nmap -T0 -D decoy_ip1,decoy_ip2,... --source-port 53 -f --data-length 16 ... |
[
{
"from": "human",
"value": "Start an interactive shell session"
},
{
"from": "gpt",
"value": "tcsh"
}
] |
[
{
"from": "human",
"value": "Start an interactive shell session without loading startup configs"
},
{
"from": "gpt",
"value": "tcsh -f"
}
] |
[
{
"from": "human",
"value": "Execute specific [c]ommands"
},
{
"from": "gpt",
"value": "tcsh -c \"echo 'tcsh is executed'\""
}
] |
[
{
"from": "human",
"value": "Execute a specific script"
},
{
"from": "gpt",
"value": "tcsh path/to/script.tcsh"
}
] |
[
{
"from": "human",
"value": "Check a specific script for syntax errors"
},
{
"from": "gpt",
"value": "tcsh -n path/to/script.tcsh"
}
] |
[
{
"from": "human",
"value": "Execute specific commands from `stdin`"
},
{
"from": "gpt",
"value": "echo \"echo 'tcsh is executed'\" | tcsh"
}
] |
[
{
"from": "human",
"value": "List available devices"
},
{
"from": "gpt",
"value": "liquidctl list"
}
] |
[
{
"from": "human",
"value": "Initialize all supported devices"
},
{
"from": "gpt",
"value": "sudo liquidctl initialize all"
}
] |
[
{
"from": "human",
"value": "Print the status of available liquid coolers"
},
{
"from": "gpt",
"value": "liquidctl status"
}
] |
[
{
"from": "human",
"value": "Match a string in product name to pick a device and set its fan speed to 0% at 20°C, 50% at 50°C and 100% at 70°C"
},
{
"from": "gpt",
"value": "liquidctl --match string set fan speed 20 0 50 50 70 100"
}
] |
[
{
"from": "human",
"value": "Run checks over the code in the current directory"
},
{
"from": "gpt",
"value": "cargo clippy"
}
] |
[
{
"from": "human",
"value": "Require that `Cargo.lock` is up to date"
},
{
"from": "gpt",
"value": "cargo clippy --locked"
}
] |
[
{
"from": "human",
"value": "Run checks on all packages in the workspace"
},
{
"from": "gpt",
"value": "cargo clippy --workspace"
}
] |
[
{
"from": "human",
"value": "Run checks for a package"
},
{
"from": "gpt",
"value": "cargo clippy --package package"
}
] |
[
{
"from": "human",
"value": "Run checks for a lint group (see <https://rust-lang.github.io/rust-clippy/stable/index.html#?groups=cargo,complexity,correctness,deprecated,nursery,pedantic,perf,restriction,style,suspicious>)"
},
{
"from": "gpt",
"value": "cargo clippy -- --warn clippy::lint_group"
... |
[
{
"from": "human",
"value": "Treat warnings as errors"
},
{
"from": "gpt",
"value": "cargo clippy -- --deny warnings"
}
] |
[
{
"from": "human",
"value": "Run checks and ignore warnings"
},
{
"from": "gpt",
"value": "cargo clippy -- --allow warnings"
}
] |
[
{
"from": "human",
"value": "Apply Clippy suggestions automatically"
},
{
"from": "gpt",
"value": "cargo clippy --fix"
}
] |
[
{
"from": "human",
"value": "Convert an SGI image to a PNM file"
},
{
"from": "gpt",
"value": "sgitopnm path/to/input.sgi > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Display information about the SGI file"
},
{
"from": "gpt",
"value": "sgitopnm [-verb|-verbose] path/to/input.sgi > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Extract channel n of the SGI file"
},
{
"from": "gpt",
"value": "sgitopnm [-c|-channel] n path/to/input.sgi > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Run a command as the superuser"
},
{
"from": "gpt",
"value": "sudo less /var/log/syslog"
}
] |
[
{
"from": "human",
"value": "Edit a file as the superuser with your default editor"
},
{
"from": "gpt",
"value": "sudo [-e|--edit] /etc/fstab"
}
] |
[
{
"from": "human",
"value": "Run a command as another user and/or group"
},
{
"from": "gpt",
"value": "sudo [-u|--user] user [-g|--group] group id -a"
}
] |
[
{
"from": "human",
"value": "Repeat the last command prefixed with `sudo` (only in Bash, Zsh, etc.)"
},
{
"from": "gpt",
"value": "sudo !!"
}
] |
[
{
"from": "human",
"value": "Launch the default shell with superuser privileges and run login-specific files (`.profile`, `.bash_profile`, etc.)"
},
{
"from": "gpt",
"value": "sudo [-i|--login]"
}
] |
[
{
"from": "human",
"value": "Launch the default shell with superuser privileges without changing the environment"
},
{
"from": "gpt",
"value": "sudo [-s|--shell]"
}
] |
[
{
"from": "human",
"value": "Launch the default shell as the specified user, loading the user's environment and reading login-specific files (`.profile`, `.bash_profile`, etc.)"
},
{
"from": "gpt",
"value": "sudo [-i|--login] [-u|--user] user"
}
] |
[
{
"from": "human",
"value": "List the allowed (and forbidden) commands for the invoking user"
},
{
"from": "gpt",
"value": "sudo [-l|--list]"
}
] |
[
{
"from": "human",
"value": "Associate the local install of `asciinema` with an asciinema.org account"
},
{
"from": "gpt",
"value": "asciinema auth"
}
] |
[
{
"from": "human",
"value": "Make a new recording (finish it with `<Ctrl d>` or type `exit`)"
},
{
"from": "gpt",
"value": "asciinema rec path/to/file.cast"
}
] |
[
{
"from": "human",
"value": "Make a new recording and save it to a local file"
},
{
"from": "gpt",
"value": "asciinema rec path/to/recording.cast"
}
] |
[
{
"from": "human",
"value": "Replay a terminal recording from a local file"
},
{
"from": "gpt",
"value": "asciinema play path/to/recording.cast"
}
] |
[
{
"from": "human",
"value": "Replay a terminal recording hosted on <https://asciinema.org>"
},
{
"from": "gpt",
"value": "asciinema play https://asciinema.org/a/cast_id"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.