conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "ipscan --help"
}
] |
[
{
"from": "human",
"value": "Skip to the next iteration"
},
{
"from": "gpt",
"value": "while :; do continue; echo \"This will never be reached\"; done"
}
] |
[
{
"from": "human",
"value": "Skip to the next iteration from within a nested loop"
},
{
"from": "gpt",
"value": "for i in {1..3}; do while :; do continue 2; done; done"
}
] |
[
{
"from": "human",
"value": "Page through a `gzip` compressed file with `less`"
},
{
"from": "gpt",
"value": "zless file.txt.gz"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server"
},
{
"from": "gpt",
"value": "mosh username@remote_host"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server with a specific identity (private key)"
},
{
"from": "gpt",
"value": "mosh --ssh=\"ssh -i path/to/key_file\" username@remote_host"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server using a specific port"
},
{
"from": "gpt",
"value": "mosh --ssh=\"ssh -p 2222\" username@remote_host"
}
] |
[
{
"from": "human",
"value": "Run a command on a remote server"
},
{
"from": "gpt",
"value": "mosh remote_host -- command -with -flags"
}
] |
[
{
"from": "human",
"value": "Select Mosh UDP port (useful when `remote_host` is behind a NAT)"
},
{
"from": "gpt",
"value": "mosh -p 124 username@remote_host"
}
] |
[
{
"from": "human",
"value": "Usage when `mosh-server` binary is outside standard path"
},
{
"from": "gpt",
"value": "mosh --server=path/to/bin/mosh-server remote_host"
}
] |
[
{
"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 rdp 192.168.178.2 -u path/to/usernames.txt -p path/to/passwords.txt"
}
] |
[
{
"from": "human",
"value": "Take a screenshot after waiting the for specified number of seconds"
},
{
"from": "gpt",
"value": "nxc rdp 192.168.178.2 -u username -p password --screenshot --screentime 10"
}
] |
[
{
"from": "human",
"value": "Take a screenshot in the specified resolution"
},
{
"from": "gpt",
"value": "nxc rdp 192.168.178.2 -u username -p password --screenshot --res 1024x768"
}
] |
[
{
"from": "human",
"value": "Take a screenshot of the RDP login prompt if Network Level Authentication is disabled"
},
{
"from": "gpt",
"value": "nxc rdp 192.168.178.2 -u username -p password --nla-screenshot"
}
] |
[
{
"from": "human",
"value": "List existing machines"
},
{
"from": "gpt",
"value": "podman machine ls"
}
] |
[
{
"from": "human",
"value": "Create a new default machine"
},
{
"from": "gpt",
"value": "podman machine init"
}
] |
[
{
"from": "human",
"value": "Create a new machine with a specific name"
},
{
"from": "gpt",
"value": "podman machine init name"
}
] |
[
{
"from": "human",
"value": "Create a new machine with different resources"
},
{
"from": "gpt",
"value": "podman machine init --cpus=4 --memory=4096 --disk-size=50"
}
] |
[
{
"from": "human",
"value": "Start or stop a machine"
},
{
"from": "gpt",
"value": "podman machine start|stop name"
}
] |
[
{
"from": "human",
"value": "Connect to a running machine via SSH"
},
{
"from": "gpt",
"value": "podman machine ssh name"
}
] |
[
{
"from": "human",
"value": "Inspect information about a machine"
},
{
"from": "gpt",
"value": "podman machine inspect name"
}
] |
[
{
"from": "human",
"value": "Convert a MacPaint file into a PGM image"
},
{
"from": "gpt",
"value": "macptopbm path/to/file.macp > path/to/output.pbm"
}
] |
[
{
"from": "human",
"value": "Skip over `n` bytes when reading the file"
},
{
"from": "gpt",
"value": "macptopbm [-e|-extraskip] n > path/to/output.pbm"
}
] |
[
{
"from": "human",
"value": "Suppress all informational messages"
},
{
"from": "gpt",
"value": "macptopbm [-q|-quiet] > path/to/output.pbm"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "macptopbm [-v|-version]"
}
] |
[
{
"from": "human",
"value": "List your events for all your calendars over the next 7 days"
},
{
"from": "gpt",
"value": "gcalcli agenda"
}
] |
[
{
"from": "human",
"value": "Show events starting from or between specific dates (also takes relative dates e.g. \"tomorrow\")"
},
{
"from": "gpt",
"value": "gcalcli agenda mm/dd [mm/dd]"
}
] |
[
{
"from": "human",
"value": "List events from a specific calendar"
},
{
"from": "gpt",
"value": "gcalcli --calendar calendar_name agenda"
}
] |
[
{
"from": "human",
"value": "Display an ASCII calendar of events by week"
},
{
"from": "gpt",
"value": "gcalcli calw"
}
] |
[
{
"from": "human",
"value": "Display an ASCII calendar of events for a month"
},
{
"from": "gpt",
"value": "gcalcli calm"
}
] |
[
{
"from": "human",
"value": "Quick-add an event to your calendar"
},
{
"from": "gpt",
"value": "gcalcli --calendar calendar_name quick \"mm/dd HH:MM event_name\""
}
] |
[
{
"from": "human",
"value": "Add an event to calendar. Triggers interactive prompt"
},
{
"from": "gpt",
"value": "gcalcli --calendar \"calendar_name\" add"
}
] |
[
{
"from": "human",
"value": "Open the last command in the default system editor and run it after editing"
},
{
"from": "gpt",
"value": "fc"
}
] |
[
{
"from": "human",
"value": "Specify an editor to open with"
},
{
"from": "gpt",
"value": "fc -e 'emacs'"
}
] |
[
{
"from": "human",
"value": "List recent commands from history"
},
{
"from": "gpt",
"value": "fc -l"
}
] |
[
{
"from": "human",
"value": "List recent commands in reverse order"
},
{
"from": "gpt",
"value": "fc -l -r"
}
] |
[
{
"from": "human",
"value": "Edit and run a command from history"
},
{
"from": "gpt",
"value": "fc number"
}
] |
[
{
"from": "human",
"value": "Edit commands in a given interval and run them"
},
{
"from": "gpt",
"value": "fc '416' '420'"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "fc --help"
}
] |
[
{
"from": "human",
"value": "Install a module"
},
{
"from": "gpt",
"value": "drupal module:install module_name"
}
] |
[
{
"from": "human",
"value": "Uninstall a module"
},
{
"from": "gpt",
"value": "drupal module:uninstall module_name"
}
] |
[
{
"from": "human",
"value": "Clear all caches"
},
{
"from": "gpt",
"value": "drupal cache:rebuild"
}
] |
[
{
"from": "human",
"value": "View current Drupal installation status"
},
{
"from": "gpt",
"value": "drupal site:status"
}
] |
[
{
"from": "human",
"value": "List all installed tools"
},
{
"from": "gpt",
"value": "volta list"
}
] |
[
{
"from": "human",
"value": "Install the latest version of a tool"
},
{
"from": "gpt",
"value": "volta install node|npm|yarn|package_name"
}
] |
[
{
"from": "human",
"value": "Install a specific version of a tool"
},
{
"from": "gpt",
"value": "volta install node|npm|yarn@version"
}
] |
[
{
"from": "human",
"value": "Choose a tool version for a project (will store it in `package.json`)"
},
{
"from": "gpt",
"value": "volta pin node|npm|yarn@version"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "volta help"
}
] |
[
{
"from": "human",
"value": "Display help for a subcommand"
},
{
"from": "gpt",
"value": "volta help fetch|install|uninstall|pin|list|completions|which|setup|run|help"
}
] |
[
{
"from": "human",
"value": "Open moe and create a backup file (file~) when saving edits"
},
{
"from": "gpt",
"value": "moe path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a file as read-only"
},
{
"from": "gpt",
"value": "moe [-o|--read-only] path/to/file"
}
] |
[
{
"from": "human",
"value": "Edit a file without creating backups"
},
{
"from": "gpt",
"value": "moe [-B|--no-backup] path/to/file"
}
] |
[
{
"from": "human",
"value": "Edit a file ignoring case in searches"
},
{
"from": "gpt",
"value": "moe [-i|--ignore-case] path/to/file"
}
] |
[
{
"from": "human",
"value": "Save and Quit"
},
{
"from": "gpt",
"value": "<Ctrl x>"
}
] |
[
{
"from": "human",
"value": "Rename a file or directory when the target is not an existing directory"
},
{
"from": "gpt",
"value": "mv path/to/source path/to/target"
}
] |
[
{
"from": "human",
"value": "Move a file or directory into an existing directory"
},
{
"from": "gpt",
"value": "mv path/to/source path/to/existing_directory"
}
] |
[
{
"from": "human",
"value": "Move multiple files into an existing directory, keeping the filenames unchanged"
},
{
"from": "gpt",
"value": "mv path/to/source1 path/to/source2 ... path/to/existing_directory"
}
] |
[
{
"from": "human",
"value": "Do not prompt for confirmation before overwriting existing files"
},
{
"from": "gpt",
"value": "mv [-f|--force] path/to/source path/to/target"
}
] |
[
{
"from": "human",
"value": "Prompt for confirmation interactively before overwriting existing files, regardless of file permissions"
},
{
"from": "gpt",
"value": "mv [-i|--interactive] path/to/source path/to/target"
}
] |
[
{
"from": "human",
"value": "Do not overwrite existing files at the target"
},
{
"from": "gpt",
"value": "mv [-n|--no-clobber] path/to/source path/to/target"
}
] |
[
{
"from": "human",
"value": "Move files in verbose mode, showing files after they are moved"
},
{
"from": "gpt",
"value": "mv [-v|--verbose] path/to/source path/to/target"
}
] |
[
{
"from": "human",
"value": "Specify target directory so that you can use external tools to gather movable files"
},
{
"from": "gpt",
"value": "find /var/log -type f -name '*.log' -print0 | xargs -0 mv [-t|--target-directory] path/to/target_directory"
}
] |
[
{
"from": "human",
"value": "Start an interactive shell session"
},
{
"from": "gpt",
"value": "csh"
}
] |
[
{
"from": "human",
"value": "Start an interactive shell session without loading startup configs"
},
{
"from": "gpt",
"value": "csh -f"
}
] |
[
{
"from": "human",
"value": "Execute specific [c]ommands"
},
{
"from": "gpt",
"value": "csh -c \"echo 'csh is executed'\""
}
] |
[
{
"from": "human",
"value": "Execute a specific script"
},
{
"from": "gpt",
"value": "csh path/to/script.csh"
}
] |
[
{
"from": "human",
"value": "Import an existing patch from a file"
},
{
"from": "gpt",
"value": "quilt import path/to/filename.patch"
}
] |
[
{
"from": "human",
"value": "Create a new patch"
},
{
"from": "gpt",
"value": "quilt new filename.patch"
}
] |
[
{
"from": "human",
"value": "Add a file to the current patch"
},
{
"from": "gpt",
"value": "quilt add path/to/file"
}
] |
[
{
"from": "human",
"value": "After editing the file, refresh the current patch with the changes"
},
{
"from": "gpt",
"value": "quilt refresh"
}
] |
[
{
"from": "human",
"value": "Apply all the patches in the series file"
},
{
"from": "gpt",
"value": "quilt push -a"
}
] |
[
{
"from": "human",
"value": "Remove all applied patches"
},
{
"from": "gpt",
"value": "quilt pop -a"
}
] |
[
{
"from": "human",
"value": "Find rows that have a certain string in column 1"
},
{
"from": "gpt",
"value": "csvgrep -c 1 -m string_to_match data.csv"
}
] |
[
{
"from": "human",
"value": "Find rows in which columns 3 or 4 match a certain regular expression"
},
{
"from": "gpt",
"value": "csvgrep -c 3,4 -r regular_expression data.csv"
}
] |
[
{
"from": "human",
"value": "Find rows in which the \"name\" column does NOT include the string \"John Doe\""
},
{
"from": "gpt",
"value": "csvgrep -i -c name -m \"John Doe\" data.csv"
}
] |
[
{
"from": "human",
"value": "Start an interactive Lua shell"
},
{
"from": "gpt",
"value": "lua"
}
] |
[
{
"from": "human",
"value": "Execute a Lua script"
},
{
"from": "gpt",
"value": "lua path/to/script.lua --optional-argument"
}
] |
[
{
"from": "human",
"value": "Execute a Lua expression"
},
{
"from": "gpt",
"value": "lua -e 'print(\"Hello World\")'"
}
] |
[
{
"from": "human",
"value": "Create an image from a specific container"
},
{
"from": "gpt",
"value": "docker commit container image:tag"
}
] |
[
{
"from": "human",
"value": "Apply a `CMD` Dockerfile instruction to the created image"
},
{
"from": "gpt",
"value": "docker commit --change \"CMD command\" container image:tag"
}
] |
[
{
"from": "human",
"value": "Apply an `ENV` Dockerfile instruction to the created image"
},
{
"from": "gpt",
"value": "docker commit --change \"ENV name=value\" container image:tag"
}
] |
[
{
"from": "human",
"value": "Create an image with a specific author in the metadata"
},
{
"from": "gpt",
"value": "docker commit --author \"author\" container image:tag"
}
] |
[
{
"from": "human",
"value": "Create an image with a specific comment in the metadata"
},
{
"from": "gpt",
"value": "docker commit --message \"comment\" container image:tag"
}
] |
[
{
"from": "human",
"value": "Create an image without pausing the container during commit"
},
{
"from": "gpt",
"value": "docker commit --pause false container image:tag"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "docker commit --help"
}
] |
[
{
"from": "human",
"value": "Generate a `CREATE TABLE` SQL statement for a CSV file"
},
{
"from": "gpt",
"value": "csvsql path/to/data.csv"
}
] |
[
{
"from": "human",
"value": "Import a CSV file into an SQL database"
},
{
"from": "gpt",
"value": "csvsql --insert --db \"mysql://user:password@host/database\" data.csv"
}
] |
[
{
"from": "human",
"value": "Run an SQL query on a CSV file"
},
{
"from": "gpt",
"value": "csvsql --query \"select * from 'data'\" data.csv"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr xzgrep"
}
] |
[
{
"from": "human",
"value": "Analyze a Python script or all the Python scripts in a specific directory"
},
{
"from": "gpt",
"value": "pydocstyle file.py|path/to/directory"
}
] |
[
{
"from": "human",
"value": "Show an explanation of each error"
},
{
"from": "gpt",
"value": "pydocstyle [-e|--explain] file.py|path/to/directory"
}
] |
[
{
"from": "human",
"value": "Show debug information"
},
{
"from": "gpt",
"value": "pydocstyle [-d|--debug] file.py|path/to/directory"
}
] |
[
{
"from": "human",
"value": "Display the total number of errors"
},
{
"from": "gpt",
"value": "pydocstyle --count file.py|path/to/directory"
}
] |
[
{
"from": "human",
"value": "Use a specific configuration file"
},
{
"from": "gpt",
"value": "pydocstyle --config path/to/config_file file.py|path/to/directory"
}
] |
[
{
"from": "human",
"value": "Ignore one or more errors"
},
{
"from": "gpt",
"value": "pydocstyle --ignore D101,D2,D107,... file.py|path/to/directory"
}
] |
[
{
"from": "human",
"value": "Check for errors from a specific convention"
},
{
"from": "gpt",
"value": "pydocstyle --convention pep257|numpy|google file.py|path/to/directory"
}
] |
[
{
"from": "human",
"value": "List printers present on the machine and whether they are enabled for printing"
},
{
"from": "gpt",
"value": "lpstat -p"
}
] |
[
{
"from": "human",
"value": "Show the default printer"
},
{
"from": "gpt",
"value": "lpstat -d"
}
] |
[
{
"from": "human",
"value": "Display all available status information"
},
{
"from": "gpt",
"value": "lpstat -t"
}
] |
[
{
"from": "human",
"value": "List print jobs queued by a specific user"
},
{
"from": "gpt",
"value": "lpstat -u user"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.