messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from summary.tsv."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' summary.tsv | so... | pipeline | sed | 4c3ebb1680c10a70 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from summary.tsv."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' summary.tsv | sort -u"
}
] | pipeline | sed | 4c3ebb1680c10a70 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print current iostat counters once."
},
{
"role": "assistant",
"content": "iostat"
}
] | single | iostat | 2e815df14869782f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Sample vmstat 30 times at a 10-second interval."
},
{
"role": "assistant",
"content": "vmstat 10 30"
}
] | single | vmstat | 2a9b131f98246473 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Back up /mnt/storage to /srv/backup as a dated gzip archive, pruning all but the last 30 backups."
},
{
"role": "assistant",
"content": "#!/usr/... | script | tar | b7d75fc0c6466cda |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "download https://git.example.com/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://git.example.com/list.txt | ... | pipeline | curl | d3b850a3e4ce9dda |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "download https://git.example.com/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl --silent https://git.example.com/list.txt | ... | pipeline | curl | d3b850a3e4ce9dda |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Which processes have files open in project?"
},
{
"role": "assistant",
"content": "lsof +D project"
}
] | single | lsof | 1da9e4fc57efc4f0 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the 5 biggest files under tests."
},
{
"role": "assistant",
"content": "find tests -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head... | pipeline | find | 29d2497024361832 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from product.json."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' product.json | sort -u"
}
] | pipeline | sed | a1c35f100da99b7a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from product.json."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' product.j... | pipeline | sed | a1c35f100da99b7a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from product.json."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' product.json ... | pipeline | sed | a1c35f100da99b7a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Include a combined RAM+swap total in the free output."
},
{
"role": "assistant",
"content": "free -h -t"
}
] | single | free | 703d1fa47574221e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 2915 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 2915"
}
] | single | renice | 4966f4b8c9b763cf |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Poll memory in MB every 5s, 5 times."
},
{
"role": "assistant",
"content": "free -m -s 5 -c 5"
}
] | single | free | 06ac7cd4a891d108 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Convert a graph using `stdin` and `stdout`."
},
{
"role": "assistant",
"content": "cat config.old | gxl2gv > payload.log"
}
] | pipeline | cat | 16c0583238de47d1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Lower the priority of process 2905 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 2905"
}
] | single | renice | 50ae68901adec127 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "recursively search downloads for 'unreachable' and show line numbers"
},
{
"role": "assistant",
"content": "grep -rn 'unreachable' downloads"
}
] | single | grep | 839eb9ed0b0a33a5 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "recursively search downloads for 'unreachable' and show line numbers"
},
{
"role": "assistant",
"content": "grep -nr 'unreachable' downloads"
}
] | single | grep | 839eb9ed0b0a33a5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "recursively search downloads for 'unreachable' and show line numbers"
},
{
"role": "assistant",
"content": "grep -r -n 'unreachable' downloads"
... | single | grep | 839eb9ed0b0a33a5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write me a script that deletes .cache files older than 5 days from logs and logs what it removed."
},
{
"role": "assistant",
"content": "#!/usr/b... | script | find | 912391bb496c62f4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Set changelog.json to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 changelog.json"
}
] | single | chmod | 5933b5810c16dd19 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Set changelog.json to permissions 644."
},
{
"role": "assistant",
"content": "chmod u=rw,go=r changelog.json"
}
] | single | chmod | 5933b5810c16dd19 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Disable IP address and host name mapping."
},
{
"role": "assistant",
"content": "traceroute -n response.md"
}
] | single | traceroute | d518124ff0b504e8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "count requests per HTTP status code in metrics.log"
},
{
"role": "assistant",
"content": "awk '{print $9}' metrics.log | sort | uniq -c | sort -nr"
... | pipeline | awk | c37c10c3e0ad473a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Only output the process ID (PID)."
},
{
"role": "assistant",
"content": "lsof -t error.conf"
}
] | single | lsof | 979a6ac6d5955962 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display the ancestors of process 764 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 764"
}
] | single | pstree | 37deeaadb7cbe60b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Delay for 1 [d]ay 3 [h]ours."
},
{
"role": "assistant",
"content": "sleep 1d 3h"
}
] | single | sleep | 62e9abd94627fc4d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Execute a command from `stdin`."
},
{
"role": "assistant",
"content": "echo \"report.html\" | batch"
}
] | pipeline | echo | 2ff7e48bbe711d74 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "give me a human-readable long listing of static"
},
{
"role": "assistant",
"content": "ls -lh static"
}
] | single | ls | 29c359a2cd6025a8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "give me a human-readable long listing of static"
},
{
"role": "assistant",
"content": "ls -hl static"
}
] | single | ls | 29c359a2cd6025a8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "give me a human-readable long listing of static"
},
{
"role": "assistant",
"content": "ls -l -h static"
}
] | single | ls | 29c359a2cd6025a8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print the hexadecimal representation of a file, replacing duplicate lines by `*`."
},
{
"role": "assistant",
"content": "hexdump notes.bak"
}
] | single | hexdump | 7c5b9067a4df4156 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display records older than 7 days."
},
{
"role": "assistant",
"content": "lastlog --before 7"
}
] | single | lastlog | 9d85ebc7efd9439b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display a report of CPU and disk statistics since system startup."
},
{
"role": "assistant",
"content": "iostat"
}
] | single | iostat | 5f45f105b5c241b3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Calculate hash (MD5, SHA1, SHA256, etc) of a large file and show progress."
},
{
"role": "assistant",
"content": "pv payload.bak | 9c8d7e6"
}
] | pipeline | pv | 222774d677388d0a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Which files does user erin have open?"
},
{
"role": "assistant",
"content": "lsof -u erin"
}
] | single | lsof | bc4d6f9c986ab254 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Append file content to the source file."
},
{
"role": "assistant",
"content": "cat notes.js | sponge -a summary.jpg"
}
] | pipeline | cat | 603db04bdf3f0930 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Please show just the first line in invoice.xml."
},
{
"role": "assistant",
"content": "head -n 1 invoice.xml"
}
] | single | head | e0a7733f0a23d960 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Please show just the first line in invoice.xml."
},
{
"role": "assistant",
"content": "head --lines 1 invoice.xml"
}
] | single | head | e0a7733f0a23d960 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Please show just the first line in invoice.xml."
},
{
"role": "assistant",
"content": "head -1 invoice.xml"
}
] | single | head | e0a7733f0a23d960 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the processes that have a given file open."
},
{
"role": "assistant",
"content": "lsof audit.sh"
}
] | single | lsof | ab4708f8c9a6f540 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show established connections on port 8000."
},
{
"role": "assistant",
"content": "lsof -i :8000 -sTCP:ESTABLISHED"
}
] | single | lsof | 44b62645e9c64200 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Specify size in bytes of probing packet."
},
{
"role": "assistant",
"content": "traceroute data.tar.gz 42"
}
] | single | traceroute | 95360d8d3f44b0ae |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "From config.yaml, count the lines."
},
{
"role": "assistant",
"content": "cat config.yaml | wc -l"
}
] | pipeline | wc | 3dd940f491dcfad7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "From config.yaml, count the lines."
},
{
"role": "assistant",
"content": "wc -l < config.yaml"
}
] | pipeline | wc | 3dd940f491dcfad7 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Take sales.txt and count the lines."
},
{
"role": "assistant",
"content": "cat sales.txt | wc -l"
}
] | pipeline | wc | bd0465134f71634f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Take sales.txt and count the lines."
},
{
"role": "assistant",
"content": "wc -l < sales.txt"
}
] | pipeline | wc | bd0465134f71634f |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Trim whitespace from a file."
},
{
"role": "assistant",
"content": "cat users.csv | git stripspace"
}
] | pipeline | cat | b0aacf1dc01a60e1 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What is admin running right now?"
},
{
"role": "assistant",
"content": "w admin"
}
] | single | w | 373cd7026ad2c366 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://app01.example.org/api/items"
},
{
"role": "assistant",
"content": "curl -s https://app01.exa... | pipeline | curl | dffead5944f97dd3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://app01.example.org/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://app... | pipeline | curl | dffead5944f97dd3 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Package and compress a directory and its contents."
},
{
"role": "assistant",
"content": "tar cvf - backup | lz4 - backup"
}
] | pipeline | tar | 9e80dc050b90ecfb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List all files opened by redis-server."
},
{
"role": "assistant",
"content": "lsof -c redis-server"
}
] | single | lsof | bcc5f98244a3020e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Can you write a script that prints a small system report: hostname, uptime, disk and memory usage?"
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nmem=$(free -h | a... | script | report | 837c44a8e441b19e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the artifacts directory."
},
{
"role": "assistant",
"content": "tar -czf artifacts.tar.gz artifacts"
}
] | single | tar | f1b527d9fbedb943 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the artifacts directory."
},
{
"role": "assistant",
"content": "tar czf artifacts.tar.gz artifacts"
}
] | single | tar | f1b527d9fbedb943 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the artifacts directory."
},
{
"role": "assistant",
"content": "tar -zcf artifacts.tar.gz artifacts"
}
] | single | tar | f1b527d9fbedb943 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Enable a given swap area."
},
{
"role": "assistant",
"content": "sudo swapon metrics.json"
}
] | single | swapon | 4ca1cdab361e5fdd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Scan the open TCP ports of a specified host."
},
{
"role": "assistant",
"content": "nc -v -z -w 1 backup.service.io 6379-9000"
}
] | single | nc | f4abe3ef60d6c6b1 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Compute the object ID from `stdin`."
},
{
"role": "assistant",
"content": "cat auth.json | git hash-object --stdin"
}
] | pipeline | cat | c6f6134188af3094 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Merge the authorization entries from a specific file into the authorization database."
},
{
"role": "assistant",
"content": "cat catalog.xml | xauth merge -"
}
] | pipeline | cat | a3d4b57538a8dcb2 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find any socket using port 22 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :22"
}
] | single | netstat | d1607fed4b224bee |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Recursively copy the contents of a directory from a remote host to a local directory."
},
{
"role": "assistant",
"content": "scp -r auth.local:config data"
}
] | single | scp | 3d6b6d3cecd51385 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Split a file above the first line matching a `regex` pattern."
},
{
"role": "assistant",
"content": "csplit results.old /SIGTERM/"
}
] | single | csplit | e3332296f41129aa |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Also display a message if no response was received."
},
{
"role": "assistant",
"content": "ping -O 8.8.8.8"
}
] | single | ping | 9e442f681c9bae80 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "copy the whole fixtures folder to fixtures_copy recursively"
},
{
"role": "assistant",
"content": "cp -r fixtures fixtures_copy"
}
] | single | cp | 571430cee223f972 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "copy the whole fixtures folder to fixtures_copy recursively"
},
{
"role": "assistant",
"content": "cp --recursive fixtures fixtures_copy"
}
] | single | cp | 571430cee223f972 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Unmount a directory."
},
{
"role": "assistant",
"content": "sudo umount schema.gz"
}
] | single | umount | d2edf6999b75995f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find any socket using port 80 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :80"
}
] | single | netstat | 52b12e98a1272d02 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run 'python train.py' at higher priority (nice -10); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -10 python train.py"
}
] | single | nice | b029b880b0c6817a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run 'npm run build' niced to 5 in the background."
},
{
"role": "assistant",
"content": "nice -n 5 npm run build &"
}
] | single | nice | 40e85191324082fb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Use the contents of a file as input of the clipboard."
},
{
"role": "assistant",
"content": "cat output.txt | xsel registry.service.io"
}
] | pipeline | cat | c29482c773d9c683 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "which directories under tests are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 tests | sort -rh"
}
] | pipeline | du | 43050a7bc08acd39 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "which directories under tests are eating the most space?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 tests | sort -... | pipeline | du | 43050a7bc08acd39 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find directories named templates anywhere under /home/alice."
},
{
"role": "assistant",
"content": "find /home/alice -type d -name 'templates'"
}
] | single | find | 98413e9d6523cc72 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find directories named templates anywhere under /home/alice."
},
{
"role": "assistant",
"content": "find /home/alice -name 'templates' -type d"
}
] | single | find | 98413e9d6523cc72 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "SSH tunneling: [D]ynamic port forwarding (SOCKS proxy on `localhost:1080`)."
},
{
"role": "assistant",
"content": "ssh jenkins@cdn.corp.net -D 1... | single | ssh | 4ee40fdfa8a216b6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Perform an intensive crawl with a proxy and random user agent and output results in `html` file."
},
{
"role": "assistant",
"content": "cat api.... | pipeline | cat | 517e1f909e4b0677 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display erin's processes as a tree."
},
{
"role": "assistant",
"content": "pstree erin"
}
] | single | pstree | b546d8269ccdc2fa |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run 'make -j4' at higher priority (nice -5); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -5 make -j4"
}
] | single | nice | ffaa368ea6805cc3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Execute a command from `stdin`."
},
{
"role": "assistant",
"content": "echo \"error.html\" | batch"
}
] | pipeline | echo | 015ec3c0df9765f5 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a deployment script: pull the feature/search branch, install deps, run tests, and restart the service only if tests pass."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -eu... | script | git | 2c1bd3e323a7d422 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the subtree of processes under PID 6474."
},
{
"role": "assistant",
"content": "pstree -p 6474"
}
] | single | pstree | ba4f110f724832a1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Ping auth.example.org four times and stop."
},
{
"role": "assistant",
"content": "ping -c 4 auth.example.org"
}
] | single | ping | 9ee63681a4aa146d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I want reusable log() and die() shell functions with timestamps; die should exit 1."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nts() { date '+%Y-%m-%d %H:%M:%S'... | script | function | c465244638d431bd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in kern.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)... | pipeline | grep | ffe09798d6a83730 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in kern.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' kern.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | ffe09798d6a83730 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in kern.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' kern.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | ffe09798d6a83730 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Unmount a filesystem, by passing the path to the source it is mounted from."
},
{
"role": "assistant",
"content": "sudo umount release.css"
}
] | single | umount | 18d4a7c8606c6c45 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Resume from a specific line."
},
{
"role": "assistant",
"content": "cat data.md | speedread -resume 5"
}
] | pipeline | cat | def1e1cd8dcd6f23 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display RCS identification strings from `stdin`."
},
{
"role": "assistant",
"content": "cat index.pdf | ident"
}
] | pipeline | cat | 1831309429340c7f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Convert a graph using `stdin` and `stdout`."
},
{
"role": "assistant",
"content": "cat customer.pdf | gxl2gv > dump.pdf"
}
] | pipeline | cat | 3c2b20bd221f61b3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a script that generates an nginx config file for example.com using a here-document."
},
{
"role": "assistant",
"content": "#!/usr/bin/env b... | script | heredoc | d9de837cf89680a5 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Help me show the top 5 processes by CPU usage."
},
{
"role": "assistant",
"content": "ps aux --sort=-%cpu | head -n 6"
}
] | pipeline | ps | 79c5d51156f62cc6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many lines in nginx-access.log match 'OutOfMemory'."
},
{
"role": "assistant",
"content": "grep -c 'OutOfMemory' nginx-access.log"
}
] | single | grep | 3b3d72b3425fabdc |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count how many lines in nginx-access.log match 'OutOfMemory'."
},
{
"role": "assistant",
"content": "grep --count 'OutOfMemory' nginx-access.log"
}
... | single | grep | 3b3d72b3425fabdc |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count how many lines in nginx-access.log match 'OutOfMemory'."
},
{
"role": "assistant",
"content": "grep 'OutOfMemory' nginx-access.log | wc -l"... | single | grep | 3b3d72b3425fabdc |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the process tree for user ec2-user."
},
{
"role": "assistant",
"content": "pstree ec2-user"
}
] | single | pstree | 8df3fbe0df868d68 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Alternatively, add feeds manually."
},
{
"role": "assistant",
"content": "echo index.html >> \"${HOME}/.newsboat/urls\""
}
] | single | echo | dcd317c57db5d47e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.