conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Open an interactive prompt to check personal mail"
},
{
"from": "gpt",
"value": "mail"
}
] |
[
{
"from": "human",
"value": "Send a typed email message with optional CC. The command-line below continues after pressing `<Enter>`. Input message text (can be multiline). Press `<Ctrl d>` to complete the message text"
},
{
"from": "gpt",
"value": "mail --subject \"subject line\" to_user@example... |
[
{
"from": "human",
"value": "Send an email that contains file content"
},
{
"from": "gpt",
"value": "mail --subject \"$HOSTNAME filename.txt\" to_user@example.com < path/to/filename.txt"
}
] |
[
{
"from": "human",
"value": "Send a `tar.gz` file as an attachment"
},
{
"from": "gpt",
"value": "tar cvzf - path/to/directory1 path/to/directory2 | uuencode data.tar.gz | mail --subject \"subject_line\" to_user@example.com"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "mail [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Execute the specified file and watch a specific file for changes"
},
{
"from": "gpt",
"value": "nodemon path/to/file.js"
}
] |
[
{
"from": "human",
"value": "Manually restart nodemon (note nodemon must already be active for this to work)"
},
{
"from": "gpt",
"value": "rs"
}
] |
[
{
"from": "human",
"value": "Ignore specific files"
},
{
"from": "gpt",
"value": "nodemon --ignore path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Pass arguments to the node application"
},
{
"from": "gpt",
"value": "nodemon path/to/file.js arguments"
}
] |
[
{
"from": "human",
"value": "Pass arguments to node itself if they're not nodemon arguments already (e.g. `--inspect`)"
},
{
"from": "gpt",
"value": "nodemon arguments path/to/file.js"
}
] |
[
{
"from": "human",
"value": "Run an arbitrary non-node script"
},
{
"from": "gpt",
"value": "nodemon --exec \"command_to_run_script options\" path/to/script"
}
] |
[
{
"from": "human",
"value": "Run a Python script"
},
{
"from": "gpt",
"value": "nodemon --exec \"python options\" path/to/file.py"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr npm ls"
}
] |
[
{
"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 winrm 192.168.178.2 -u path/to/usernames.txt -p path/to/passwords.txt"
}
] |
[
{
"from": "human",
"value": "Specify the domain to authenticate to (avoids an initial SMB connection)"
},
{
"from": "gpt",
"value": "nxc winrm 192.168.178.2 -u username -p password -d domain_name"
}
] |
[
{
"from": "human",
"value": "Execute the specified command on the host"
},
{
"from": "gpt",
"value": "nxc winrm 192.168.178.2 -u username -p password -x whoami"
}
] |
[
{
"from": "human",
"value": "Execute the specified PowerShell command on the host as administrator using LAPS"
},
{
"from": "gpt",
"value": "nxc winrm 192.168.178.2 -u username -p password --laps -X whoami"
}
] |
[
{
"from": "human",
"value": "Display a markdown reference of all `gh` commands"
},
{
"from": "gpt",
"value": "gh reference"
}
] |
[
{
"from": "human",
"value": "List an archive file's contents"
},
{
"from": "gpt",
"value": "lsar path/to/archive"
}
] |
[
{
"from": "human",
"value": "List a password protected archive file's contents"
},
{
"from": "gpt",
"value": "lsar path/to/archive [-p|--password] password"
}
] |
[
{
"from": "human",
"value": "Print all available information about each file in the archive (it's very long)"
},
{
"from": "gpt",
"value": "lsar [-L|--verylong] path/to/archive"
}
] |
[
{
"from": "human",
"value": "Test the integrity of the files in the archive (if possible)"
},
{
"from": "gpt",
"value": "lsar [-t|--test] path/to/archive"
}
] |
[
{
"from": "human",
"value": "List the archive file's contents in JSON format"
},
{
"from": "gpt",
"value": "lsar [-j|--json] path/to/archive"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "lsar -h|--help"
}
] |
[
{
"from": "human",
"value": "Prepare the PHP extension in the current directory for compiling"
},
{
"from": "gpt",
"value": "phpize"
}
] |
[
{
"from": "human",
"value": "Delete files previously created by phpize"
},
{
"from": "gpt",
"value": "phpize --clean"
}
] |
[
{
"from": "human",
"value": "Compile one or more C# files to a CIL executable"
},
{
"from": "gpt",
"value": "csc path/to/input_file_a.cs path/to/input_file_b.cs"
}
] |
[
{
"from": "human",
"value": "Specify the output filename"
},
{
"from": "gpt",
"value": "csc /out:path/to/filename path/to/input_file.cs"
}
] |
[
{
"from": "human",
"value": "Compile into a `.dll` library instead of an executable"
},
{
"from": "gpt",
"value": "csc /target:library path/to/input_file.cs"
}
] |
[
{
"from": "human",
"value": "Reference another assembly"
},
{
"from": "gpt",
"value": "csc /reference:path/to/library.dll path/to/input_file.cs"
}
] |
[
{
"from": "human",
"value": "Embed a resource"
},
{
"from": "gpt",
"value": "csc /resource:path/to/resource_file path/to/input_file.cs"
}
] |
[
{
"from": "human",
"value": "Automatically generate XML documentation"
},
{
"from": "gpt",
"value": "csc /doc:path/to/output.xml path/to/input_file.cs"
}
] |
[
{
"from": "human",
"value": "Specify an icon"
},
{
"from": "gpt",
"value": "csc /win32icon:path/to/icon.ico path/to/input_file.cs"
}
] |
[
{
"from": "human",
"value": "Strongly-name the resulting assembly with a keyfile"
},
{
"from": "gpt",
"value": "csc /keyfile:path/to/keyfile path/to/input_file.cs"
}
] |
[
{
"from": "human",
"value": "List all configured repositories and their tags (if set)"
},
{
"from": "gpt",
"value": "tlmgr repository list"
}
] |
[
{
"from": "human",
"value": "List all packages available in a specific repository"
},
{
"from": "gpt",
"value": "tlmgr repository list path|url|tag"
}
] |
[
{
"from": "human",
"value": "Add a new repository with a specific tag (the tag is not required)"
},
{
"from": "gpt",
"value": "sudo tlmgr repository add path|url tag"
}
] |
[
{
"from": "human",
"value": "Remove a specific repository"
},
{
"from": "gpt",
"value": "sudo tlmgr repository remove path|url|tag"
}
] |
[
{
"from": "human",
"value": "Set a new list of repositories, overwriting the previous list"
},
{
"from": "gpt",
"value": "sudo tlmgr repository set path|url|tag#tag path|url|tag#tag ..."
}
] |
[
{
"from": "human",
"value": "Show the verification status of all configured repositories"
},
{
"from": "gpt",
"value": "tlmgr repository status"
}
] |
[
{
"from": "human",
"value": "Open Lazygit in the current repository"
},
{
"from": "gpt",
"value": "lazygit"
}
] |
[
{
"from": "human",
"value": "Open Lazygit for a specific Git repository"
},
{
"from": "gpt",
"value": "lazygit --path path/to/repository"
}
] |
[
{
"from": "human",
"value": "Start Lazygit with focus on a specific panel"
},
{
"from": "gpt",
"value": "lazygit status|branch|log|stash|..."
}
] |
[
{
"from": "human",
"value": "Print the default Lazygit configuration"
},
{
"from": "gpt",
"value": "lazygit --config"
}
] |
[
{
"from": "human",
"value": "Tail the Lazygit logs (useful with debug mode in another terminal)"
},
{
"from": "gpt",
"value": "lazygit --logs"
}
] |
[
{
"from": "human",
"value": "Run Lazygit in debug mode"
},
{
"from": "gpt",
"value": "lazygit --debug"
}
] |
[
{
"from": "human",
"value": "Print the configuration directory"
},
{
"from": "gpt",
"value": "lazygit --print-config-dir"
}
] |
[
{
"from": "human",
"value": "List all logs in the current project"
},
{
"from": "gpt",
"value": "gcloud logging logs list"
}
] |
[
{
"from": "human",
"value": "List all logs for a specific log bucket and location"
},
{
"from": "gpt",
"value": "gcloud logging logs list --bucket=bucket_id --location=location"
}
] |
[
{
"from": "human",
"value": "List all logs for a specific view in a log bucket"
},
{
"from": "gpt",
"value": "gcloud logging logs list --bucket=bucket_id --location=location --view=view_id"
}
] |
[
{
"from": "human",
"value": "List logs with a filter expression"
},
{
"from": "gpt",
"value": "gcloud logging logs list --filter=\"expression\""
}
] |
[
{
"from": "human",
"value": "List a specified number of logs"
},
{
"from": "gpt",
"value": "gcloud logging logs list --limit=number"
}
] |
[
{
"from": "human",
"value": "List logs sorted by a specific field in ascending or descending order (`~` for descending)"
},
{
"from": "gpt",
"value": "gcloud logging logs list --sort-by=\"field_name\""
}
] |
[
{
"from": "human",
"value": "List logs sorted by multiple fields"
},
{
"from": "gpt",
"value": "gcloud logging logs list --sort-by=\"field1,~field2\""
}
] |
[
{
"from": "human",
"value": "List logs with verbose output, showing additional details"
},
{
"from": "gpt",
"value": "gcloud logging logs list --verbosity=debug"
}
] |
[
{
"from": "human",
"value": "Convert a PNM image to a RAST image"
},
{
"from": "gpt",
"value": "pnmtorast path/to/input.pnm > path/to/output.rast"
}
] |
[
{
"from": "human",
"value": "Force either `RT_STANDARD` or `RT_BYTE_ENCODED` form for the output"
},
{
"from": "gpt",
"value": "pnmtorast -standard|rle path/to/input.pnm > path/to/output.rast"
}
] |
[
{
"from": "human",
"value": "Redirect `stdout` to a file"
},
{
"from": "gpt",
"value": "command > path/to/file"
}
] |
[
{
"from": "human",
"value": "Append to a file"
},
{
"from": "gpt",
"value": "command >> path/to/file"
}
] |
[
{
"from": "human",
"value": "Redirect both `stdout` and `stderr` to a file"
},
{
"from": "gpt",
"value": "command &> path/to/file"
}
] |
[
{
"from": "human",
"value": "Redirect `stderr` to `/dev/null` to keep the terminal output clean"
},
{
"from": "gpt",
"value": "command 2> /dev/null"
}
] |
[
{
"from": "human",
"value": "Clear the file contents or create a new empty file"
},
{
"from": "gpt",
"value": "> path/to/file"
}
] |
[
{
"from": "human",
"value": "Redirect `stderr` to `stdout` for piping them together"
},
{
"from": "gpt",
"value": "command1 2>&1 | command2"
}
] |
[
{
"from": "human",
"value": "List commands history with command IDs"
},
{
"from": "gpt",
"value": "aws history list"
}
] |
[
{
"from": "human",
"value": "Display events related to a specific command given a command ID"
},
{
"from": "gpt",
"value": "aws history show command_id"
}
] |
[
{
"from": "human",
"value": "Copy a Netpbm file from `stdin` to `stdout` if and only if it valid; fail otherwise"
},
{
"from": "gpt",
"value": "command | pamvalidate > path/to/output.ext"
}
] |
[
{
"from": "human",
"value": "Initialize a database"
},
{
"from": "gpt",
"value": "sudo mariadb-install-db --user user --basedir /usr --datadir /var/lib/mysql"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "mariadb-install-db --help"
}
] |
[
{
"from": "human",
"value": "List installed packages"
},
{
"from": "gpt",
"value": "pip freeze"
}
] |
[
{
"from": "human",
"value": "List installed packages and write it to the `requirements.txt` file"
},
{
"from": "gpt",
"value": "pip freeze > requirements.txt"
}
] |
[
{
"from": "human",
"value": "List installed packages in a virtual environment, excluding globally installed packages"
},
{
"from": "gpt",
"value": "pip freeze --local > requirements.txt"
}
] |
[
{
"from": "human",
"value": "List installed packages in the user-site"
},
{
"from": "gpt",
"value": "pip freeze --user > requirements.txt"
}
] |
[
{
"from": "human",
"value": "List all packages, including `pip`, `distribute`, `setuptools`, and `wheel` (they are skipped by default)"
},
{
"from": "gpt",
"value": "pip freeze --all > requirements.txt"
}
] |
[
{
"from": "human",
"value": "Change the Node.js install location to a specified directory (`ps-nvm` will create a new `.nvm` subdirectory to install them)"
},
{
"from": "gpt",
"value": "Set-NodeInstallLocation path/to/directory"
}
] |
[
{
"from": "human",
"value": "Get the name of the default remote"
},
{
"from": "gpt",
"value": "dvc config core.remote"
}
] |
[
{
"from": "human",
"value": "Set the project's default remote"
},
{
"from": "gpt",
"value": "dvc config core.remote remote_name"
}
] |
[
{
"from": "human",
"value": "Unset the project's default remote"
},
{
"from": "gpt",
"value": "dvc config --unset core.remote"
}
] |
[
{
"from": "human",
"value": "Get the configuration value for a specified key for the current project"
},
{
"from": "gpt",
"value": "dvc config key"
}
] |
[
{
"from": "human",
"value": "Set the configuration value for a key on a project level"
},
{
"from": "gpt",
"value": "dvc config key value"
}
] |
[
{
"from": "human",
"value": "Unset a project level configuration value for a given key"
},
{
"from": "gpt",
"value": "dvc config --unset key"
}
] |
[
{
"from": "human",
"value": "Set a local, global, or system level configuration value"
},
{
"from": "gpt",
"value": "dvc config --local|global|system key value"
}
] |
[
{
"from": "human",
"value": "Print the list of builtins"
},
{
"from": "gpt",
"value": "enable"
}
] |
[
{
"from": "human",
"value": "Disable a builtin (works in `bash` only)"
},
{
"from": "gpt",
"value": "enable -n command"
}
] |
[
{
"from": "human",
"value": "Display information about a specific instance"
},
{
"from": "gpt",
"value": "aws ec2 describe-instances --instance-ids instance_id"
}
] |
[
{
"from": "human",
"value": "Display information about all instances"
},
{
"from": "gpt",
"value": "aws ec2 describe-instances"
}
] |
[
{
"from": "human",
"value": "Display information about all EC2 volumes"
},
{
"from": "gpt",
"value": "aws ec2 describe-volumes"
}
] |
[
{
"from": "human",
"value": "Delete an EC2 volume"
},
{
"from": "gpt",
"value": "aws ec2 delete-volume --volume-id volume_id"
}
] |
[
{
"from": "human",
"value": "Create a snapshot from an EC2 volume"
},
{
"from": "gpt",
"value": "aws ec2 create-snapshot --volume-id volume_id"
}
] |
[
{
"from": "human",
"value": "List available AMIs (Amazon Machine Images)"
},
{
"from": "gpt",
"value": "aws ec2 describe-images"
}
] |
[
{
"from": "human",
"value": "Show list of all available EC2 commands"
},
{
"from": "gpt",
"value": "aws ec2 help"
}
] |
[
{
"from": "human",
"value": "Display help for specific EC2 subcommand"
},
{
"from": "gpt",
"value": "aws ec2 subcommand help"
}
] |
[
{
"from": "human",
"value": "Create a new flake (just the `flake.nix` file) from the default template, in the current directory"
},
{
"from": "gpt",
"value": "nix flake init"
}
] |
[
{
"from": "human",
"value": "Update all inputs (dependencies) of the flake in the current directory"
},
{
"from": "gpt",
"value": "nix flake update"
}
] |
[
{
"from": "human",
"value": "Update a specific input (dependency) of the flake in the current directory"
},
{
"from": "gpt",
"value": "nix flake lock --update-input input"
}
] |
[
{
"from": "human",
"value": "Show all the outputs of a flake on github"
},
{
"from": "gpt",
"value": "nix flake show github:owner/repo"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "nix flake --help"
}
] |
[
{
"from": "human",
"value": "Send feedback to the Azure CLI Team"
},
{
"from": "gpt",
"value": "az feedback"
}
] |
[
{
"from": "human",
"value": "Sort a file and keep the first line at the top"
},
{
"from": "gpt",
"value": "keep-header path/to/file -- sort"
}
] |
[
{
"from": "human",
"value": "Output first line directly to `stdout`, passing the remainder of the file through the specified command"
},
{
"from": "gpt",
"value": "keep-header path/to/file -- command"
}
] |
[
{
"from": "human",
"value": "Read from `stdin`, sorting all except the first line"
},
{
"from": "gpt",
"value": "cat path/to/file | keep-header -- command"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.