messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How do I list files in tests sorted by size?" }, { "role": "assistant", "content": "ls -Sl tests" } ]
single
ls
26698e8584c004e0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I list files in tests sorted by size?" }, { "role": "assistant", "content": "ls -l -S tests" } ]
single
ls
26698e8584c004e0
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Generate a SHA-512 timestamp request of a specific file and output to `file.tsq`." }, { "role": "assistant", "content": "openssl ts -query -data account.jpg -sha512 -out output.conf" } ]
single
openssl
33ec4afd27eaf2da
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a script that runs gzip on every .log file in /mnt/storage, 4 jobs in parallel." }, { "role": "assistant", "content": "#!/usr/bin/env bas...
script
xargs
454cc9b9cc5356ea
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "locate files under static modified in the last 10 days" }, { "role": "assistant", "content": "find static -type f -mtime -10" } ]
single
find
585d85ca27d88023
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "locate files under static modified in the last 10 days" }, { "role": "assistant", "content": "find static -mtime -10 -type f" } ]
single
find
585d85ca27d88023
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How many lines in syslog.log mention 'failed'?" }, { "role": "assistant", "content": "grep -c 'failed' syslog.log | cat" } ]
pipeline
grep
bccea07790838afd
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How many lines in syslog.log mention 'failed'?" }, { "role": "assistant", "content": "grep --count 'failed' syslog.log | cat" } ]
pipeline
grep
bccea07790838afd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Wide-format vmstat every 5s, 10 samples." }, { "role": "assistant", "content": "vmstat -w 5 10" } ]
single
vmstat
c1ad56f523d5ef7b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to follow the ssh journal but only show lines mentioning 'deprecated'." }, { "role": "assistant", "content": "journalctl -u ssh -f | grep ...
pipeline
journalctl
521d32a64f7becb1
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Recursively set owner and group of migrations to carol:mysql." }, { "role": "assistant", "content": "sudo chown -R carol:mysql migrations" } ]
single
chown
3a87bdd9f72cdae2
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch JSON from https://web01.example.org/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://web01.exa...
pipeline
curl
25498a3c8cb9ae95
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch JSON from https://web01.example.org/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://we...
pipeline
curl
25498a3c8cb9ae95
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Query your system's default name server for an IP address (A record) of the domain." }, { "role": "assistant", "content": "nslookup order.md" } ]
single
nslookup
ad21f250c35e7d46
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "In orders.tsv, which 10 values of column 2 occur most often?" }, { "role": "assistant", "content": "awk '{print $2}' orders.tsv | sort | uniq -c...
pipeline
awk
e8f4495daa196be3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show connections on port 5432." }, { "role": "assistant", "content": "netstat -anp | grep :5432" } ]
single
netstat
d7f2a9cca4e7bc71
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Append several files to an output file." }, { "role": "assistant", "content": "cat schema.pdf >> config.zip" } ]
single
cat
54efb798459dd215
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show TCP connections to backup.service.io." }, { "role": "assistant", "content": "ss -tn dst backup.service.io" } ]
single
ss
4ddf42b56c7c97e2
[ { "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 results.jpg" } ]
single
lsof
976b9db085b54fc9
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the systemd journal for the prometheus service." }, { "role": "assistant", "content": "journalctl -u prometheus" } ]
single
journalctl
aaff3c9cc410eca5
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the systemd journal for the prometheus service." }, { "role": "assistant", "content": "journalctl --unit prometheus" } ]
single
journalctl
aaff3c9cc410eca5
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the contents of the cache directory sorted by modification time, newest first." }, { "role": "assistant", "content": "ls -lt cache" } ]
single
ls
7c6fbbf1354b7083
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the contents of the cache directory sorted by modification time, newest first." }, { "role": "assistant", "content": "ls -tl cache" } ]
single
ls
7c6fbbf1354b7083
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the contents of the cache directory sorted by modification time, newest first." }, { "role": "assistant", "content": "ls -l -t cache" } ]
single
ls
7c6fbbf1354b7083
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show TCP connections to monitor.internal." }, { "role": "assistant", "content": "ss -tn dst monitor.internal" } ]
single
ss
202cb2087cf77349
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch JSON from https://cdn.corp.net/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://cdn.corp.net/api/users | jq ." } ]
pipeline
curl
2efef2cd0db0df67
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Connect to a remote server." }, { "role": "assistant", "content": "ssh nginx@api.corp.net" } ]
single
ssh
053b48fe310d55dc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Take manifest.json and show the last 15 lines." }, { "role": "assistant", "content": "cat manifest.json | tail -n 15" } ]
pipeline
tail
dd118ffd9924ef58
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Convert blanks in each file to tabs, writing to `stdout`." }, { "role": "assistant", "content": "unexpand results.tmp" } ]
single
unexpand
b9a844d87ed5f4cf
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many connections are there to port 80?" }, { "role": "assistant", "content": "ss -tn | grep ':80' | wc -l" } ]
pipeline
ss
9723374809eb09d7
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Concatenate specific files in reversed order." }, { "role": "assistant", "content": "tac summary.xml" } ]
single
tac
0d29051400c33f68
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Select only the [n]ewest (most recently started) matching process." }, { "role": "assistant", "content": "pgrep -n php-fpm" } ]
single
pgrep
fbc1143077911674
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Select only the [n]ewest (most recently started) matching process." }, { "role": "assistant", "content": "pgrep --newest php-fpm" } ]
single
pgrep
fbc1143077911674
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Iterate the hosts in targets.txt; the script curls the /health endpoint and marks each reachable or not." }, { "role": "assistant", "content": "...
script
curl
f041c06aa1328c6c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Give [a]ll users rights to [r]ead and e[x]ecute." }, { "role": "assistant", "content": "chmod a+rx transaction.zip" } ]
single
chmod
0a0c2c1ca00376a1
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create the artifacts directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir -p artifacts && cd artifacts" } ]
pipeline
chain
2beb647631778059
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create the artifacts directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir --parents artifacts && cd artifacts" ...
pipeline
chain
2beb647631778059
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Stage all changes and commit with a message." }, { "role": "assistant", "content": "git commit -am 'update'" } ]
single
git
dc93e9f42367f7c3
[ { "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://www.example.com/api/items" }, { "role": "assistant", "content": "curl -s https://www.example.com/...
pipeline
curl
2c3e08c5ee503d74
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Recursively find files matching a specific pattern in the current directory." }, { "role": "assistant", "content": "fd \"disk full\"" } ]
single
fd
0f6fb1e64a075d2d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Retry connection to git.service.io:5432 at most 4 times with a 1-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": "#!/usr/...
script
bash
fd26ff48ccd41d81
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "what's the fully qualified domain name of this machine?" }, { "role": "assistant", "content": "hostname -f" } ]
single
hostname
5d17d4e0da2583ee
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Set the timestamp by parsing a string." }, { "role": "assistant", "content": "touch 2025-12-31 \"dump.xml\" audit.css" } ]
single
touch
2c19ec213a5c57c7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write me a script that runs checksum with sha256sum on every .xml file in /home/alice, 4 jobs in parallel." }, { "role": "assistant", "content": "#!/u...
script
xargs
3d7059931a309755
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the top 15 most frequent values in field 9 of the comma-separated file ingest.log." }, { "role": "assistant", "content": "cut -d, -f9 ingest.log | sort | uniq ...
pipeline
cut
ffc2e356579e7cde
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Case-insensitively find 'retry' in ingest.log." }, { "role": "assistant", "content": "grep -i 'retry' ingest.log" } ]
single
grep
38942dd2938a9525
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Case-insensitively find 'retry' in ingest.log." }, { "role": "assistant", "content": "grep --ignore-case 'retry' ingest.log" } ]
single
grep
38942dd2938a9525
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read hosts.txt line by line, skipping comments and blanks, and echo each entry numbered." }, { "role": "assistant", "content": "#!/usr/bin/env b...
script
while
13a899923f767eb7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show kernel messages with human-readable timestamps." }, { "role": "assistant", "content": "dmesg -T" } ]
single
dmesg
ccba678fdbd60e8a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Number only the [b]ody lines that match a basic `regex` (BRE) [p]attern." }, { "role": "assistant", "content": "nl -b p'FooBar[0-9]' catalog.bak"...
single
nl
86e0f8785b052e13
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display properties about a specific file such as size, permissions, creation date, and access date among others." }, { "role": "assistant", "content": "stat sales.css" } ]
single
stat
68d35fad6fcd1040
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display information about a specific user." }, { "role": "assistant", "content": "w nginx" } ]
single
w
c6bf998d61a172e8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "download https://mail.example.org/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://mail.example.org/list.txt ...
pipeline
curl
42fea66c572803ba
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "download https://mail.example.org/list.txt and count the lines" }, { "role": "assistant", "content": "curl --silent https://mail.example.org/lis...
pipeline
curl
42fea66c572803ba
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print the last column of each line in a file, using a comma (instead of space) as a field separator." }, { "role": "assistant", "content": "awk -F ',' '{print $NF}'...
single
awk
f6310655ffe8836c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print group memberships for a list of users." }, { "role": "assistant", "content": "groups bob" } ]
single
groups
6d3f70d269859dd5
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print file name and line number for each match with color output." }, { "role": "assistant", "content": "grep 1 --color=always \"deprecated\" request....
single
grep
4ffaa16964c78856
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give me a script that iterates over /srv/data/*.sh and makes each file read-only." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/srv/data\nfor f in \"$dir\"/*...
script
chmod
f18852ea05558e51
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show TCP connections involving www.example.com." }, { "role": "assistant", "content": "netstat -tn | grep www.example.com" } ]
single
netstat
93ee93de5903bfe0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Grep the kernel ring buffer for sda." }, { "role": "assistant", "content": "dmesg -T | grep -i sda" } ]
single
dmesg
db6057df903529fb
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://172.16.0.20/api/users" }, { "role": "assistant", "content": "curl -s https://172.16.0.20/api/users | jq -r ...
pipeline
curl
d128166b7259f56d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "extract all the 'name' fields from https://172.16.0.20/api/users" }, { "role": "assistant", "content": "curl --silent https://172.16.0.20/api/use...
pipeline
curl
d128166b7259f56d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "On the file users.csv, determine what kind of file it is." }, { "role": "assistant", "content": "file users.csv" } ]
single
file
cf2866cafb45c6c0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to show the last 50 lines containing 'panic' in build.log." }, { "role": "assistant", "content": "grep 'panic' build.log | tail -n 5...
pipeline
grep
8794a51f8cfe4b71
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need to count '403' occurrences in the fail2ban journal today." }, { "role": "assistant", "content": "journalctl -u fail2ban --since today --no-pager | grep -c '4...
pipeline
journalctl
d23a2d5cd0000526
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need to count '403' occurrences in the fail2ban journal today." }, { "role": "assistant", "content": "journalctl --unit fail2ban --since today --no-pager | grep -...
pipeline
journalctl
d23a2d5cd0000526
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Rename debug.pdf to debug.pdf.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n debug.pdf debug.pdf.o...
single
mv
38b0a5e902b510d0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Rename debug.pdf to debug.pdf.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobber debug.pdf d...
single
mv
38b0a5e902b510d0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from debug.md." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' debug.md | so...
pipeline
sed
d6f7763b7973850e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from debug.md." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' debug.md | sort -u" } ]
pipeline
sed
d6f7763b7973850e
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from debug.md." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' debug.md | sort -...
pipeline
sed
d6f7763b7973850e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the parent chain leading to PID 2231." }, { "role": "assistant", "content": "pstree -s 2231" } ]
single
pstree
d35d470f5a718715
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Get fields 1 and 3 from inventory.csv, colon separated." }, { "role": "assistant", "content": "cut -d: -f1,3 inventory.csv" } ]
single
cut
f0aed4b5cb2691f1
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Get fields 1 and 3 from inventory.csv, colon separated." }, { "role": "assistant", "content": "cut --delimiter=':' --fields=1,3 inventory.csv" } ]
single
cut
f0aed4b5cb2691f1
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I list the PIDs of tmux sorted by memory use?" }, { "role": "assistant", "content": "ps -C tmux -o pid=,rss= --sort=-rss" } ]
pipeline
ps
f15bf745dfa9897c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How do I total the resident memory of all php-fpm processes in MB?" }, { "role": "assistant", "content": "ps -C php-fpm -o rss= | awk '{s+=$1} EN...
pipeline
ps
a5777f9f6e4997c9
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "get the number of items in the JSON array at https://proxy.internal/api/items" }, { "role": "assistant", "content": "curl -s https://proxy.internal/api/items | jq 'length'" } ]
pipeline
curl
7d76203dc8684c6e
[ { "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://proxy.internal/api/items" }, { "role": "assistant", "content": "curl --silent https://proxy....
pipeline
curl
7d76203dc8684c6e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show connections on port 5000." }, { "role": "assistant", "content": "netstat -anp | grep :5000" } ]
single
netstat
82bf05be192957af
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need getopts handling for three options: -c, -i and -o; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nc...
script
getopts
fd179a468ded6ad9
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the 10 largest subdirectories in releases." }, { "role": "assistant", "content": "du -h releases/* | sort -rh | head -n 10" } ]
pipeline
du
4eaf26e4f7275d0f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the 10 largest subdirectories in releases." }, { "role": "assistant", "content": "du --human-readable releases/* | sort -rh | head -n 10" } ]
pipeline
du
4eaf26e4f7275d0f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Use a while loop to print the numbers 1 to 20, but only the even ones." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\n...
script
while
047f47f522f57777
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "download https://db02.local/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://db02.local/list.txt | wc -l" } ]
pipeline
curl
e69b4c92ce839030
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "download https://db02.local/list.txt and count the lines" }, { "role": "assistant", "content": "curl --silent https://db02.local/list.txt | wc -l...
pipeline
curl
e69b4c92ce839030
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "follow redirects when fetching https://git.corp.net" }, { "role": "assistant", "content": "curl -L https://git.corp.net" } ]
single
curl
6159d9186be56347
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "follow redirects when fetching https://git.corp.net" }, { "role": "assistant", "content": "curl --location https://git.corp.net" } ]
single
curl
6159d9186be56347
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many lines in metrics.log mention 'fatal'?" }, { "role": "assistant", "content": "grep -c 'fatal' metrics.log | cat" } ]
pipeline
grep
b39e28dc32425f6a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How many lines in metrics.log mention 'fatal'?" }, { "role": "assistant", "content": "grep --count 'fatal' metrics.log | cat" } ]
pipeline
grep
b39e28dc32425f6a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Retry curl to https://api.example.com/health at most 10 times with a 5-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": "#...
script
curl
2f2f91c37d8238ec
[ { "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 mail.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' mail...
pipeline
grep
8c6544f39f43c009
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in mail.log." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' mail.log | sort | ...
pipeline
grep
8c6544f39f43c009
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in mail.log." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ERROR|DEBUG...
pipeline
grep
8c6544f39f43c009
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count the length of the longest line in number of characters." }, { "role": "assistant", "content": "wc 2 transaction.old" } ]
single
wc
ae7897e27308214b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read targets.txt and for each host, report UP/DOWN based on whether it pings each host once." }, { "role": "assistant", "content": "#!/usr/bin/env bas...
script
ping
a653b4f00e2eaf8f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'corrupt'-related lines in build.log." }, { "role": "assistant", "content": "grep 'corrupt' build.log | sort | uniq -c | sort -nr | head -n ...
pipeline
grep
53764d0a8c2198ea
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the 10 most common 'corrupt'-related lines in build.log." }, { "role": "assistant", "content": "grep 'corrupt' build.log | sort | uniq --cou...
pipeline
grep
53764d0a8c2198ea
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give the [u]ser rights to [r]ead and [w]rite to a file/directory." }, { "role": "assistant", "content": "chmod u+rw downloads" } ]
single
chmod
c95d15be0a2f0a0c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the 50 most recent cron log lines, newest last." }, { "role": "assistant", "content": "journalctl -u cron -n 50" } ]
single
journalctl
033ce0136b27bc2c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the 50 most recent cron log lines, newest last." }, { "role": "assistant", "content": "journalctl --unit cron -n 50" } ]
single
journalctl
033ce0136b27bc2c