messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the disk usage of /var/lib/mysql broken down one level deep."
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 /var/... | pipeline | du | 2098eeaee268f6c4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "list only the .gz files in static"
},
{
"role": "assistant",
"content": "ls static | grep '\\.gz$'"
}
] | pipeline | ls | 83fd1ba1f6ef814f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Report virtual-memory statistics every 2 seconds, 30 times."
},
{
"role": "assistant",
"content": "vmstat 2 30"
}
] | single | vmstat | 53ef87eed3f044ed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Start a [l]istener on the specified TCP [p]ort and send a file into it."
},
{
"role": "assistant",
"content": "nc < payload.txt -l -p 3000"
}
... | single | nc | 7e1275e094948a28 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write me a script that deletes .bak files older than 2 days from /var/tmp and logs what it removed."
},
{
"role": "assistant",
"content": "#!/us... | script | find | 1d1167c0e4e8813b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print the tree ignoring the given directories."
},
{
"role": "assistant",
"content": "tree -I 'reports'"
}
] | single | tree | 723b12a7d15e986c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a small script that deletes .tmp files older than 14 days from /var/log and logs what it removed."
},
{
"role": "assistant",
"content": "#!... | script | find | 1276c9103e0794b9 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I want a cleanup script for logs that purges .bak files older than 21 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo ... | script | find | acaee6378cb32461 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Can you write a script that deletes .bak files older than 30 days from /var/log and logs what it removed?"
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=/va... | script | find | 55a00229245b9ed8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Connect to a remote server."
},
{
"role": "assistant",
"content": "ssh ubuntu@www.corp.net"
}
] | single | ssh | 5ead8b12f8e65068 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a loop that restarts these services in order: apache2 mongod memcached."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pip... | script | for | 31dba7f79d323b02 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "send SIGHUP to process 8148 to make it reload its config"
},
{
"role": "assistant",
"content": "kill -HUP 8148"
}
] | single | kill | 451a391794f67a07 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "send SIGHUP to process 8148 to make it reload its config"
},
{
"role": "assistant",
"content": "kill -1 8148"
}
] | single | kill | 451a391794f67a07 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "send SIGHUP to process 8148 to make it reload its config"
},
{
"role": "assistant",
"content": "kill -s HUP 8148"
}
] | single | kill | 451a391794f67a07 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Specify the line numbering's width (6 by default)."
},
{
"role": "assistant",
"content": "nl 1 20 inventory.js"
}
] | single | nl | 242c4184724e3881 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Case-insensitively find 'TODO' in syslog."
},
{
"role": "assistant",
"content": "grep -i 'TODO' syslog"
}
] | single | grep | ec5d53a4c2a8dcdb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Case-insensitively find 'TODO' in syslog."
},
{
"role": "assistant",
"content": "grep --ignore-case 'TODO' syslog"
}
] | single | grep | ec5d53a4c2a8dcdb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://monitor.service.io/api/items"
},
{
"role": "assistant",
"content": "curl -s https://monitor.servi... | pipeline | curl | b44006c89b51e562 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "[c]reate an archive and write it to a [f]ile."
},
{
"role": "assistant",
"content": "tar cf invoice.sql debug.conf"
}
] | single | tar | 4a724202dd654f5f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Use a specific proxy when connecting to the remote host."
},
{
"role": "assistant",
"content": "scp -J ec2-user@git.corp.net results.log db02.ex... | single | scp | 9588e08bea19a8d0 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find any socket using port 53 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :53"
}
] | single | netstat | 9a5b2aef86245524 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Parse command-line flags -d (dir), -o (output) and -c (count) using getopts and validate that -d is provided."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ... | script | getopts | 03841bfe7de1bdd2 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to follow the prometheus journal but only show lines mentioning '404'."
},
{
"role": "assistant",
"content": "journalctl -u promethe... | pipeline | journalctl | e9179032b1a1a2d4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to follow the prometheus journal but only show lines mentioning '404'."
},
{
"role": "assistant",
"content": "journalctl --unit prom... | pipeline | journalctl | e9179032b1a1a2d4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the running java processes (excluding the grep itself)."
},
{
"role": "assistant",
"content": "ps aux | grep [j]ava"
}
] | pipeline | ps | 9d982038ce5895fa |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Loop through the .sql files in /data/uploads and moves each file into an archive/ subfolder — write it as a proper script."
},
{
"role": "assistant"... | script | mv | 383b426e47ed509a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fail fast if any of DB_PASS, API_KEY, PORT is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -... | script | env | d37bc33fe27925fe |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Process all .log files under /opt/app with optipng using 8 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/opt/app\nfind \"$dir\" -... | script | xargs | 77eb5458418684ff |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Compare files (lists changes to turn `old_file` into `new_file`)."
},
{
"role": "assistant",
"content": "diff request.sql test.log"
}
] | single | diff | 100b0b03daede3e3 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the 20 largest subdirectories of migrations."
},
{
"role": "assistant",
"content": "du -h migrations/* 2>/dev/null | sort -rh | head -n 20"
}
] | pipeline | du | 247c33ad3ddd3ea6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the 10 largest subdirectories of backup?"
},
{
"role": "assistant",
"content": "du -h backup/* 2>/dev/null | sort -rh | head -n 10"
}
... | pipeline | du | 9f37031cc362f2ee |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the 10 largest subdirectories of backup?"
},
{
"role": "assistant",
"content": "du --human-readable backup/* 2>/dev/null | sort -rh | he... | pipeline | du | 9f37031cc362f2ee |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "On the file build.png, show the last 20 lines."
},
{
"role": "assistant",
"content": "tail -n 20 build.png"
}
] | single | tail | 6001db53d9124c13 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "On the file build.png, show the last 20 lines."
},
{
"role": "assistant",
"content": "tail --lines 20 build.png"
}
] | single | tail | 6001db53d9124c13 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "On the file build.png, show the last 20 lines."
},
{
"role": "assistant",
"content": "tail -20 build.png"
}
] | single | tail | 6001db53d9124c13 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a shell script that verifies the environment variables PORT, DB_HOST and DB_PASS are all set before running."
},
{
"role": "assistant",
"content... | script | env | 881f413fc96af70b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need a bash script that moves each file into an archive/ subfolder for all .html files under backups."
},
{
"role": "assistant",
"content": "#!... | script | mv | e5e5ae68701e5b5c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Ping a host with specific [c]ount of pings, per-packet time to [W]ait for a response, and total [w]ait time limit of the entire ping run."
},
{
"role": "assistant",
... | single | ping | ffec803d572dce3b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in worker.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' wo... | pipeline | grep | f5fc11bb00cc08cd |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in worker.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' wo... | pipeline | grep | f5fc11bb00cc08cd |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in worker.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' worker.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | f5fc11bb00cc08cd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find '500' in kern.log plus 3 lines of context around each match."
},
{
"role": "assistant",
"content": "grep -C 3 '500' kern.log"
}
] | single | grep | 88a5a4bc4cc7b5bc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common 'FIXME'-related lines in messages."
},
{
"role": "assistant",
"content": "grep 'FIXME' messages | sort | uniq -c | sort ... | pipeline | grep | 0866a7e4a91b66f4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'FIXME'-related lines in messages."
},
{
"role": "assistant",
"content": "grep 'FIXME' messages | sort | uniq --count | sort -nr | head -n 10"
}
] | pipeline | grep | 0866a7e4a91b66f4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in messages mention '403'?"
},
{
"role": "assistant",
"content": "grep -c '403' messages | cat"
}
] | pipeline | grep | 99c7d0b0823d990a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How many lines in messages mention '403'?"
},
{
"role": "assistant",
"content": "grep --count '403' messages | cat"
}
] | pipeline | grep | 99c7d0b0823d990a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Follow live logs for mariadb."
},
{
"role": "assistant",
"content": "journalctl -u mariadb -f"
}
] | single | journalctl | eaa628953c30253a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Follow live logs for mariadb."
},
{
"role": "assistant",
"content": "journalctl --unit mariadb -f"
}
] | single | journalctl | eaa628953c30253a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Generate a certificate signing request (CSR)."
},
{
"role": "assistant",
"content": "openssl req -new -key transaction.sql -out session.zip"
}
] | single | openssl | 1bcfdd8ac5e6e666 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://web01.corp.net/api/items"
},
{
"role": "assistant",
"content": "curl -s https://web01.corp.... | pipeline | curl | bc8e0f38bda6b198 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://web01.corp.net/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://web01.corp.net/api/items ... | pipeline | curl | bc8e0f38bda6b198 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "follow redirects when fetching https://monitor.example.com"
},
{
"role": "assistant",
"content": "curl -L https://monitor.example.com"
}
] | single | curl | 0b5c18ce1eac30c3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "follow redirects when fetching https://monitor.example.com"
},
{
"role": "assistant",
"content": "curl --location https://monitor.example.com"
}
] | single | curl | 0b5c18ce1eac30c3 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Use a specific username when connecting to the remote host."
},
{
"role": "assistant",
"content": "scp report.csv admin@api.corp.net:media"
}
] | single | scp | 02fc5ed2e4902912 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show last 5 lines in file."
},
{
"role": "assistant",
"content": "tail 3 payload.css"
}
] | single | tail | b36e302dca2ad0b3 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'failed'-related lines in syslog."
},
{
"role": "assistant",
"content": "grep 'failed' syslog | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | grep | 88acc2e805237383 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "From sales.csv, list the 20 most frequent field-4 entries with their counts."
},
{
"role": "assistant",
"content": "cut -d, -f4 sales.csv | sort... | pipeline | cut | f1a3ac50fe9765ca |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Filter netstat for connections to or from github.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep github.io"
}
] | single | netstat | 9a3b26fd27e48007 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Case-insensitively find 'ERROR' in nginx-error.log."
},
{
"role": "assistant",
"content": "grep -i 'ERROR' nginx-error.log"
}
] | single | grep | c30f9b7a8cba04dd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Case-insensitively find 'ERROR' in nginx-error.log."
},
{
"role": "assistant",
"content": "grep --ignore-case 'ERROR' nginx-error.log"
}
] | single | grep | c30f9b7a8cba04dd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fold lines in a fixed width."
},
{
"role": "assistant",
"content": "fold 1 10 report.json"
}
] | single | fold | d385b80a2e5f79bb |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a rotating backup: archive /data/uploads into /var/backups with bzip2, retain 14 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nsrc=/data/uploads\nd... | script | tar | 15f6dd68366f343d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Move multiple files into an existing directory, keeping the filenames unchanged."
},
{
"role": "assistant",
"content": "mv sales.sql downloads"
}
] | single | mv | 9a11199135c43add |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Download https://app01.service.io/file.zip and save it with its remote name."
},
{
"role": "assistant",
"content": "curl -O https://app01.service.io/file.zip"
}
] | single | curl | 6cdb142372357c63 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Download https://app01.service.io/file.zip and save it with its remote name."
},
{
"role": "assistant",
"content": "curl --remote-name https://app01.service.io/file... | single | curl | 6cdb142372357c63 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Filter netstat for connections to or from monitor.example.com."
},
{
"role": "assistant",
"content": "netstat -tn | grep monitor.example.com"
}
] | single | netstat | 7f07a24ea2f62ed3 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Recursively search for a pattern in a file or directory."
},
{
"role": "assistant",
"content": "rg corrupt releases"
}
] | single | rg | 80f1df645304699d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Connect to an open `ncat` connection over SSL."
},
{
"role": "assistant",
"content": "ncat --ssl git.internal 5672"
}
] | single | ncat | d11ec19c5134e95b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show all TCP IPv4 sockets locally connected on the subnet 192.168.0.0/16."
},
{
"role": "assistant",
"content": "ss cdn.corp.net src 192.168/16"
}
] | single | ss | 9e714bd55678da21 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Check if a given number is prime."
},
{
"role": "assistant",
"content": "openssl prime 1"
}
] | single | openssl | 5638fa5ea8da6cf2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Filter netstat for connections to or from db01.corp.net."
},
{
"role": "assistant",
"content": "netstat -tn | grep db01.corp.net"
}
] | single | netstat | a28ed71744f918fb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a health-check loop over targets.txt that pings each host once and prints the status of each."
},
{
"role": "assistant",
"content": "#!/us... | script | ping | 35144411a36b9037 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a shell script that dumps every MySQL database into its own gzip file under /mnt/backup, keeping 7 days."
},
{
"role": "assistant",
"conte... | script | mysqldump | 071708078e4cc4e9 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "[c]reate a g[z]ipped archive and write it to a [f]ile."
},
{
"role": "assistant",
"content": "tar czf users.sql payload.md"
}
] | single | tar | 2bc895db6a6d5014 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find any socket using port 6379 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :6379"
}
] | single | netstat | e61d6ea85add971a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Calculate and save the list of MD5 checksums to a file."
},
{
"role": "assistant",
"content": "md5sum response.csv > settings.tmp"
}
] | single | md5sum | 835ca0e90c1d2897 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Output the first 5 lines of a file."
},
{
"role": "assistant",
"content": "head 100 dump.json"
}
] | single | head | 30952cd8e4ea06a4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Remove e[x]ecutable rights from the [g]roup."
},
{
"role": "assistant",
"content": "chmod g-x export.md"
}
] | single | chmod | 2aa8666b2d3a6757 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Archive templates and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar -czf - templates | ssh nginx@a... | pipeline | tar | c53425bbf3dd6ee6 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Archive templates and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar czf - templates | ssh nginx@auth.exa... | pipeline | tar | c53425bbf3dd6ee6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Archive templates and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar -zcf - templates | ssh nginx@a... | pipeline | tar | c53425bbf3dd6ee6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "what are the top 25 lines in metrics.log?"
},
{
"role": "assistant",
"content": "head -n 25 metrics.log"
}
] | single | head | 05860aa165b176df |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "what are the top 25 lines in metrics.log?"
},
{
"role": "assistant",
"content": "head --lines 25 metrics.log"
}
] | single | head | 05860aa165b176df |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "what are the top 25 lines in metrics.log?"
},
{
"role": "assistant",
"content": "head -25 metrics.log"
}
] | single | head | 05860aa165b176df |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from auth.txt."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' auth.txt | so... | pipeline | sed | 7984e93a2bda477e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from auth.txt."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' auth.txt | sort -u"
}
] | pipeline | sed | 7984e93a2bda477e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from auth.txt."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' auth.txt | sort -... | pipeline | sed | 7984e93a2bda477e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Exclude files that match a pattern, argument can be given multiple times to add more patterns."
},
{
"role": "assistant",
"content": "ncdu --exclude 'dump.yaml'"
... | single | ncdu | f5108c6d0f9ad27d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract the first field of inventory.csv using comma as the delimiter."
},
{
"role": "assistant",
"content": "cut -d, -f1 inventory.csv"
}
] | single | cut | 8715b86eca0ec41c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract the first field of inventory.csv using comma as the delimiter."
},
{
"role": "assistant",
"content": "cut --delimiter=',' --fields=1 inv... | single | cut | 8715b86eca0ec41c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Case-insensitively find 'failed' in kern.log."
},
{
"role": "assistant",
"content": "grep -i 'failed' kern.log"
}
] | single | grep | 60dc6b6e462b6425 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Case-insensitively find 'failed' in kern.log."
},
{
"role": "assistant",
"content": "grep --ignore-case 'failed' kern.log"
}
] | single | grep | 60dc6b6e462b6425 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Connect to a remote server with a specific [i]dentity (private key)."
},
{
"role": "assistant",
"content": "ssh svc-app@registry.corp.net -i customer.zip"
}
] | single | ssh | 94e8f76997270774 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "change permissions to 644 on all files under assets"
},
{
"role": "assistant",
"content": "find assets -type f -print0 | xargs -0 chmod 644"
}... | pipeline | find | e205a567ae9f777a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "enable ssh to start on boot"
},
{
"role": "assistant",
"content": "sudo systemctl enable ssh"
}
] | single | systemctl | 5172c8de03b41478 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show which files changed in the last commit."
},
{
"role": "assistant",
"content": "git show --stat HEAD"
}
] | single | git | 509b3a76c6c42797 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Set order.json to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 order.json"
}
] | single | chmod | da8f2dd04d117699 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Set order.json to permissions 644."
},
{
"role": "assistant",
"content": "chmod u=rw,go=r order.json"
}
] | single | chmod | da8f2dd04d117699 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show detailed per-device iostat, 1s apart, 5 times."
},
{
"role": "assistant",
"content": "iostat -x 1 5"
}
] | single | iostat | 06856592f09dd91e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Recursively make everything in src readable and writable by the owner only."
},
{
"role": "assistant",
"content": "chmod -R 600 src"
}
] | single | chmod | 7b4091e98f6f1fb2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.