messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Use vmstat's wide output, 2s apart, 20 times." }, { "role": "assistant", "content": "vmstat -w 2 20" } ]
single
vmstat
867bfaf4a1aacb7b
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "extract all the 'name' fields from https://mail.corp.net/api/users" }, { "role": "assistant", "content": "curl -s https://mail.corp.net/api/users | jq -r '.[].name'" } ]
pipeline
curl
6ac584f167ffd34f
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Lower the priority of process 9880 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 9880" } ]
single
renice
5e1bf2d86525dce7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find directories named modules anywhere under /opt/app." }, { "role": "assistant", "content": "find /opt/app -type d -name 'modules'" } ]
single
find
8a8d054afefe3078
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find directories named modules anywhere under /opt/app." }, { "role": "assistant", "content": "find /opt/app -name 'modules' -type d" } ]
single
find
8a8d054afefe3078
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count 'corrupt' occurrences in the elasticsearch journal today." }, { "role": "assistant", "content": "journalctl -u elasticsearch --since today...
pipeline
journalctl
1700bfd92aa965a0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count 'corrupt' occurrences in the elasticsearch journal today." }, { "role": "assistant", "content": "journalctl --unit elasticsearch --since today --no-pager | gr...
pipeline
journalctl
1700bfd92aa965a0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract files/directories from archives to `stdout` alongside the extracted file names." }, { "role": "assistant", "content": "unzip -c db01.corp.net" } ]
single
unzip
22a36145d40cedad
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show just the first line of catalog.jpg." }, { "role": "assistant", "content": "head -n 1 catalog.jpg" } ]
single
head
6162043936c5d55d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show just the first line of catalog.jpg." }, { "role": "assistant", "content": "head --lines 1 catalog.jpg" } ]
single
head
6162043936c5d55d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show just the first line of catalog.jpg." }, { "role": "assistant", "content": "head -1 catalog.jpg" } ]
single
head
6162043936c5d55d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Archive static and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - static | ssh dave@staging.s...
pipeline
tar
cd25c91837367341
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "[c]reate a compressed archive and write it to a [f]ile, using the file extension to [a]utomatically determine the compression program." }, { "role": "assi...
single
tar
86cb7dc7977dc631
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "download https://proxy.example.com/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://proxy.example.com/list.txt | wc -l" } ]
pipeline
curl
9af9260369c2fa71
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "download https://proxy.example.com/list.txt and count the lines" }, { "role": "assistant", "content": "curl --silent https://proxy.example.com/l...
pipeline
curl
9af9260369c2fa71
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://github.com/api/users" }, { "role": "assistant", "content": "curl -s https://github.com/api/users | jq...
pipeline
curl
f25f3eb818e8ec9c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://github.com/api/users" }, { "role": "assistant", "content": "curl --silent https://github.com/api/user...
pipeline
curl
f25f3eb818e8ec9c
[ { "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://registry.corp.net/api/users" }, { "role": "assistant", "content": "curl -s https://registry.corp.net/a...
pipeline
curl
bd8ec53c10932ab5
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://registry.corp.net/api/users" }, { "role": "assistant", "content": "curl --silent https://registry.corp.net/...
pipeline
curl
bd8ec53c10932ab5
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Launch 'npm run build' at reduced priority (5)." }, { "role": "assistant", "content": "nice -n 5 npm run build" } ]
single
nice
57be3ff0b16babff
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run 'python train.py' niced to 5 in the background." }, { "role": "assistant", "content": "nice -n 5 python train.py &" } ]
single
nice
2d0e640e97fdaae3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find files in /etc/apache2 larger than 500M." }, { "role": "assistant", "content": "find /etc/apache2 -type f -size +500M" } ]
single
find
ad545d732165cf77
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find files in /etc/apache2 larger than 500M." }, { "role": "assistant", "content": "find /etc/apache2 -size +500M -type f" } ]
single
find
ad545d732165cf77
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the 10 largest subdirectories in dist." }, { "role": "assistant", "content": "du -h dist/* | sort -rh | head -n 10" } ]
pipeline
du
d81f195e969d45b5
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "On the file migration.csv, show the first 20 lines." }, { "role": "assistant", "content": "head -n 20 migration.csv" } ]
single
head
3186fec5cd5bb2c8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "On the file migration.csv, show the first 20 lines." }, { "role": "assistant", "content": "head --lines 20 migration.csv" } ]
single
head
3186fec5cd5bb2c8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "On the file migration.csv, show the first 20 lines." }, { "role": "assistant", "content": "head -20 migration.csv" } ]
single
head
3186fec5cd5bb2c8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What are the 20 largest subdirectories of tests?" }, { "role": "assistant", "content": "du -h tests/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
25d6d90627efd453
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "What are the 20 largest subdirectories of tests?" }, { "role": "assistant", "content": "du --human-readable tests/* 2>/dev/null | sort -rh | head -n 2...
pipeline
du
25d6d90627efd453
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of /var/lib/mysql" }, { "role": "assistant", "content": "ls -lh /var/lib/mysql" } ]
single
ls
2bcf5be45a1449bd
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "give me a human-readable long listing of /var/lib/mysql" }, { "role": "assistant", "content": "ls -hl /var/lib/mysql" } ]
single
ls
2bcf5be45a1449bd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "give me a human-readable long listing of /var/lib/mysql" }, { "role": "assistant", "content": "ls -l -h /var/lib/mysql" } ]
single
ls
2bcf5be45a1449bd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "SSH [J]umping: Connect through a jumphost to a remote server (Multiple jump hops may be specified separated by comma characters)." }, { "role": "assistant", "content": "ssh redis@api.example.org ...
single
ssh
57cf0cf1b00e7f0b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch JSON from https://registry.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://regist...
pipeline
curl
ed348b515451744f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch JSON from https://registry.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://registry.example.com/api/users | jq ." } ]
pipeline
curl
ed348b515451744f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Tally how many times each log level appears in ingest.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' ingest.log | sort | uniq -c | sort -nr" } ]
pipeline
grep
754de9776b54df89
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given sales.txt, count the lines." }, { "role": "assistant", "content": "cat sales.txt | wc -l" } ]
pipeline
wc
393d9d379ea8d122
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given sales.txt, count the lines." }, { "role": "assistant", "content": "wc -l < sales.txt" } ]
pipeline
wc
393d9d379ea8d122
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run vmstat every 2s and stop after 5 samples." }, { "role": "assistant", "content": "vmstat 2 5" } ]
single
vmstat
27a5bfddbcaeb3e2
[ { "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 10" } ]
single
openssl
75787a7741d1c4b5
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find files in /etc/apache2 larger than -1M." }, { "role": "assistant", "content": "find /etc/apache2 -type f -size -1M" } ]
single
find
4ffe423c8ea9754d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find files in /etc/apache2 larger than -1M." }, { "role": "assistant", "content": "find /etc/apache2 -size -1M -type f" } ]
single
find
4ffe423c8ea9754d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Launch 'gzip huge.log' at reduced priority (15)." }, { "role": "assistant", "content": "nice -n 15 gzip huge.log" } ]
single
nice
65ef363eb5d65223
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display a calendar for the current month." }, { "role": "assistant", "content": "cal" } ]
single
cal
75c9ff7933bd16b8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the ancestors of process 2962 as a tree." }, { "role": "assistant", "content": "pstree -s 2962" } ]
single
pstree
be1282ae71699a49
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display [k]ernel drivers and modules handling each device." }, { "role": "assistant", "content": "lspci -k" } ]
single
lspci
b2fe69a64e96d49a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Lower the priority of process 5697 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 5697" } ]
single
renice
4f69a8c118258667
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List all usernames on the system from /etc/passwd." }, { "role": "assistant", "content": "cut -d: -f1 /etc/passwd | sort" } ]
pipeline
cut
d30615e91a2b56df
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "extract backup.tar.gz into the data folder" }, { "role": "assistant", "content": "tar -xzf backup.tar.gz -C data" } ]
single
tar
408d07eb41626e69
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract backup.tar.gz into the data folder" }, { "role": "assistant", "content": "tar xzf backup.tar.gz -C data" } ]
single
tar
408d07eb41626e69
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract backup.tar.gz into the data folder" }, { "role": "assistant", "content": "tar -zxf backup.tar.gz -C data" } ]
single
tar
408d07eb41626e69
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take product.conf and show the last 15 lines." }, { "role": "assistant", "content": "cat product.conf | tail -n 15" } ]
pipeline
tail
f735b1663ab8b697
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Import a public key from WKD (Web Key Directory) if the key isn't already in the keyring." }, { "role": "assistant", "content": "gpg --locate-key...
single
gpg
a64e30e72fa79874
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From response.tsv, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat response.tsv | sort -u" } ]
pipeline
sort
665cc164ddd1f0b4
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print kernel name." }, { "role": "assistant", "content": "uname" } ]
single
uname
34daca5cd6cdb8db
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Set the timestamp by parsing a string." }, { "role": "assistant", "content": "touch 2026-03-01 \"changelog.html\" payment.conf" } ]
single
touch
09fef5698d18a179
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Lower the priority of process 2518 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 2518" } ]
single
renice
883c6fa8e5147f4a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display memory usage in megabytes." }, { "role": "assistant", "content": "free -m" } ]
single
free
13c23d48288ad5b0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Convert blanks to tabs, reading from `stdout`." }, { "role": "assistant", "content": "unexpand" } ]
single
unexpand
32856ac63f1b2025
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "View all logins by a specific user and show the IP address instead of the hostname." }, { "role": "assistant", "content": "last git www.internal" } ]
single
last
e20e3e180d940daa
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How do I count how many systemd processes are running?" }, { "role": "assistant", "content": "pgrep -c systemd" } ]
pipeline
pgrep
b9f9a09ef3d45466
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I count how many systemd processes are running?" }, { "role": "assistant", "content": "pgrep --count systemd" } ]
pipeline
pgrep
b9f9a09ef3d45466
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show TCP connections involving git.example.com." }, { "role": "assistant", "content": "netstat -tn | grep git.example.com" } ]
single
netstat
c0dc9ea0561b70b9
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "show mysql logs from the last 14 days" }, { "role": "assistant", "content": "journalctl -u mysql --since '14 days ago'" } ]
single
journalctl
b5e22f9f5818b9c6
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print even numbers up to 100 with a while loop and a counter." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ni=2\nmax=100\nwhile [ \"$i\" -le \"$max\" ]; do\n ech...
script
while
5de828d54f0556ca
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write me a script that parses -f (file), -n (count) and -v (verbose) options with getopts." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nverbose=0\nfile=\"\"\ncou...
script
getopts
dc15f65d24a2b899
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "count the bytes in schema.gz" }, { "role": "assistant", "content": "wc -c schema.gz" } ]
single
wc
aedc4f9926944476
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "count the bytes in schema.gz" }, { "role": "assistant", "content": "wc --bytes schema.gz" } ]
single
wc
aedc4f9926944476
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Lower the priority of process 3975 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 3975" } ]
single
renice
6fbded95e8626bb5
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Add a timestamp column to vmstat, 5s interval, 30 rounds." }, { "role": "assistant", "content": "vmstat -t 5 30" } ]
single
vmstat
73916384fff395f7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "For every immediate subdirectory of /var/lib/app, show how much disk it uses." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -eu...
script
for
9fe663414f4e273d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print a specific archive contents." }, { "role": "assistant", "content": "zip 3 git.example.org" } ]
single
zip
2a29658614b58a56
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the last 20 lines containing 'overflow' in messages." }, { "role": "assistant", "content": "grep 'overflow' messages | tail -n 20" } ]
pipeline
grep
728f326a623c5372
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Report a total of 10 network device statistics, one per 2 seconds." }, { "role": "assistant", "content": "sar -n DEV 2 10" } ]
single
sar
c43c1d6e5877deb4
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many lines in ingest.log mention 'stale'?" }, { "role": "assistant", "content": "grep -c 'stale' ingest.log | cat" } ]
pipeline
grep
230d09f111bb980b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many lines in ingest.log mention 'stale'?" }, { "role": "assistant", "content": "grep --count 'stale' ingest.log | cat" } ]
pipeline
grep
230d09f111bb980b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find any socket using port 27017 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :27017" } ]
single
netstat
a3cb1e4c3ad9250d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the last 50 lines containing 'dropped' in request.log." }, { "role": "assistant", "content": "grep 'dropped' request.log | tail -n 50" } ]
pipeline
grep
9cd95d2a4c928c58
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Short w listing for user carol." }, { "role": "assistant", "content": "w -s carol" } ]
single
w
c6c6a65b22612588
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a script that pre-creates dated subdirectories under /backup for the next 7 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
for
353811c1ed0a4fbf
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Rename event.zip to event.zip.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n event.zip event...
single
mv
345fc3e5f308072e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rename event.zip to event.zip.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobber event.zip event.zip.old" } ]
single
mv
345fc3e5f308072e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the biggest files under /var/cache." }, { "role": "assistant", "content": "du -ah /var/cache | sort -rh | head -n 20" } ]
pipeline
du
3475d9876843f3cd
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the biggest files under /var/cache." }, { "role": "assistant", "content": "du -ha /var/cache | sort -rh | head -n 20" } ]
pipeline
du
3475d9876843f3cd
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the biggest files under /var/cache." }, { "role": "assistant", "content": "du -a -h /var/cache | sort -rh | head -n 20" } ]
pipeline
du
3475d9876843f3cd
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "report I/O stats 5 times, one per second" }, { "role": "assistant", "content": "iostat 1 5" } ]
single
iostat
e91ff3ca033c9760
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From response.conf, keep only non-empty lines." }, { "role": "assistant", "content": "cat response.conf | grep -v '^$'" } ]
pipeline
grep
4d07abf29badc8a7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a script that retries a connection to cdn.local:5432 up to 4 times, sleeping 2s between attempts." }, { "role": "assistant", "content": "#!/usr...
script
bash
52d3ef8d8b9c4258
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract specific files from an archive." }, { "role": "assistant", "content": "unzip -j catalog.sh.zip export.sh" } ]
single
unzip
c43205c7b4cbf55f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run 'rsync -a /data /mnt/backup' niced to 5 in the background." }, { "role": "assistant", "content": "nice -n 5 rsync -a /data /mnt/backup &" } ]
single
nice
44d12c5812c80cd0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "which directories under config are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 config | sort -rh" } ]
pipeline
du
5ef9d36d74b994eb
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under config are eating the most space?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 config | sort...
pipeline
du
5ef9d36d74b994eb
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need getopts handling for three options: -d, -n and -i; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=\"\"; name=\"\"; input=\"\"\...
script
getopts
60d70d1d43081806
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Reformat a file." }, { "role": "assistant", "content": "fmt transaction.csv" } ]
single
fmt
3cf5c88e961829ba
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Kill all processes which match." }, { "role": "assistant", "content": "pkill \"sshd\"" } ]
single
pkill
7b4fb1ca21c581f8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check certificate details." }, { "role": "assistant", "content": "openssl x509 -in output.tmp -text -noout" } ]
single
openssl
070d98ceb088b953
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Watch active/inactive memory with vmstat every 10s." }, { "role": "assistant", "content": "vmstat -a 10" } ]
single
vmstat
dc34ebc8df9da2d3
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give the [u]ser who owns a file the right to e[x]ecute it." }, { "role": "assistant", "content": "chmod u+x product.txt" } ]
single
chmod
c05db29c2ca327c9
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the last 20 lines of debug.pdf." }, { "role": "assistant", "content": "tail -n 20 debug.pdf" } ]
single
tail
9c7cafd3555ecfd1
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the last 20 lines of debug.pdf." }, { "role": "assistant", "content": "tail --lines 20 debug.pdf" } ]
single
tail
9c7cafd3555ecfd1