messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run 'rsync -a /data /mnt/backup' at a lower priority (nice 19)." }, { "role": "assistant", "content": "nice -n 19 rsync -a /data /mnt/backup" ...
single
nice
6540440350b2d002
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I want to find the 5 processes with the most open files." }, { "role": "assistant", "content": "lsof 2>/dev/null | awk '{print $1}' | sort | uniq -c | sort -nr | he...
pipeline
lsof
0363da798019f64c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch https://app01.example.com/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl -s -o /dev/null -w '%{ht...
single
curl
f8d15500840d65f6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch https://app01.example.com/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl --silent -o /dev/null -w ...
single
curl
f8d15500840d65f6
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List active (established) sessions on port 8000." }, { "role": "assistant", "content": "lsof -i :8000 -sTCP:ESTABLISHED" } ]
single
lsof
90e510bd5fb41c19
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 6924 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 6924" } ]
single
renice
edd2f613e435c41c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Short w listing for user deploy." }, { "role": "assistant", "content": "w -s deploy" } ]
single
w
c9a184e87bd9a8c1
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the uptime rounded to whole days." }, { "role": "assistant", "content": "awk '{print int($1/86400)\" days\"}' /proc/uptime" } ]
single
uptime
f867e9803459eacd
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read JSON from `stdin` and execute a specified JSONPath expression." }, { "role": "assistant", "content": "cat manifest.tar.gz | ajson 'session.z...
pipeline
cat
18b088e2f9957a56
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a Bash script that parses -f (file), -n (count) and -v (verbose) options with getopts." }, { "role": "assistant", "content": "#!/usr/bin/en...
script
getopts
aaf3b74a5aaaea10
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the 20 biggest files under /var/cache." }, { "role": "assistant", "content": "find /var/cache -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 20" } ]
pipeline
find
8bdd35e3b21afb3d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "get the number of items in the JSON array at https://staging.corp.net/api/items" }, { "role": "assistant", "content": "curl -s https://staging.corp.net/api/items | ...
pipeline
curl
58baee7fde643f8a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "get the number of items in the JSON array at https://staging.corp.net/api/items" }, { "role": "assistant", "content": "curl --silent https://staging.corp.net/api/it...
pipeline
curl
58baee7fde643f8a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Timestamped vmstat every 1s for 30 samples." }, { "role": "assistant", "content": "vmstat -t 1 30" } ]
single
vmstat
569803bae0ea690c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'failed'-related lines in error.log." }, { "role": "assistant", "content": "grep 'failed' error.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
c0bd7e8d1d41bfe8
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'failed'-related lines in error.log." }, { "role": "assistant", "content": "grep 'failed' error.log | sort | uniq --count | sort -nr | head ...
pipeline
grep
c0bd7e8d1d41bfe8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Give me a bytes-to-human function and demonstrate it on a file's size." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipef...
script
function
60b13994cf6df7e5
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display each line once." }, { "role": "assistant", "content": "sort summary.zip | uniq" } ]
pipeline
sort
992c97d3181f8cff
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display each line once." }, { "role": "assistant", "content": "sort -u summary.zip" } ]
pipeline
sort
992c97d3181f8cff
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How big is reports overall?" }, { "role": "assistant", "content": "du -sh reports" } ]
single
du
04c92a0de988e73a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How big is reports overall?" }, { "role": "assistant", "content": "du -hs reports" } ]
single
du
04c92a0de988e73a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How big is reports overall?" }, { "role": "assistant", "content": "du -s -h reports" } ]
single
du
04c92a0de988e73a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Move a file or directory into an existing directory." }, { "role": "assistant", "content": "mv error.jpg tmp" } ]
single
mv
49ed1a87e45c9fdc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from access.txt." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' access.txt ...
pipeline
sed
341b8ab5b1137925
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from access.txt." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' access.txt | sort -u" } ]
pipeline
sed
341b8ab5b1137925
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from access.txt." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' access.txt | sort -u" } ]
pipeline
sed
341b8ab5b1137925
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to show the last 20 lines containing 'denied' in messages." }, { "role": "assistant", "content": "grep 'denied' messages | tail -n 20" } ]
pipeline
grep
9800772e331852d3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Report free and used memory in MB." }, { "role": "assistant", "content": "free -m" } ]
single
free
6527ab399958a663
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Repeatedly output a newline to always accept the default option of a prompt." }, { "role": "assistant", "content": "yes ''" } ]
single
yes
cce1550b06a1dc19
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need a bash script that moves each file into an archive/ subfolder for all .old files under /data/uploads." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/da...
script
mv
2baff9ae6bc28c89
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Lower the priority of process 2565 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 2565" } ]
single
renice
da4936debf817cf4
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Lookup the IP(s) associated with a hostname (A records)." }, { "role": "assistant", "content": "dig +short server.py" } ]
single
dig
2f02c5a29c68bf11
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show what PID 8540 has open." }, { "role": "assistant", "content": "lsof -p 8540" } ]
single
lsof
10ccd2540a7810f9
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print bob's process hierarchy including PIDs." }, { "role": "assistant", "content": "pstree -p bob" } ]
single
pstree
d78710304aa10ff1
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print dmesg in raw format with priority markers." }, { "role": "assistant", "content": "dmesg -r" } ]
single
dmesg
4f9f1d064355a285
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show detailed per-device iostat, 10s apart, 5 times." }, { "role": "assistant", "content": "iostat -x 10 5" } ]
single
iostat
3ddf05fb66cc97ec
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "download https://git.service.io/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://git.service.io/list.txt | wc ...
pipeline
curl
0f3e53a0b2ea8720
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "download https://git.service.io/list.txt and count the lines" }, { "role": "assistant", "content": "curl --silent https://git.service.io/list.txt | wc...
pipeline
curl
0f3e53a0b2ea8720
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "send a GET request to https://backup.internal/api and show the response headers" }, { "role": "assistant", "content": "curl -I https://backup.in...
single
curl
5635c4e81e569a16
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "send a GET request to https://backup.internal/api and show the response headers" }, { "role": "assistant", "content": "curl --head https://backu...
single
curl
5635c4e81e569a16
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Download https://cdn.example.com/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl -O https://cdn.example.com/file.zip" } ]
single
curl
18ea687b555a0fa6
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Download https://cdn.example.com/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl --remote-name https://cdn.example.com/file.zip" } ]
single
curl
18ea687b555a0fa6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "delete all blank lines from auth.yaml" }, { "role": "assistant", "content": "sed '/^$/d' auth.yaml" } ]
single
sed
0d6adbed46cf9738
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the process tree using ASCII line characters." }, { "role": "assistant", "content": "pstree -A" } ]
single
pstree
169795b15118d7fb
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://www.local/api/users" }, { "role": "assistant", "content": "curl -s https://www.local/api/users | jq -...
pipeline
curl
45f57839d9a00b8a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "extract all the 'name' fields from https://www.local/api/users" }, { "role": "assistant", "content": "curl --silent https://www.local/api/users | jq -r '.[].name'" } ]
pipeline
curl
45f57839d9a00b8a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show kernel messages since 30 min ago." }, { "role": "assistant", "content": "dmesg -T --since '30 min ago'" } ]
single
dmesg
3b2fb985719d2572
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Generate an RSA 4096-bit key with email as a comment." }, { "role": "assistant", "content": "ssh-keygen -t rsa -b 4096 -C \"bob@example.org\"" } ]
single
ssh-keygen
e4fcf85c643ea9c7
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print current vmstat counters once." }, { "role": "assistant", "content": "vmstat" } ]
single
vmstat
ac1d5b6437907bb6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run 'rsync -a /data /mnt/backup' niced to 15 in the background." }, { "role": "assistant", "content": "nice -n 15 rsync -a /data /mnt/backup &" ...
single
nice
148aacb89d937830
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show a short w listing without the login/JCPU/PCPU columns." }, { "role": "assistant", "content": "w -s" } ]
single
w
29ec3520596de209
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Append file content to the source file." }, { "role": "assistant", "content": "cat invoice.jpg | sponge -a response.jpg" } ]
pipeline
cat
862963edf55085bd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the last 20 warning entries for firewalld." }, { "role": "assistant", "content": "journalctl -u firewalld -p warning -n 20 --no-pager" } ]
pipeline
journalctl
4290f7d9f6113edc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find all .xml files under docs." }, { "role": "assistant", "content": "find docs -type f -name '*.xml'" } ]
single
find
a5eb85a432473d2c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find all .xml files under docs." }, { "role": "assistant", "content": "find docs -name '*.xml' -type f" } ]
single
find
a5eb85a432473d2c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Print the current user's numeric UID." }, { "role": "assistant", "content": "id -u" } ]
single
id
503d1ea55aa80750
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print the current user's numeric UID." }, { "role": "assistant", "content": "id --user" } ]
single
id
503d1ea55aa80750
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display information in a portable way." }, { "role": "assistant", "content": "df -P" } ]
single
df
42a1db749835d16d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List TCP listeners without name resolution." }, { "role": "assistant", "content": "netstat -ltn" } ]
single
netstat
d85fa931a7ea7624
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Convert numeric bytes value from `stdin` to a human-readable string." }, { "role": "assistant", "content": "echo 1337 | pretty-bytes" } ]
pipeline
echo
37dec7fff4ab2dd2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Timestamped vmstat every 3s for 3 samples." }, { "role": "assistant", "content": "vmstat -t 3 3" } ]
single
vmstat
04168294a93c56b1
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me how to follow the mongod journal but only show lines mentioning 'WARNING'." }, { "role": "assistant", "content": "journalctl -u mongod -f | grep --line-buff...
pipeline
journalctl
1630c7333dc0ae25
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to follow the mongod journal but only show lines mentioning 'WARNING'." }, { "role": "assistant", "content": "journalctl --unit mongod -f | grep --line-buffered -i 'WARNING'" } ]
pipeline
journalctl
1630c7333dc0ae25
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Launch 'npm run build' at reduced priority (1)." }, { "role": "assistant", "content": "nice -n 1 npm run build" } ]
single
nice
a7d6279d17b5af98
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show a single virtual-memory snapshot." }, { "role": "assistant", "content": "vmstat" } ]
single
vmstat
274b83b0376c25c7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display free's low/high memory breakdown." }, { "role": "assistant", "content": "free -l" } ]
single
free
eb25474528e9671c
[ { "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 order.pdf | gxl2gv > session.gz" } ]
pipeline
cat
664e3d688605a4bd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me how to count 'failed' occurrences in the nginx journal today." }, { "role": "assistant", "content": "journalctl -u nginx --since today --no-pager | grep -c ...
pipeline
journalctl
0eccf1a34d0bee4c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to count 'failed' occurrences in the nginx journal today." }, { "role": "assistant", "content": "journalctl --unit nginx --since today --no-pager | grep -c 'failed'" } ]
pipeline
journalctl
0eccf1a34d0bee4c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Speak twice as fast, with huge gaps between sentences." }, { "role": "assistant", "content": "echo notes.bak | piper -m session.jpg --length_scale credentials.tmp -...
pipeline
echo
bdfe4a04fa27cf5e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Produce a line for each unpairable line for file1." }, { "role": "assistant", "content": "join -a 1 response.jpg request.jpg" } ]
single
join
d7b299da9cae1426
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show every open file under cache." }, { "role": "assistant", "content": "lsof +D cache" } ]
single
lsof
9e11010ada76de89
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the process tree including command-line arguments." }, { "role": "assistant", "content": "pstree -a" } ]
single
pstree
dca19a19fbd465db
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the 10 largest subdirectories in uploads." }, { "role": "assistant", "content": "du -h uploads/* | sort -rh | head -n 10" } ]
pipeline
du
59e7e6f69a1e2143
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the 10 largest subdirectories in uploads." }, { "role": "assistant", "content": "du --human-readable uploads/* | sort -rh | head -n 10" }...
pipeline
du
59e7e6f69a1e2143
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "give me a human-readable memory summary" }, { "role": "assistant", "content": "free -h" } ]
single
free
685579ca954b7e5a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Lower the priority of process 2455 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 2455" } ]
single
renice
f96c395d5476dc47
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Delay in [m]inutes. (Other units [d]ay, [h]our, [s]econd, [inf]inity can also be used)." }, { "role": "assistant", "content": "sleep 3m" } ]
single
sleep
3154928009e9bf4d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Report iostat throughput in megabytes, 2s interval, 5 rounds." }, { "role": "assistant", "content": "iostat -m 2 5" } ]
single
iostat
74fa33b751284568
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Bump process 4185 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 4185" } ]
single
renice
d4562c6e9c65c82f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a self-extracting binary file of a Zip archive." }, { "role": "assistant", "content": "cat $(which unzipsfx) auth.local > data.log && chm...
pipeline
cat
a839e9eb821a95a4
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List all files opened by celery." }, { "role": "assistant", "content": "lsof -c celery" } ]
single
lsof
daf36577c6002cb3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Background 'dd if=/dev/zero of=test.img bs=1M count=1024' at nice level 19." }, { "role": "assistant", "content": "nice -n 19 dd if=/dev/zero of=test....
single
nice
f778518e0cdc08cf
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "reduce the priority of all processes owned by deploy" }, { "role": "assistant", "content": "renice -n 15 -u deploy" } ]
single
renice
8ad08ee74ef0733f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Describe ANSI escape sequences from a string." }, { "role": "assistant", "content": "printf \"users.gz\" | sequin" } ]
pipeline
printf
248b0e21a6f69810
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Filter netstat for connections to or from git.example.com." }, { "role": "assistant", "content": "netstat -tn | grep git.example.com" } ]
single
netstat
abbef535e0d0090d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Back up all MySQL databases individually to /mnt/backup as compressed dumps." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo...
script
mysqldump
9a9ce6f80860e587
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show all TCP sockets numerically." }, { "role": "assistant", "content": "ss -tan" } ]
single
ss
96c7e964dfb3ba38
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count error lines in the fail2ban journal since yesterday." }, { "role": "assistant", "content": "journalctl -u fail2ban --since yesterday | grep...
pipeline
journalctl
f9676234091e4126
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Increase/decrease the priority of all processes that belong to a process [g]roup." }, { "role": "assistant", "content": "renice -n 5 -g staff" } ]
single
renice
f6753982ba4f4f78
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How many lines in kern.log mention 'unauthorized'?" }, { "role": "assistant", "content": "grep -c 'unauthorized' kern.log | cat" } ]
pipeline
grep
30a05d32ae2a09b4
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How many lines in kern.log mention 'unauthorized'?" }, { "role": "assistant", "content": "grep --count 'unauthorized' kern.log | cat" } ]
pipeline
grep
30a05d32ae2a09b4
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from metrics.conf." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' metrics.conf | ...
pipeline
sed
5a87bef632d2ec0e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the email addresses from metrics.conf." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' metrics.co...
pipeline
sed
5a87bef632d2ec0e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from metrics.conf." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' metrics.conf | sort -u" } ]
pipeline
sed
5a87bef632d2ec0e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Give me an init-style dispatcher for the nginx service with case on $1." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsvc=nginx\nca...
script
case
02945eaae5cfe31f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List sessions with destination app01.local." }, { "role": "assistant", "content": "ss -tn dst app01.local" } ]
single
ss
2abfba3ada637a47
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Execute a shellscript, joining every `N` lines into a single call." }, { "role": "assistant", "content": "echo -e 'a\\nb' | xe -N2 -s 'echo $2 $1'" ...
pipeline
echo
c06ad5fb287af1da
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the raw kernel message buffer." }, { "role": "assistant", "content": "dmesg -r" } ]
single
dmesg
ac0606580ce71b2c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to tally how many times each log level appears in output.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' output....
pipeline
grep
181fe7671580f076