conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Search multiple directories"
},
{
"from": "gpt",
"value": "jdupes directory1 directory2"
}
] |
[
{
"from": "human",
"value": "Search all directories recursively"
},
{
"from": "gpt",
"value": "jdupes --recurse path/to/directory"
}
] |
[
{
"from": "human",
"value": "Search directory recursively and let user choose files to preserve"
},
{
"from": "gpt",
"value": "jdupes --delete --recurse path/to/directory"
}
] |
[
{
"from": "human",
"value": "Search multiple directories and follow subdirectores under directory2, not directory1"
},
{
"from": "gpt",
"value": "jdupes directory1 --recurse: directory2"
}
] |
[
{
"from": "human",
"value": "Search multiple directories and keep the directory order in result"
},
{
"from": "gpt",
"value": "jdupes -O directory1 directory2 directory3"
}
] |
[
{
"from": "human",
"value": "List all available platforms in the package repository"
},
{
"from": "gpt",
"value": "tlmgr platform list"
}
] |
[
{
"from": "human",
"value": "Add the executables for a specific platform"
},
{
"from": "gpt",
"value": "sudo tlmgr platform add platform"
}
] |
[
{
"from": "human",
"value": "Remove the executables for a specific platform"
},
{
"from": "gpt",
"value": "sudo tlmgr platform remove platform"
}
] |
[
{
"from": "human",
"value": "Auto-detect and switch to the current platform"
},
{
"from": "gpt",
"value": "sudo tlmgr platform set auto"
}
] |
[
{
"from": "human",
"value": "Switch to a specific platform"
},
{
"from": "gpt",
"value": "sudo tlmgr platform set platform"
}
] |
[
{
"from": "human",
"value": "Display a report for the code in a directory and all subdirectories"
},
{
"from": "gpt",
"value": "tokei path/to/directory"
}
] |
[
{
"from": "human",
"value": "Display a report for a directory excluding `.min.js` files"
},
{
"from": "gpt",
"value": "tokei path/to/directory -e *.min.js"
}
] |
[
{
"from": "human",
"value": "Display statistics for individual files in a directory"
},
{
"from": "gpt",
"value": "tokei path/to/directory --files"
}
] |
[
{
"from": "human",
"value": "Display a report for all files of type Rust and Markdown"
},
{
"from": "gpt",
"value": "tokei path/to/directory -t=Rust,Markdown"
}
] |
[
{
"from": "human",
"value": "Install a specific version of Node.js"
},
{
"from": "gpt",
"value": "fnm install node_version"
}
] |
[
{
"from": "human",
"value": "List all available Node.js versions and highlight the default one"
},
{
"from": "gpt",
"value": "fnm list"
}
] |
[
{
"from": "human",
"value": "Use a specific version of Node.js in the current shell"
},
{
"from": "gpt",
"value": "fnm use node_version"
}
] |
[
{
"from": "human",
"value": "Set the default Node.js version"
},
{
"from": "gpt",
"value": "fnm default node_version"
}
] |
[
{
"from": "human",
"value": "Uninstall a given Node.js version"
},
{
"from": "gpt",
"value": "fnm uninstall node_version"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr zstd"
}
] |
[
{
"from": "human",
"value": "Update Oh My Zsh"
},
{
"from": "gpt",
"value": "omz update"
}
] |
[
{
"from": "human",
"value": "Print the changes from the latest update of Oh My Zsh"
},
{
"from": "gpt",
"value": "omz changelog"
}
] |
[
{
"from": "human",
"value": "Restart the current Zsh session and Oh My Zsh"
},
{
"from": "gpt",
"value": "omz reload"
}
] |
[
{
"from": "human",
"value": "List all available plugins"
},
{
"from": "gpt",
"value": "omz plugin list"
}
] |
[
{
"from": "human",
"value": "Enable/Disable an Oh My Zsh plugin"
},
{
"from": "gpt",
"value": "omz plugin enable|disable plugin"
}
] |
[
{
"from": "human",
"value": "List all available themes"
},
{
"from": "gpt",
"value": "omz theme list"
}
] |
[
{
"from": "human",
"value": "Set an Oh My Zsh theme in `~/.zshrc`"
},
{
"from": "gpt",
"value": "omz theme set theme"
}
] |
[
{
"from": "human",
"value": "List all containers (both running and stopped)"
},
{
"from": "gpt",
"value": "podman ps --all"
}
] |
[
{
"from": "human",
"value": "Create a container from an image, with a custom name"
},
{
"from": "gpt",
"value": "podman run --name container_name image"
}
] |
[
{
"from": "human",
"value": "Start or stop an existing container"
},
{
"from": "gpt",
"value": "podman start|stop container_name"
}
] |
[
{
"from": "human",
"value": "Pull an image from a registry (defaults to Docker Hub)"
},
{
"from": "gpt",
"value": "podman pull image"
}
] |
[
{
"from": "human",
"value": "Display the list of already downloaded images"
},
{
"from": "gpt",
"value": "podman images"
}
] |
[
{
"from": "human",
"value": "Open a shell inside an already running container"
},
{
"from": "gpt",
"value": "podman exec --interactive --tty container_name sh"
}
] |
[
{
"from": "human",
"value": "Remove a stopped container"
},
{
"from": "gpt",
"value": "podman rm container_name"
}
] |
[
{
"from": "human",
"value": "Display the logs of one or more containers and follow log output"
},
{
"from": "gpt",
"value": "podman logs --follow container_name container_id"
}
] |
[
{
"from": "human",
"value": "Find subdomains for a specific domain"
},
{
"from": "gpt",
"value": "subfinder [-d|-domain] example.com"
}
] |
[
{
"from": "human",
"value": "Show only the subdomains found"
},
{
"from": "gpt",
"value": "subfinder -silent [-d|-domain] example.com"
}
] |
[
{
"from": "human",
"value": "Show only active subdomains"
},
{
"from": "gpt",
"value": "subfinder [-nW|-active] [-d|-domain] example.com"
}
] |
[
{
"from": "human",
"value": "Use all sources for enumeration"
},
{
"from": "gpt",
"value": "subfinder -all [-d|-domain] example.com"
}
] |
[
{
"from": "human",
"value": "Use a given comma-separated list of [r]esolvers"
},
{
"from": "gpt",
"value": "subfinder -r 8.8.8.8,1.1.1.1,... [-d|-domain] example.com"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr limactl"
}
] |
[
{
"from": "human",
"value": "Start `meld`"
},
{
"from": "gpt",
"value": "meld"
}
] |
[
{
"from": "human",
"value": "Compare 2 files"
},
{
"from": "gpt",
"value": "meld path/to/file_1 path/to/file_2"
}
] |
[
{
"from": "human",
"value": "Compare 2 directories"
},
{
"from": "gpt",
"value": "meld path/to/directory_1 path/to/directory_2"
}
] |
[
{
"from": "human",
"value": "Compare 3 files"
},
{
"from": "gpt",
"value": "meld path/to/file_1 path/to/file_2 path/to/file_3"
}
] |
[
{
"from": "human",
"value": "Open a comparison as a new tab in a pre-existing meld instance"
},
{
"from": "gpt",
"value": "meld --newtab path/to/file_1 path/to/file_2"
}
] |
[
{
"from": "human",
"value": "Compare multiple sets of files"
},
{
"from": "gpt",
"value": "meld --diff path/to/file_1 path/to/file_2 --diff path/to/file_3 path/to/file_4"
}
] |
[
{
"from": "human",
"value": "Start a headless `transmission` session"
},
{
"from": "gpt",
"value": "transmission-daemon"
}
] |
[
{
"from": "human",
"value": "Start and watch a specific directory for new torrents"
},
{
"from": "gpt",
"value": "transmission-daemon --watch-dir path/to/directory"
}
] |
[
{
"from": "human",
"value": "Dump daemon settings in JSON format"
},
{
"from": "gpt",
"value": "transmission-daemon --dump-settings > path/to/file.json"
}
] |
[
{
"from": "human",
"value": "Start with specific settings for the web interface"
},
{
"from": "gpt",
"value": "transmission-daemon --auth --username username --password password --port 9091 --allowed 127.0.0.1"
}
] |
[
{
"from": "human",
"value": "Mount remote directory"
},
{
"from": "gpt",
"value": "sshfs username@remote_host:remote_directory mountpoint"
}
] |
[
{
"from": "human",
"value": "Unmount remote directory"
},
{
"from": "gpt",
"value": "umount mountpoint"
}
] |
[
{
"from": "human",
"value": "Mount remote directory from server with specific port"
},
{
"from": "gpt",
"value": "sshfs username@remote_host:remote_directory -p 2222"
}
] |
[
{
"from": "human",
"value": "Use compression"
},
{
"from": "gpt",
"value": "sshfs username@remote_host:remote_directory -C"
}
] |
[
{
"from": "human",
"value": "Follow symbolic links"
},
{
"from": "gpt",
"value": "sshfs -o follow_symlinks username@remote_host:remote_directory mountpoint"
}
] |
[
{
"from": "human",
"value": "Print the total number of commits"
},
{
"from": "gpt",
"value": "git count"
}
] |
[
{
"from": "human",
"value": "Print the number of commits per contributor and the total number of commits"
},
{
"from": "gpt",
"value": "git count --all"
}
] |
[
{
"from": "human",
"value": "Open specific files"
},
{
"from": "gpt",
"value": "kate path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Open specific remote files"
},
{
"from": "gpt",
"value": "kate https://example.com/path/to/file1 https://example.com/path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Create a new editor instance even if one is already open"
},
{
"from": "gpt",
"value": "kate --new"
}
] |
[
{
"from": "human",
"value": "Open a file with the cursor at the specific line"
},
{
"from": "gpt",
"value": "kate --line line_number path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a file with the cursor at the specific line and column"
},
{
"from": "gpt",
"value": "kate --line line_number --column column_number path/to/file"
}
] |
[
{
"from": "human",
"value": "Create a file from `stdin`"
},
{
"from": "gpt",
"value": "cat path/to/file | kate --stdin"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "kate --help"
}
] |
[
{
"from": "human",
"value": "Run query against a BigQuery table using standard SQL, add `--dry_run` flag to estimate the number of bytes read by the query"
},
{
"from": "gpt",
"value": "bq query --nouse_legacy_sql 'SELECT COUNT(*) FROM DATASET_NAME.TABLE_NAME'"
}
] |
[
{
"from": "human",
"value": "Run a parameterized query"
},
{
"from": "gpt",
"value": "bq query --use_legacy_sql=false --parameter='ts_value:TIMESTAMP:2016-12-07 08:00:00' 'SELECT TIMESTAMP_ADD(@ts_value, INTERVAL 1 HOUR)'"
}
] |
[
{
"from": "human",
"value": "Create a new dataset or table in the US location"
},
{
"from": "gpt",
"value": "bq mk --location=US dataset_name.table_name"
}
] |
[
{
"from": "human",
"value": "List all datasets in a project"
},
{
"from": "gpt",
"value": "bq ls --filter labels.key:value --max_results integer --format=prettyjson --project_id project_id"
}
] |
[
{
"from": "human",
"value": "Batch load data from a specific file in formats such as CSV, JSON, Parquet, and Avro to a table"
},
{
"from": "gpt",
"value": "bq load --location location --source_format CSV|JSON|PARQUET|AVRO dataset.table path_to_source"
}
] |
[
{
"from": "human",
"value": "Copy one table to another"
},
{
"from": "gpt",
"value": "bq cp dataset.OLD_TABLE dataset.new_table"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "bq help"
}
] |
[
{
"from": "human",
"value": "Convert an Atari Degas PI3 image to PBM image"
},
{
"from": "gpt",
"value": "pi1topbm path/to/atari_image.pi3 > path/to/output_image.pbm"
}
] |
[
{
"from": "human",
"value": "Install dependencies listed in `package.json`"
},
{
"from": "gpt",
"value": "npm install"
}
] |
[
{
"from": "human",
"value": "Download a specific version of a package and add it to the list of dependencies in `package.json`"
},
{
"from": "gpt",
"value": "npm install package_name@version"
}
] |
[
{
"from": "human",
"value": "Download the latest version of a package and add it to the list of dev dependencies in `package.json`"
},
{
"from": "gpt",
"value": "npm install package_name [-D|--save-dev]"
}
] |
[
{
"from": "human",
"value": "Download the latest version of a package and install it globally"
},
{
"from": "gpt",
"value": "npm install [-g|--global] package_name"
}
] |
[
{
"from": "human",
"value": "Play/pause audio playback"
},
{
"from": "gpt",
"value": "audtool playback-playpause"
}
] |
[
{
"from": "human",
"value": "Print artist, album, and song name of currently playing song"
},
{
"from": "gpt",
"value": "audtool current-song"
}
] |
[
{
"from": "human",
"value": "Set volume of audio playback"
},
{
"from": "gpt",
"value": "audtool set-volume 100"
}
] |
[
{
"from": "human",
"value": "Skip to the next song"
},
{
"from": "gpt",
"value": "audtool playlist-advance"
}
] |
[
{
"from": "human",
"value": "Print the bitrate of the current song in kilobits"
},
{
"from": "gpt",
"value": "audtool current-song-bitrate-kbps"
}
] |
[
{
"from": "human",
"value": "Open Audacious in full-screen if hidden"
},
{
"from": "gpt",
"value": "audtool mainwin-show"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "audtool help"
}
] |
[
{
"from": "human",
"value": "Display settings"
},
{
"from": "gpt",
"value": "audtool preferences-show"
}
] |
[
{
"from": "human",
"value": "Substitute with the previous command and run it with `sudo`"
},
{
"from": "gpt",
"value": "sudo !!"
}
] |
[
{
"from": "human",
"value": "Substitute with a command based on its line number found with `history`"
},
{
"from": "gpt",
"value": "!number"
}
] |
[
{
"from": "human",
"value": "Substitute with a command that was used a specified number of lines back"
},
{
"from": "gpt",
"value": "!-number"
}
] |
[
{
"from": "human",
"value": "Substitute with the most recent command that starts with a string"
},
{
"from": "gpt",
"value": "!string"
}
] |
[
{
"from": "human",
"value": "Substitute with the arguments of the latest command"
},
{
"from": "gpt",
"value": "command !*"
}
] |
[
{
"from": "human",
"value": "Substitute with the last argument of the latest command"
},
{
"from": "gpt",
"value": "command !$"
}
] |
[
{
"from": "human",
"value": "Substitute with the last command but without the last argument"
},
{
"from": "gpt",
"value": "!:-"
}
] |
[
{
"from": "human",
"value": "Print last command that starts with a string without executing it"
},
{
"from": "gpt",
"value": "!string:p"
}
] |
[
{
"from": "human",
"value": "Inspect the headers of a file"
},
{
"from": "gpt",
"value": "xsv headers path/to/file.csv"
}
] |
[
{
"from": "human",
"value": "Count the number of entries"
},
{
"from": "gpt",
"value": "xsv count path/to/file.csv"
}
] |
[
{
"from": "human",
"value": "Get an overview of the shape of entries"
},
{
"from": "gpt",
"value": "xsv stats path/to/file.csv | xsv table"
}
] |
[
{
"from": "human",
"value": "Select a few columns"
},
{
"from": "gpt",
"value": "xsv select column1,column2 path/to/file.csv"
}
] |
[
{
"from": "human",
"value": "Show 10 random entries"
},
{
"from": "gpt",
"value": "xsv sample 10 path/to/file.csv"
}
] |
[
{
"from": "human",
"value": "Join a column from one file to another"
},
{
"from": "gpt",
"value": "xsv join --no-case column1 path/to/file1.csv column2 path/to/file2.csv | xsv table"
}
] |
[
{
"from": "human",
"value": "Create specific files"
},
{
"from": "gpt",
"value": "touch path/to/file1 path/to/file2 ..."
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.