conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "List all processes of the current user in extra full format"
},
{
"from": "gpt",
"value": "ps [-u|--user] $(id [-u|--user]) -F"
}
] |
[
{
"from": "human",
"value": "List all processes of the current user as a tree"
},
{
"from": "gpt",
"value": "ps [-u|--user] $(id [-u|--user]) f"
}
] |
[
{
"from": "human",
"value": "Get the parent PID of a process"
},
{
"from": "gpt",
"value": "ps [-o|--format] ppid= [-p|--pid] pid"
}
] |
[
{
"from": "human",
"value": "Sort processes by memory consumption"
},
{
"from": "gpt",
"value": "ps [k|--sort] size"
}
] |
[
{
"from": "human",
"value": "Compile a file to an object file"
},
{
"from": "gpt",
"value": "adscript --output path/to/file.o path/to/input_file.adscript"
}
] |
[
{
"from": "human",
"value": "Compile and link a file to a standalone executable"
},
{
"from": "gpt",
"value": "adscript --executable --output path/to/file path/to/input_file.adscript"
}
] |
[
{
"from": "human",
"value": "Compile a file to LLVM IR instead of native machine code"
},
{
"from": "gpt",
"value": "adscript --llvm-ir --output path/to/file.ll path/to/input_file.adscript"
}
] |
[
{
"from": "human",
"value": "Cross-compile a file to an object file for a foreign CPU architecture or operating system"
},
{
"from": "gpt",
"value": "adscript --target-triple i386-linux-elf --output path/to/file.o path/to/input_file.adscript"
}
] |
[
{
"from": "human",
"value": "Convert a PDF file to JPEG"
},
{
"from": "gpt",
"value": "pdftocairo path/to/file.pdf -jpeg"
}
] |
[
{
"from": "human",
"value": "Convert to PDF expanding the output to fill the paper"
},
{
"from": "gpt",
"value": "pdftocairo path/to/file.pdf output.pdf -pdf -expand"
}
] |
[
{
"from": "human",
"value": "Convert to SVG specifying the first/last page to convert"
},
{
"from": "gpt",
"value": "pdftocairo path/to/file.pdf output.svg -svg -f first_page -l last_page"
}
] |
[
{
"from": "human",
"value": "Convert to PNG with 200ppi resolution"
},
{
"from": "gpt",
"value": "pdftocairo path/to/file.pdf output.png -png -r 200"
}
] |
[
{
"from": "human",
"value": "Convert to grayscale TIFF setting paper size to A3"
},
{
"from": "gpt",
"value": "pdftocairo path/to/file.pdf -tiff -gray -paper A3"
}
] |
[
{
"from": "human",
"value": "Convert to PNG cropping x and y pixels from the top-left corner"
},
{
"from": "gpt",
"value": "pdftocairo path/to/file.pdf -png -x x_pixels -y y_pixels"
}
] |
[
{
"from": "human",
"value": "Relay syslog messages from the connected device"
},
{
"from": "gpt",
"value": "idevicesyslog"
}
] |
[
{
"from": "human",
"value": "Suppress kernel messages and print everything else"
},
{
"from": "gpt",
"value": "idevicesyslog --no-kernel"
}
] |
[
{
"from": "human",
"value": "List all commands that you could run"
},
{
"from": "gpt",
"value": "compgen -c"
}
] |
[
{
"from": "human",
"value": "List all commands that you could run that start with a specified string"
},
{
"from": "gpt",
"value": "compgen -c str"
}
] |
[
{
"from": "human",
"value": "List all aliases"
},
{
"from": "gpt",
"value": "compgen -a"
}
] |
[
{
"from": "human",
"value": "List all functions that you could run"
},
{
"from": "gpt",
"value": "compgen -A function"
}
] |
[
{
"from": "human",
"value": "Show shell reserved keywords"
},
{
"from": "gpt",
"value": "compgen -k"
}
] |
[
{
"from": "human",
"value": "See all available commands/aliases starting with 'ls'"
},
{
"from": "gpt",
"value": "compgen -ac ls"
}
] |
[
{
"from": "human",
"value": "List all users on the system"
},
{
"from": "gpt",
"value": "compgen -u"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "compgen --help"
}
] |
[
{
"from": "human",
"value": "Get the current Node.js installation directory"
},
{
"from": "gpt",
"value": "Get-NodeInstallLocation"
}
] |
[
{
"from": "human",
"value": "Display the absolute path for a file or directory"
},
{
"from": "gpt",
"value": "realpath path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Require all path components to exist"
},
{
"from": "gpt",
"value": "realpath [-e|--canonicalize-existing] path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Resolve \"..\" components before symlinks"
},
{
"from": "gpt",
"value": "realpath [-L|--logical] path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Disable symlink expansion"
},
{
"from": "gpt",
"value": "realpath [-s|--no-symlinks] path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Suppress error messages"
},
{
"from": "gpt",
"value": "realpath [-q|--quiet] path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Run a `pyATS` subcommand"
},
{
"from": "gpt",
"value": "pyats subcommand"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "pyats --help"
}
] |
[
{
"from": "human",
"value": "Display help about a specific subcommand"
},
{
"from": "gpt",
"value": "pyats subcommand --help"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "pyats version check"
}
] |
[
{
"from": "human",
"value": "Display the status of every service"
},
{
"from": "gpt",
"value": "sudo gitlab-ctl status"
}
] |
[
{
"from": "human",
"value": "Display the status of a specific service"
},
{
"from": "gpt",
"value": "sudo gitlab-ctl status nginx"
}
] |
[
{
"from": "human",
"value": "Restart every service"
},
{
"from": "gpt",
"value": "sudo gitlab-ctl restart"
}
] |
[
{
"from": "human",
"value": "Restart a specific service"
},
{
"from": "gpt",
"value": "sudo gitlab-ctl restart nginx"
}
] |
[
{
"from": "human",
"value": "Display the logs of every service and keep reading until `<Ctrl c>` is pressed"
},
{
"from": "gpt",
"value": "sudo gitlab-ctl tail"
}
] |
[
{
"from": "human",
"value": "Display the logs of a specific service"
},
{
"from": "gpt",
"value": "sudo gitlab-ctl tail nginx"
}
] |
[
{
"from": "human",
"value": "Send the SIGKILL signal to specific service"
},
{
"from": "gpt",
"value": "sudo gitlab-ctl kill nginx"
}
] |
[
{
"from": "human",
"value": "Reconfigure the application"
},
{
"from": "gpt",
"value": "sudo gitlab-ctl reconfigure"
}
] |
[
{
"from": "human",
"value": "Ask a generic question"
},
{
"from": "gpt",
"value": "mods \"write me a poem about platypuses\""
}
] |
[
{
"from": "human",
"value": "Open settings in your `$EDITOR`"
},
{
"from": "gpt",
"value": "mods --settings"
}
] |
[
{
"from": "human",
"value": "Ask for comments on your code, in markdown format"
},
{
"from": "gpt",
"value": "mods --format \"what are your thoughts on improving this code?\" < path/to/file"
}
] |
[
{
"from": "human",
"value": "Ask for help with your documentation, in markdown format"
},
{
"from": "gpt",
"value": "mods --format \"write a new section to this readme for a feature that sends you a free rabbit if you hit r\" < README.md"
}
] |
[
{
"from": "human",
"value": "Organize your videos, in markdown format"
},
{
"from": "gpt",
"value": "ls path/to/videos | mods --format \"organize these by decade and summarize\""
}
] |
[
{
"from": "human",
"value": "Read through raw HTML and summarize the contents, in markdown format"
},
{
"from": "gpt",
"value": "curl \"https://api.open-meteo.com/v1/forecast?latitude=29.00&longitude=-90.00¤t_weather=true&hourly=temperature_2m,relativehumidity_2m,windspeed_10m\" | mods --f... |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "mods --help"
}
] |
[
{
"from": "human",
"value": "Remove files or directories from the staging area"
},
{
"from": "gpt",
"value": "hg remove path/to/file"
}
] |
[
{
"from": "human",
"value": "Remove all staged files matching a specified pattern"
},
{
"from": "gpt",
"value": "hg remove --include pattern"
}
] |
[
{
"from": "human",
"value": "Remove all staged files, excluding those that match a specified pattern"
},
{
"from": "gpt",
"value": "hg remove --exclude pattern"
}
] |
[
{
"from": "human",
"value": "Recursively remove sub-repositories"
},
{
"from": "gpt",
"value": "hg remove --subrepos"
}
] |
[
{
"from": "human",
"value": "Remove files from the repository that have been physically removed"
},
{
"from": "gpt",
"value": "hg remove --after"
}
] |
[
{
"from": "human",
"value": "Match `input_file` content with pattern file `check_file`"
},
{
"from": "gpt",
"value": "FileCheck --input-file=path/to/input_file path/to/check_file"
}
] |
[
{
"from": "human",
"value": "Match input from the `stdin` with pattern file `check_file`"
},
{
"from": "gpt",
"value": "echo \"some_text\" | FileCheck path/to/check_file"
}
] |
[
{
"from": "human",
"value": "Match with the specified custom check `prefix` (Note: the default prefix is `CHECK`)"
},
{
"from": "gpt",
"value": "echo \"some_text\" | FileCheck --check-prefix=prefix path/to/check_file"
}
] |
[
{
"from": "human",
"value": "Print good directive pattern matches"
},
{
"from": "gpt",
"value": "echo \"some_text\" | FileCheck -v path/to/check_file"
}
] |
[
{
"from": "human",
"value": "Input `llvm_code.ll` into llvm-as, then pipe the output into FileCheck to match"
},
{
"from": "gpt",
"value": "llvm-as path/to/llvm_code.ll | FileCheck path/to/check_file"
}
] |
[
{
"from": "human",
"value": "Display each line once"
},
{
"from": "gpt",
"value": "sort path/to/file | uniq"
}
] |
[
{
"from": "human",
"value": "Display only unique lines"
},
{
"from": "gpt",
"value": "sort path/to/file | uniq [-u|--unique]"
}
] |
[
{
"from": "human",
"value": "Display only duplicate lines"
},
{
"from": "gpt",
"value": "sort path/to/file | uniq [-d|--repeated]"
}
] |
[
{
"from": "human",
"value": "Display number of occurrences of each line along with that line"
},
{
"from": "gpt",
"value": "sort path/to/file | uniq [-c|--count]"
}
] |
[
{
"from": "human",
"value": "Display number of occurrences of each line, sorted by the most frequent"
},
{
"from": "gpt",
"value": "sort path/to/file | uniq [-c|--count] | sort [-nr|--numeric-sort --reverse]"
}
] |
[
{
"from": "human",
"value": "List outdated dependencies in the current directory"
},
{
"from": "gpt",
"value": "ncu"
}
] |
[
{
"from": "human",
"value": "List outdated global `npm` packages"
},
{
"from": "gpt",
"value": "ncu --global"
}
] |
[
{
"from": "human",
"value": "Upgrade all dependencies in the current directory"
},
{
"from": "gpt",
"value": "ncu --upgrade"
}
] |
[
{
"from": "human",
"value": "Interactively upgrade dependencies in the current directory"
},
{
"from": "gpt",
"value": "ncu --interactive"
}
] |
[
{
"from": "human",
"value": "List outdated dependencies up to the highest minor version"
},
{
"from": "gpt",
"value": "ncu --target minor"
}
] |
[
{
"from": "human",
"value": "List outdated dependencies that match a keyword or regular expression"
},
{
"from": "gpt",
"value": "ncu --filter keyword|/regex/"
}
] |
[
{
"from": "human",
"value": "List only a specific section of outdated dependencies"
},
{
"from": "gpt",
"value": "ncu --dep dev|optional|peer|prod|packageManager"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "ncu --help"
}
] |
[
{
"from": "human",
"value": "Download a specific URI to a file"
},
{
"from": "gpt",
"value": "aria2c \"url\""
}
] |
[
{
"from": "human",
"value": "Download a file from a URI with a specific output name"
},
{
"from": "gpt",
"value": "aria2c --out path/to/file \"url\""
}
] |
[
{
"from": "human",
"value": "Download multiple different files in parallel"
},
{
"from": "gpt",
"value": "aria2c --force-sequential false \"url1 url2 ...\""
}
] |
[
{
"from": "human",
"value": "Download the same file from different mirrors and verify the checksum of the downloaded file"
},
{
"from": "gpt",
"value": "aria2c --checksum sha-256=hash \"url1\" \"url2\" \"urlN\""
}
] |
[
{
"from": "human",
"value": "Download the URIs listed in a file with a specific number of parallel downloads"
},
{
"from": "gpt",
"value": "aria2c --input-file path/to/file --max-concurrent-downloads number_of_downloads"
}
] |
[
{
"from": "human",
"value": "Download with multiple connections"
},
{
"from": "gpt",
"value": "aria2c --split number_of_connections \"url\""
}
] |
[
{
"from": "human",
"value": "FTP download with username and password"
},
{
"from": "gpt",
"value": "aria2c --ftp-user username --ftp-passwd password \"url\""
}
] |
[
{
"from": "human",
"value": "Limit download speed in bytes/s"
},
{
"from": "gpt",
"value": "aria2c --max-download-limit speed \"url\""
}
] |
[
{
"from": "human",
"value": "Create a new SSH key"
},
{
"from": "gpt",
"value": "az sshkey create --name name --resource-group resource_group"
}
] |
[
{
"from": "human",
"value": "Upload an existing SSH key"
},
{
"from": "gpt",
"value": "az sshkey create --name name --resource-group resource_group --public-key \"@path/to/key.pub\""
}
] |
[
{
"from": "human",
"value": "List all SSH public keys"
},
{
"from": "gpt",
"value": "az sshkey list"
}
] |
[
{
"from": "human",
"value": "Show information about an SSH public key"
},
{
"from": "gpt",
"value": "az sshkey show --name name --resource-group resource_group"
}
] |
[
{
"from": "human",
"value": "Encode an audio file to MP3 using CBR 320 kbit/second"
},
{
"from": "gpt",
"value": "lame -b 320 path/to/file.wav path/to/output.mp3"
}
] |
[
{
"from": "human",
"value": "Encode an audio file to MP3 using the V0 preset"
},
{
"from": "gpt",
"value": "lame -V 0 path/to/file.wav path/to/output.mp3"
}
] |
[
{
"from": "human",
"value": "Encode an audio file to AAC"
},
{
"from": "gpt",
"value": "lame path/to/file.wav path/to/output.aac"
}
] |
[
{
"from": "human",
"value": "Decrypt files"
},
{
"from": "gpt",
"value": "yadm decrypt"
}
] |
[
{
"from": "human",
"value": "Build a tree object and verify that each tree entry’s hash identifies an existing object"
},
{
"from": "gpt",
"value": "git mktree"
}
] |
[
{
"from": "human",
"value": "Allow missing objects"
},
{
"from": "gpt",
"value": "git mktree --missing"
}
] |
[
{
"from": "human",
"value": "Read the NUL ([z]ero character) terminated output of the tree object (`ls-tree -z`)"
},
{
"from": "gpt",
"value": "git mktree -z"
}
] |
[
{
"from": "human",
"value": "Allow the creation of multiple tree objects"
},
{
"from": "gpt",
"value": "git mktree --batch"
}
] |
[
{
"from": "human",
"value": "Sort and build a tree from `stdin` (non-recursive `git ls-tree` output format is required)"
},
{
"from": "gpt",
"value": "git mktree < path/to/tree.txt"
}
] |
[
{
"from": "human",
"value": "Print the contents of the file and display a progress bar"
},
{
"from": "gpt",
"value": "pv path/to/file"
}
] |
[
{
"from": "human",
"value": "Measure the speed and amount of data flow between pipes (`--size` is optional)"
},
{
"from": "gpt",
"value": "command1 | pv --size expected_amount_of_data_for_eta | command2"
}
] |
[
{
"from": "human",
"value": "Filter a file, see both progress and amount of output data"
},
{
"from": "gpt",
"value": "pv -cN in big_text_file | grep pattern | pv -cN out > filtered_file"
}
] |
[
{
"from": "human",
"value": "Attach to an already running process and see its file reading progress"
},
{
"from": "gpt",
"value": "pv -d PID"
}
] |
[
{
"from": "human",
"value": "Read an erroneous file, skip errors as `dd conv=sync,noerror` would"
},
{
"from": "gpt",
"value": "pv -EE path/to/faulty_media > image.img"
}
] |
[
{
"from": "human",
"value": "Stop reading after reading specified amount of data, rate limit to 1K/s"
},
{
"from": "gpt",
"value": "pv -L 1K --stop-at --size maximum_file_size_to_be_read"
}
] |
[
{
"from": "human",
"value": "Calculate the SHA1 checksum for one or more files"
},
{
"from": "gpt",
"value": "shasum 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.