conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Get the parent PID of a process via the `ps` command"
},
{
"from": "gpt",
"value": "`ps {{[-o|--format]}} ppid= {{[-p|--pid]}} {{pid}}`"
}
] |
[
{
"from": "human",
"value": "Sort processes by memory consumption via the `ps` command"
},
{
"from": "gpt",
"value": "`ps {{[k|--sort]}} size`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ps-nvm`."
},
{
"from": "gpt",
"value": "PowerShell-based utility to manage multiple Node.js versions, inspired by `nvm`.\nThis tool provides multiple commands that all can only be run through PowerShell.\nMore information: <https://github.com/aaronpowe... |
[
{
"from": "human",
"value": "View documentation for `Get-NodeInstallLocation`, a tool to get the current Node.js install location via the `ps-nvm` command"
},
{
"from": "gpt",
"value": "`tldr get-nodeinstalllocation`"
}
] |
[
{
"from": "human",
"value": "View documentation for `Get-NodeVersions`, a tool to list all available and currently-installed Node.js versions via the `ps-nvm` command"
},
{
"from": "gpt",
"value": "`tldr get-nodeversions`"
}
] |
[
{
"from": "human",
"value": "View documentation for `Install-NodeVersion`, a tool to install Node.js runtime versions via the `ps-nvm` command"
},
{
"from": "gpt",
"value": "`tldr install-nodeversion`"
}
] |
[
{
"from": "human",
"value": "View documentation for `Remove-NodeVersion`, a tool to uninstall an existing Node.js version via the `ps-nvm` command"
},
{
"from": "gpt",
"value": "`tldr remove-nodeversion`"
}
] |
[
{
"from": "human",
"value": "View documentation for `Set-NodeInstallLocation`, a tool to set the Node.js install location via the `ps-nvm` command"
},
{
"from": "gpt",
"value": "`tldr set-nodeinstalllocation`"
}
] |
[
{
"from": "human",
"value": "View documentation for `Set-NodeVersion`, a tool to set the default version of Node.js via the `ps-nvm` command"
},
{
"from": "gpt",
"value": "`tldr set-nodeversion`"
}
] |
[
{
"from": "human",
"value": "Tell me about `psql`."
},
{
"from": "gpt",
"value": "PostgreSQL command-line client.\nMore information: <https://www.postgresql.org/docs/current/app-psql.html>.\n"
}
] |
[
{
"from": "human",
"value": "Connect to the database. By default, it connects to the local socket using port 5432 with the currently logged in user via the `psql` command"
},
{
"from": "gpt",
"value": "`psql {{database}}`"
}
] |
[
{
"from": "human",
"value": "Connect to the database on given server host running on given port with given username, without a password prompt via the `psql` command"
},
{
"from": "gpt",
"value": "`psql -h {{host}} -p {{port}} -U {{username}} {{database}}`"
}
] |
[
{
"from": "human",
"value": "Connect to the database; user will be prompted for password via the `psql` command"
},
{
"from": "gpt",
"value": "`psql -h {{host}} -p {{port}} -U {{username}} -W {{database}}`"
}
] |
[
{
"from": "human",
"value": "Execute a single SQL query or PostgreSQL command on the given database (useful in shell scripts) via the `psql` command"
},
{
"from": "gpt",
"value": "`psql -c '{{query}}' {{database}}`"
}
] |
[
{
"from": "human",
"value": "Execute commands from a file on the given database via the `psql` command"
},
{
"from": "gpt",
"value": "`psql {{database}} -f {{file.sql}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pssh`."
},
{
"from": "gpt",
"value": "Parallel SSH program.\nMore information: <https://manned.org/pssh>.\n"
}
] |
[
{
"from": "human",
"value": "Run a command on two hosts, and print its output on each server inline via the `pssh` command"
},
{
"from": "gpt",
"value": "`pssh -i -H \"{{host1}} {{host2}}\" {{hostname -i}}`"
}
] |
[
{
"from": "human",
"value": "Run a command and save the output to separate files via the `pssh` command"
},
{
"from": "gpt",
"value": "`pssh -H {{host1}} -H {{host2}} -o {{path/to/output_dir}} {{hostname -i}}`"
}
] |
[
{
"from": "human",
"value": "Run a command on multiple hosts, specified in a new-line separated file via the `pssh` command"
},
{
"from": "gpt",
"value": "`pssh -i -h {{path/to/hosts_file}} {{hostname -i}}`"
}
] |
[
{
"from": "human",
"value": "Run a command as root (this asks for the root password) via the `pssh` command"
},
{
"from": "gpt",
"value": "`pssh -i -h {{path/to/hosts_file}} -A -l {{root_username}} {{hostname -i}}`"
}
] |
[
{
"from": "human",
"value": "Run a command with extra SSH arguments via the `pssh` command"
},
{
"from": "gpt",
"value": "`pssh -i -h {{path/to/hosts_file}} -x \"{{-O VisualHostKey=yes}}\" {{hostname -i}}`"
}
] |
[
{
"from": "human",
"value": "Run a command limiting the number of parallel connections to 10 via the `pssh` command"
},
{
"from": "gpt",
"value": "`pssh -i -h {{path/to/hosts_file}} -p {{10}} '{{cd dir; ./script.sh; exit}}'`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pstopnm`."
},
{
"from": "gpt",
"value": "Convert a PostScript file to a PNM image.\nMore information: <https://netpbm.sourceforge.net/doc/pstopnm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a PS file to PNM images, storing page N of the input to `path/to/fileN.ppm` via the `pstopnm` command"
},
{
"from": "gpt",
"value": "`pstopnm {{path/to/file.ps}}`"
}
] |
[
{
"from": "human",
"value": "Explicitly specify the output format via the `pstopnm` command"
},
{
"from": "gpt",
"value": "`pstopnm -{{pbm|pgm|ppm}} {{path/to/file.ps}}`"
}
] |
[
{
"from": "human",
"value": "Specify the resolution of the output in dots per inch via the `pstopnm` command"
},
{
"from": "gpt",
"value": "`pstopnm -dpi {{n}} {{path/to/file.ps}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `psysh`."
},
{
"from": "gpt",
"value": "A runtime developer console, interactive debugger and REPL for PHP.\nMore information: <https://psysh.org>.\n"
}
] |
[
{
"from": "human",
"value": "Open a shell in the current directory via the `psysh` command"
},
{
"from": "gpt",
"value": "`psysh`"
}
] |
[
{
"from": "human",
"value": "Open a shell in a specific directory via the `psysh` command"
},
{
"from": "gpt",
"value": "`psysh --cwd {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Use a specific configuration file via the `psysh` command"
},
{
"from": "gpt",
"value": "`psysh --config {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ptargrep`."
},
{
"from": "gpt",
"value": "Find regular expression patterns in tar archive files.\nMore information: <https://manned.org/ptargrep>.\n"
}
] |
[
{
"from": "human",
"value": "Search for a pattern within one or more tar archives via the `ptargrep` command"
},
{
"from": "gpt",
"value": "`ptargrep \"{{search_pattern}}\" {{path/to/file1 path/to/file2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Extract to the current directory using the basename of the file from the archive via the `ptargrep` command"
},
{
"from": "gpt",
"value": "`ptargrep --basename \"{{search_pattern}}\" {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Search for a case-insensitive pattern matching within a tar archive via the `ptargrep` command"
},
{
"from": "gpt",
"value": "`ptargrep --ignore-case \"{{search_pattern}}\" {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pt`."
},
{
"from": "gpt",
"value": "Platinum Searcher.\nA code search tool similar to `ag`.\nMore information: <https://github.com/monochromegane/the_platinum_searcher>.\n"
}
] |
[
{
"from": "human",
"value": "Find files containing \"foo\" and print the files with highlighted matches via the `pt` command"
},
{
"from": "gpt",
"value": "`pt {{foo}}`"
}
] |
[
{
"from": "human",
"value": "Find files containing \"foo\" and display count of matches in each file via the `pt` command"
},
{
"from": "gpt",
"value": "`pt -c {{foo}}`"
}
] |
[
{
"from": "human",
"value": "Find files containing \"foo\" as a whole word and ignore its case via the `pt` command"
},
{
"from": "gpt",
"value": "`pt -wi {{foo}}`"
}
] |
[
{
"from": "human",
"value": "Find \"foo\" in files with a given extension using a regular expression via the `pt` command"
},
{
"from": "gpt",
"value": "`pt -G='{{\\.bar$}}' {{foo}}`"
}
] |
[
{
"from": "human",
"value": "Find files whose contents match the regular expression, up to 2 directories deep via the `pt` command"
},
{
"from": "gpt",
"value": "`pt --depth={{2}} -e '{{^ba[rz]*$}}'`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ptpython3`."
},
{
"from": "gpt",
"value": "This command is an alias of `ptpython`.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command via the `ptpython3` command"
},
{
"from": "gpt",
"value": "`tldr ptpython`"
}
] |
[
{
"from": "human",
"value": "Tell me about `ptpython`."
},
{
"from": "gpt",
"value": "A better Python REPL.\nMore information: <https://github.com/prompt-toolkit/ptpython>.\n"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell) via the `ptpython` command"
},
{
"from": "gpt",
"value": "`ptpython`"
}
] |
[
{
"from": "human",
"value": "Execute a specific Python file via the `ptpython` command"
},
{
"from": "gpt",
"value": "`ptpython {{path/to/file.py}}`"
}
] |
[
{
"from": "human",
"value": "Execute a specific Python file and start a REPL via the `ptpython` command"
},
{
"from": "gpt",
"value": "`ptpython -i {{path/to/file.py}}`"
}
] |
[
{
"from": "human",
"value": "Open the menu via the `ptpython` command"
},
{
"from": "gpt",
"value": "`<F2>`"
}
] |
[
{
"from": "human",
"value": "Open the history page via the `ptpython` command"
},
{
"from": "gpt",
"value": "`<F3>`"
}
] |
[
{
"from": "human",
"value": "Toggle paste mode via the `ptpython` command"
},
{
"from": "gpt",
"value": "`<F6>`"
}
] |
[
{
"from": "human",
"value": "Quit via the `ptpython` command"
},
{
"from": "gpt",
"value": "`<Ctrl d>`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue add`."
},
{
"from": "gpt",
"value": "Enqueue a task for execution.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Add any command to the default queue via the `pueue-add` command"
},
{
"from": "gpt",
"value": "`pueue add {{command}}`"
}
] |
[
{
"from": "human",
"value": "Pass a list of flags or arguments to a command when enqueuing via the `pueue-add` command"
},
{
"from": "gpt",
"value": "`pueue add -- {{command --arg -f}}`"
}
] |
[
{
"from": "human",
"value": "Add a command but do not start it if it's the first in a queue via the `pueue-add` command"
},
{
"from": "gpt",
"value": "`pueue add --stashed -- {{rsync --archive --compress /local/directory /remote/directory}}`"
}
] |
[
{
"from": "human",
"value": "Add a command to a group and start it immediately, see `pueue group` to manage groups via the `pueue-add` command"
},
{
"from": "gpt",
"value": "`pueue add --immediate --group \"{{CPU_intensive}}\" -- {{ffmpeg -i input.mp4 frame_%d.png}}`"
}
] |
[
{
"from": "human",
"value": "Add a command and start it after commands 9 and 12 finish successfully via the `pueue-add` command"
},
{
"from": "gpt",
"value": "`pueue add --after {{9}} {{12}} --group \"{{torrents}}\" -- {{transmission-cli torrent_file.torrent}}`"
}
] |
[
{
"from": "human",
"value": "Add a command with a label after some delay has passed, see `pueue enqueue` for valid datetime formats via the `pueue-add` command"
},
{
"from": "gpt",
"value": "`pueue add --label \"{{compressing large file}}\" --delay \"{{wednesday 10:30pm}}\" -- \"{{7z a compresse... |
[
{
"from": "human",
"value": "Tell me about `pueue clean`."
},
{
"from": "gpt",
"value": "Remove all finished tasks from the list and clear logs.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Remove finished tasks and clear logs via the `pueue-clean` command"
},
{
"from": "gpt",
"value": "`pueue clean`"
}
] |
[
{
"from": "human",
"value": "Only clean commands that finished successfully via the `pueue-clean` command"
},
{
"from": "gpt",
"value": "`pueue clean --successful-only`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue completions`."
},
{
"from": "gpt",
"value": "Generates shell completion files for Bash, Elvish, Fish, PowerShell, and Zsh.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Generate completions for Bash via the `pueue-completions` command"
},
{
"from": "gpt",
"value": "`sudo pueue completions bash {{/usr/share/bash-completion/completions/pueue.bash}}`"
}
] |
[
{
"from": "human",
"value": "Generate completions for Zsh via the `pueue-completions` command"
},
{
"from": "gpt",
"value": "`sudo pueue completions zsh {{/usr/share/zsh/site-functions}}`"
}
] |
[
{
"from": "human",
"value": "Generate completions for fish via the `pueue-completions` command"
},
{
"from": "gpt",
"value": "`sudo pueue completions fish {{/usr/share/fish/completions}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue edit`."
},
{
"from": "gpt",
"value": "Edit the command or path of a stashed or queued task.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Edit a task, see `pueue status` to get the task ID via the `pueue-edit` command"
},
{
"from": "gpt",
"value": "`pueue edit {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Edit the path from which a task is executed via the `pueue-edit` command"
},
{
"from": "gpt",
"value": "`pueue edit {{task_id}} --path`"
}
] |
[
{
"from": "human",
"value": "Edit a command with the specified editor via the `pueue-edit` command"
},
{
"from": "gpt",
"value": "`EDITOR={{nano}} pueue edit {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue enqueue`."
},
{
"from": "gpt",
"value": "Enqueue stashed tasks.\nSee also: `pueue stash`.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Enqueue multiple stashed tasks at once via the `pueue-enqueue` command"
},
{
"from": "gpt",
"value": "`pueue enqueue {{task_id}} {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Enqueue a stashed task after 60 seconds via the `pueue-enqueue` command"
},
{
"from": "gpt",
"value": "`pueue enqueue --delay {{60}} {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Enqueue a stashed task next Wednesday via the `pueue-enqueue` command"
},
{
"from": "gpt",
"value": "`pueue enqueue --delay {{wednesday}} {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Enqueue a stashed task after four months via the `pueue-enqueue` command"
},
{
"from": "gpt",
"value": "`pueue enqueue --delay \"4 months\" {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Enqueue a stashed task on 2021-02-19 via the `pueue-enqueue` command"
},
{
"from": "gpt",
"value": "`pueue enqueue --delay {{2021-02-19}} {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "List all available date/time formats via the `pueue-enqueue` command"
},
{
"from": "gpt",
"value": "`pueue enqueue --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue follow`."
},
{
"from": "gpt",
"value": "Follow the output of a currently running task.\nSee also: `pueue log`.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Follow the output of a task (`stdout` + `stderr`) via the `pueue-follow` command"
},
{
"from": "gpt",
"value": "`pueue follow {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Follow `stderr` of a task via the `pueue-follow` command"
},
{
"from": "gpt",
"value": "`pueue follow --err {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue group`."
},
{
"from": "gpt",
"value": "Display, add or remove groups.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Show all groups with their statuses and number of parallel jobs via the `pueue-group` command"
},
{
"from": "gpt",
"value": "`pueue group`"
}
] |
[
{
"from": "human",
"value": "Add a custom group via the `pueue-group` command"
},
{
"from": "gpt",
"value": "`pueue group --add \"{{group_name}}\"`"
}
] |
[
{
"from": "human",
"value": "Remove a group and move its tasks to the default group via the `pueue-group` command"
},
{
"from": "gpt",
"value": "`pueue group --remove \"{{group_name}}\"`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue help`."
},
{
"from": "gpt",
"value": "Display help for subcommands.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Show all available subcommands and flags via the `pueue-help` command"
},
{
"from": "gpt",
"value": "`pueue help`"
}
] |
[
{
"from": "human",
"value": "Display help for a specific subcommand via the `pueue-help` command"
},
{
"from": "gpt",
"value": "`pueue help {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue kill`."
},
{
"from": "gpt",
"value": "Kill running tasks or whole groups.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Kill all tasks in the default group via the `pueue-kill` command"
},
{
"from": "gpt",
"value": "`pueue kill`"
}
] |
[
{
"from": "human",
"value": "Kill a specific task via the `pueue-kill` command"
},
{
"from": "gpt",
"value": "`pueue kill {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Kill a task and terminate all its child processes via the `pueue-kill` command"
},
{
"from": "gpt",
"value": "`pueue kill --children {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Kill all tasks in a group and pause the group via the `pueue-kill` command"
},
{
"from": "gpt",
"value": "`pueue kill --group {{group_name}}`"
}
] |
[
{
"from": "human",
"value": "Kill all tasks across all groups and pause all groups via the `pueue-kill` command"
},
{
"from": "gpt",
"value": "`pueue kill --all`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue log`."
},
{
"from": "gpt",
"value": "Display the log output of 1 or more tasks.\nSee also: `pueue status`.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}
] |
[
{
"from": "human",
"value": "Show the last few lines of output from all tasks via the `pueue-log` command"
},
{
"from": "gpt",
"value": "`pueue log`"
}
] |
[
{
"from": "human",
"value": "Show the full output of a task via the `pueue-log` command"
},
{
"from": "gpt",
"value": "`pueue log {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Show the last few lines of output from several tasks via the `pueue-log` command"
},
{
"from": "gpt",
"value": "`pueue log {{task_id}} {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Print a specific number of lines from the tail of output via the `pueue-log` command"
},
{
"from": "gpt",
"value": "`pueue log --lines {{number_of_lines}} {{task_id}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pueue`."
},
{
"from": "gpt",
"value": "A task management tool for sequential and parallel execution of long-running tasks.\nSome subcommands such as `add` have their own usage documentation.\nMore information: <https://github.com/Nukesor/pueue>.\n"
}... |
[
{
"from": "human",
"value": "Show general help and available subcommands via the `pueue` command"
},
{
"from": "gpt",
"value": "`pueue --help`"
}
] |
[
{
"from": "human",
"value": "Execute a pueue subcommand via the `pueue` command"
},
{
"from": "gpt",
"value": "`pueue {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Check the version of pueue via the `pueue` command"
},
{
"from": "gpt",
"value": "`pueue --version`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.