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": "I need a retry wrapper around git fetch from origin: 5 attempts, 1s apart." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo p...
script
git
5e63e829fd0ccea8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read urls.txt line by line and ping each host once, reporting up or down." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefai...
script
while
82c32661894119ae
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print logged in usernames according to a given file." }, { "role": "assistant", "content": "users backup.sql" } ]
single
users
3e27f2295ac542d3
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a preflight check that AWS_REGION, ENV and DB_HOST exist in the environment." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nf...
script
env
83be2a64b4744066
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show last 5 lines in file." }, { "role": "assistant", "content": "tail 50 index.pdf" } ]
single
tail
dd93c7c372839d00
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Store a certificate's public key in a file." }, { "role": "assistant", "content": "openssl x509 -in response.tmp -noout -pubkey -out metrics.yaml...
single
openssl
4da4e246807f0dc1
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "[Interactive] Rename a file on the remote server." }, { "role": "assistant", "content": "mv credentials.tar.gz auth.bak" } ]
single
mv
8cda4f8e2fbb10b5
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Calculate the BLAKE2 checksum for one or more files." }, { "role": "assistant", "content": "b2sum index.html" } ]
single
b2sum
5ae5deb6fadcbb4a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me how to follow the systemd-networkd journal but only show lines mentioning 'not found'." }, { "role": "assistant", "content": "journalctl -u systemd-networkd...
pipeline
journalctl
dc9232e3743a0773
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to follow the systemd-networkd journal but only show lines mentioning 'not found'." }, { "role": "assistant", "content": "journalctl...
pipeline
journalctl
dc9232e3743a0773
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Generate a hexdump from a binary file and save it as a text file." }, { "role": "assistant", "content": "xxd profile.jpg sales.zip" } ]
single
xxd
3872a7615d66cca3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count how often each column-5 value appears in error.log; show the 10 most common." }, { "role": "assistant", "content": "cut -d, -f5 error.log ...
pipeline
cut
b1472148a8d2cc12
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Retry connection to registry.local:5432 at most 4 times with a 3-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": "#!/usr/...
script
bash
5bcbc52fea4ed1d8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a health-check loop over servers.txt that checks if port 22 is open and prints the status of each." }, { "role": "assistant", "content": "#!/usr...
script
ssh
c854970ab60c0486
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display all groups the current user belongs to." }, { "role": "assistant", "content": "id deploy" } ]
single
id
6369291b2e017069
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "extract all the 'name' fields from https://db02.corp.net/api/users" }, { "role": "assistant", "content": "curl -s https://db02.corp.net/api/users | jq -r '.[].name'" } ]
pipeline
curl
2607977bbfbad5bc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://db02.corp.net/api/users" }, { "role": "assistant", "content": "curl --silent https://db02.corp.net/ap...
pipeline
curl
2607977bbfbad5bc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under src are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 src | sort -rh" } ]
pipeline
du
1ef528bb991e4291
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "which directories under src are eating the most space?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 src | sort -rh" } ]
pipeline
du
1ef528bb991e4291
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How many lines in mail.log mention 'retry'?" }, { "role": "assistant", "content": "grep -c 'retry' mail.log | cat" } ]
pipeline
grep
230f9c1a66f7d41f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How many lines in mail.log mention 'retry'?" }, { "role": "assistant", "content": "grep --count 'retry' mail.log | cat" } ]
pipeline
grep
230f9c1a66f7d41f
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run the backup script, sending stdout and stderr to output.log." }, { "role": "assistant", "content": "./backup.sh > output.log 2>&1" } ]
pipeline
redirection
437a798f09cabe07
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Connect to a target listener on the specified port and receive a file from it." }, { "role": "assistant", "content": "nc proxy.corp.net 5000 > o...
single
nc
6dc5552a87305a60
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me the disk usage of tests broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 tests 2>/dev/null | sort ...
pipeline
du
525b817b3d0115cc
[ { "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://cache.example.com/api/users" }, { "role": "assistant", "content": "curl -s https://cache.example.com/a...
pipeline
curl
cad9d26eb7f2339a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a script that pre-creates dated subdirectories under /mnt/backup for the next 5 days." }, { "role": "assistant", "content": "#!/usr/bin/e...
script
for
8c8dd4ba3cf38d80
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Get lines only found in first file, saving the result to a third file." }, { "role": "assistant", "content": "comm -23 payload.png customer.jpg >...
single
comm
319e6fe304be1e3d
[ { "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 docs" }, { "role": "assistant", "content": "find docs -type f -print0 | xargs -0 chmod 644" } ]
pipeline
find
01303fbd689464b3
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show vmstat in megabytes, 2s interval, 20 samples." }, { "role": "assistant", "content": "vmstat -S M 2 20" } ]
single
vmstat
52dac1bd2e5f95b7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show vmstat in megabytes, 3s interval, 10 samples." }, { "role": "assistant", "content": "vmstat -S M 3 10" } ]
single
vmstat
2d7b24f4783a3fc3
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from invoice.json." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' invoice.json | sort -u" } ]
pipeline
sed
cacc1226297c6127
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show TCP connections involving app01.service.io." }, { "role": "assistant", "content": "netstat -tn | grep app01.service.io" } ]
single
netstat
6b47858c530866ec
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How many lines in ingest.log mention 'FIXME'?" }, { "role": "assistant", "content": "grep -c 'FIXME' ingest.log | cat" } ]
pipeline
grep
4ef2d4cce97b55c7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How many lines in ingest.log mention 'FIXME'?" }, { "role": "assistant", "content": "grep --count 'FIXME' ingest.log | cat" } ]
pipeline
grep
4ef2d4cce97b55c7
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Append the current date to app.log." }, { "role": "assistant", "content": "date >> app.log" } ]
pipeline
redirection
70688953844f553a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Join two files using a comma (instead of a space) as the field separator." }, { "role": "assistant", "content": "join -t ',' server.jpg debug.html" } ]
single
join
77928126c011dfe0
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the disk usage of tests broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 tests 2>/dev/null | sort -rh" } ]
pipeline
du
1e6660f8646cddeb
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List the disk usage of tests broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 tests 2>/dev/n...
pipeline
du
1e6660f8646cddeb
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Case-insensitively find 'null' in syslog." }, { "role": "assistant", "content": "grep -i 'null' syslog" } ]
single
grep
ad4c22200520c28a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Case-insensitively find 'null' in syslog." }, { "role": "assistant", "content": "grep --ignore-case 'null' syslog" } ]
single
grep
ad4c22200520c28a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me uptime in the pretty format" }, { "role": "assistant", "content": "uptime -p" } ]
single
uptime
087221b01da44bd1
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count total lines across all .html files in build." }, { "role": "assistant", "content": "find build -type f -name '*.html' -print0 | xargs -0 ca...
pipeline
find
9aa531acad0c8ec5
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show connections on port 5672." }, { "role": "assistant", "content": "netstat -anp | grep :5672" } ]
single
netstat
d3dc8d0c20ff51c6
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter netstat for connections to or from git.corp.net." }, { "role": "assistant", "content": "netstat -tn | grep git.corp.net" } ]
single
netstat
e91e93a02be02467
[ { "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 archive.conf" } ]
single
lsof
5814ab004df04b9e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Copy a file between two remote hosts transferring through the local host." }, { "role": "assistant", "content": "scp -3 auth.example.com:test.json db01.example.com:...
single
scp
15c7fb2cffeaa3dd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give me a frequency tally of column 5 in metrics.log and show the 15 biggest." }, { "role": "assistant", "content": "awk '{print $5}' metrics.log | sort | uniq -c | sort -nr | head -n 15" } ]
pipeline
awk
8b260d5405090c1e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to list the unique '403' messages in debug.log." }, { "role": "assistant", "content": "grep '403' debug.log | sort -u" } ]
pipeline
grep
fdf4afd6263ee8c9
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Move order.yaml into the migrations folder." }, { "role": "assistant", "content": "mv order.yaml migrations/" } ]
single
mv
203afff6bef4a5a1
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find all files modified today and pass the results to a single command as arguments." }, { "role": "assistant", "content": "find static -daystart -mti...
single
find
b198d183b18f3d03
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Abbreviated session info for ubuntu." }, { "role": "assistant", "content": "w -s ubuntu" } ]
single
w
38f8c71cffde4b8f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Can you write a script that pre-creates dated subdirectories under /backup for the next 5 days?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nbase=/backup\nfor i ...
script
for
69fe8035d7e2e69b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "make a bzip2-compressed tarball of uploads" }, { "role": "assistant", "content": "tar -cjf uploads.tar.bz2 uploads" } ]
single
tar
8bd41b6218b59cdd
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "make a bzip2-compressed tarball of uploads" }, { "role": "assistant", "content": "tar cjf uploads.tar.bz2 uploads" } ]
single
tar
8bd41b6218b59cdd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "make a bzip2-compressed tarball of uploads" }, { "role": "assistant", "content": "tar -jcf uploads.tar.bz2 uploads" } ]
single
tar
8bd41b6218b59cdd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract all the 'name' fields from https://monitor.example.com/api/users" }, { "role": "assistant", "content": "curl -s https://monitor.example.com/api/users | jq -...
pipeline
curl
e603327812595381
[ { "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://monitor.example.com/api/users" }, { "role": "assistant", "content": "curl --silent https://monitor.exa...
pipeline
curl
e603327812595381
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Sample vmstat 5 times at a 2-second interval." }, { "role": "assistant", "content": "vmstat 2 5" } ]
single
vmstat
cf1e6c5501935fe1
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Restart sshd memcached nginx one after another and report each result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\n...
script
for
9da0917298e09bf4
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print tomcat's process hierarchy including PIDs." }, { "role": "assistant", "content": "pstree -p tomcat" } ]
single
pstree
08e40fe5952e33e3
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find files in artifacts owned by carol." }, { "role": "assistant", "content": "find artifacts -type f -user carol" } ]
single
find
ed4ebeccdbfe596f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in artifacts owned by carol." }, { "role": "assistant", "content": "find artifacts -user carol -type f" } ]
single
find
ed4ebeccdbfe596f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a shell script that checks whether rabbitmq is running and starts it if not." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
if
f49e37845722f17c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need to follow the redis journal but only show lines mentioning 'throttled'." }, { "role": "assistant", "content": "journalctl -u redis -f | g...
pipeline
journalctl
339054d1c15f03e5
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write me a script that retries a connection to db02.service.io:5432 up to 4 times, sleeping 1s between attempts." }, { "role": "assistant", "con...
script
bash
2583d233cd569b3e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'FIXME'-related lines in error.log." }, { "role": "assistant", "content": "grep 'FIXME' error.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
a17fdc741d7ce92d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'FIXME'-related lines in error.log." }, { "role": "assistant", "content": "grep 'FIXME' error.log | sort | uniq --count | sort -nr | head -n...
pipeline
grep
a17fdc741d7ce92d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from proxy.example.com." }, { "role": "assistant", "content": "netstat -tn | grep proxy.example.com" } ]
single
netstat
f2089713f6389908
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show kernel messages from the user facility." }, { "role": "assistant", "content": "dmesg -f user" } ]
single
dmesg
aaa83b674c7c7bac
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Print files within the tree hierarchy, using a wildcard (glob) pattern, and pruning out directories that don't contain matching files." }, { "role":...
single
tree
ab719f11a6fcd677
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I want to find the 20 processes with the most open files." }, { "role": "assistant", "content": "lsof 2>/dev/null | awk '{print $1}' | sort | uni...
pipeline
lsof
83d4be92618af840
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Back up /data/uploads to /mnt/backup as a dated bzip2 archive, pruning all but the last 5 backups." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -...
script
tar
a993cee93e288cd5
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the current primary group identity as a number." }, { "role": "assistant", "content": "id sudo" } ]
single
id
a9e8c5103769fffb
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "copy the whole docs folder to docs_copy recursively" }, { "role": "assistant", "content": "cp -r docs docs_copy" } ]
single
cp
11191e21f17bd4b8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "copy the whole docs folder to docs_copy recursively" }, { "role": "assistant", "content": "cp --recursive docs docs_copy" } ]
single
cp
11191e21f17bd4b8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Specify the line numbering's [w]idth (6 by default)." }, { "role": "assistant", "content": "nl -w 5 settings.js" } ]
single
nl
202a132a02a38ff3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "change permissions to 644 on all files under /usr/local/bin" }, { "role": "assistant", "content": "find /usr/local/bin -type f -print0 | xargs -0 chmo...
pipeline
find
59ea296cf305dc63
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fetch JSON from https://cdn.local/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://cdn.local/api/users | ...
pipeline
curl
6bcab6c2750dd6f3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch JSON from https://cdn.local/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://cdn.local/...
pipeline
curl
6bcab6c2750dd6f3
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "download https://auth.local/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://auth.local/list.txt | wc -l" } ]
pipeline
curl
04706fe10f0a9d22
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Download https://staging.internal/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl -O https://staging.inte...
single
curl
a9b660c9a8e5e0f0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Download https://staging.internal/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl --remote-name https://staging...
single
curl
a9b660c9a8e5e0f0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a script that deletes .log files older than 14 days from logs and logs what it removed." }, { "role": "assistant", "content": "#!/usr/bin/...
script
find
615b0d6570be3746
[ { "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 users.old summary.md" } ]
single
diff
7feb15b1aafb3db7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a monitoring script that warns when the /home partition usage exceeds 75%." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo ...
script
df
0635f9d4e2e9de3e
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read an erroneous file, skip errors as `dd conv=sync,noerror` would." }, { "role": "assistant", "content": "pv staging.local customer.json > build.sh"...
single
pv
81a1cd39148b23eb
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Loop through the .bak files in /srv/data and moves each file into an archive/ subfolder — write it as a proper script." }, { "role": "assistant", ...
script
mv
2346e4735c3a4a84
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find files in media owned by svc-app." }, { "role": "assistant", "content": "find media -type f -user svc-app" } ]
single
find
42152722c1c58f21
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in media owned by svc-app." }, { "role": "assistant", "content": "find media -user svc-app -type f" } ]
single
find
42152722c1c58f21
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Generate a certificate signing request to be sent to a certificate authority." }, { "role": "assistant", "content": "openssl req -new -sha256 -ke...
single
openssl
c5c1758930d2268e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extended disk I/O stats every 1s, 5 samples." }, { "role": "assistant", "content": "iostat -x 1 5" } ]
single
iostat
4d0ecf0017be070b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from error.json." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' error.json ...
pipeline
sed
786b1282c614b84d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from error.json." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' error.json | sort -u" } ]
pipeline
sed
786b1282c614b84d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from error.json." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' error.json | so...
pipeline
sed
786b1282c614b84d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fail fast if any of REDIS_URL, DB_PASS, API_KEY is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
env
e609a8d92d544e52
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from db01.example.com." }, { "role": "assistant", "content": "netstat -tn | grep db01.example.com" } ]
single
netstat
30cd2afbedacc5a6
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show TCP connections involving registry.local." }, { "role": "assistant", "content": "netstat -tn | grep registry.local" } ]
single
netstat
b85a8c22bfe64a91
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Calculate the SHA256 checksum for one or more files." }, { "role": "assistant", "content": "sha256sum notes.xml" } ]
single
sha256sum
6e559bd49edff8d4
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Create the scripts directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir -p scripts && cd scripts" } ]
pipeline
chain
d1b865bef2ab1976
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create the scripts directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir --parents scripts && cd scripts" } ]
pipeline
chain
d1b865bef2ab1976