messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extended disk I/O stats every 2s, 5 samples." }, { "role": "assistant", "content": "iostat -x 2 5" } ]
single
iostat
35aeb75f695ac8c9
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List redis's activity, headerless." }, { "role": "assistant", "content": "w -h redis" } ]
single
w
ac4371738e73b72d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Poll memory in MB every 2s, 3 times." }, { "role": "assistant", "content": "free -m -s 2 -c 3" } ]
single
free
45da7f338d140cc7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Copy the given public key to the remote with specific port." }, { "role": "assistant", "content": "ssh-copy-id -i test.zip -p 27017 tomcat@git.interna...
single
ssh-copy-id
0d9020d2a41014d3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to follow the docker journal but only show lines mentioning 'corrupt'." }, { "role": "assistant", "content": "journalctl -u docker -f | gr...
pipeline
journalctl
62a5691448153a49
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to follow the docker journal but only show lines mentioning 'corrupt'." }, { "role": "assistant", "content": "journalctl --unit docker -f | grep --line-buffered -i 'corrupt'" } ]
pipeline
journalctl
62a5691448153a49
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'throttled'-related lines in gateway.log." }, { "role": "assistant", "content": "grep 'throttled' gateway.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
9943bc00efbaccb0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'throttled'-related lines in gateway.log." }, { "role": "assistant", "content": "grep 'throttled' gateway.log | sort | uniq --count | sort -...
pipeline
grep
9943bc00efbaccb0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sum the response sizes (column 10) in metrics.log." }, { "role": "assistant", "content": "awk '{s+=$10} END{print s}' metrics.log" } ]
pipeline
awk
147b4b963a1d8caa
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List sessions with destination mail.local." }, { "role": "assistant", "content": "ss -tn dst mail.local" } ]
single
ss
7854b332f51b1b97
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Bump process 8720 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 8720" } ]
single
renice
a77761bd3999dfcf
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display 5 reports, one by one, at 2 second intervals." }, { "role": "assistant", "content": "mpstat 2 5" } ]
single
mpstat
b7209b4fd92c1d1f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 10 hottest values in column 7 of customers.csv (by frequency)." }, { "role": "assistant", "content": "cut -d, -f7 customers.csv | sort | uniq...
pipeline
cut
17d92560de34ba32
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch JSON from https://staging.local/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://staging.local/api/users | jq ." } ]
pipeline
curl
f1884efdc36e254e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch JSON from https://staging.local/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://staging...
pipeline
curl
f1884efdc36e254e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'exception'-related lines in worker.log." }, { "role": "assistant", "content": "grep 'exception' worker.log | sort | uniq -c | sort -nr | he...
pipeline
grep
261ba2b611f94c3d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the 10 most common 'exception'-related lines in worker.log." }, { "role": "assistant", "content": "grep 'exception' worker.log | sort | uni...
pipeline
grep
261ba2b611f94c3d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to follow the firewalld journal but only show lines mentioning 'expired'." }, { "role": "assistant", "content": "journalctl -u firewalld -f | g...
pipeline
journalctl
9ef9d2738ca7033e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need to follow the firewalld journal but only show lines mentioning 'expired'." }, { "role": "assistant", "content": "journalctl --unit firewalld -f | grep --line-buffered -i 'expired'" } ]
pipeline
journalctl
9ef9d2738ca7033e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the biggest files under fixtures." }, { "role": "assistant", "content": "du -ah fixtures | sort -rh | head -n 20" } ]
pipeline
du
44537cc6749c2eaa
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the biggest files under fixtures." }, { "role": "assistant", "content": "du -ha fixtures | sort -rh | head -n 20" } ]
pipeline
du
44537cc6749c2eaa
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the biggest files under fixtures." }, { "role": "assistant", "content": "du -a -h fixtures | sort -rh | head -n 20" } ]
pipeline
du
44537cc6749c2eaa
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me how to show the last 10 lines containing 'stale' in app.log." }, { "role": "assistant", "content": "grep 'stale' app.log | tail -n 10" } ]
pipeline
grep
fb16ea6eab1e643c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need getopts handling for three options: -t, -o and -p; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ntag=\"\"; output=\"\"; port=\"\"...
script
getopts
78459959b482a9df
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display virtual memory statistics." }, { "role": "assistant", "content": "vmstat" } ]
single
vmstat
1c2b3024080cbb9c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List routes and do not resolve IP addresses to hostnames." }, { "role": "assistant", "content": "netstat 10" } ]
single
netstat
313b51ea4c153c92
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show a brief list of devices." }, { "role": "assistant", "content": "lspci" } ]
single
lspci
fb0aa7e1bb611c43
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in dmesg.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG...
pipeline
grep
cae0713dfde2385f
[ { "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 dmesg.log." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' dmesg.log | sort ...
pipeline
grep
cae0713dfde2385f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in dmesg.log." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ERROR|DEB...
pipeline
grep
cae0713dfde2385f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Execute a specific expression only using the `jq` binary (print a colored and formatted JSON output)." }, { "role": "assistant", "content": "jq '.' customer.png" ...
single
jq
6d4c4adb1336cef2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Remove the keys of a host from the `known_hosts` file (useful when a known host has a new key)." }, { "role": "assistant", "content": "ssh-keyge...
single
ssh-keygen
bd1e97d36e86c580
[ { "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 kern.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' kern.log ...
pipeline
grep
65b39186e464ceb7
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need to tally how many times each log level appears in kern.log." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' kern.log | sort | uniq -c | sort -nr" } ]
pipeline
grep
65b39186e464ceb7
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need to tally how many times each log level appears in kern.log." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' kern.log | sort | uniq -c | sort -nr" } ]
pipeline
grep
65b39186e464ceb7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create the modules directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir -p modules && cd modules" } ]
pipeline
chain
a8f4d7248d440e1f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create the modules directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir --parents modules && cd modules" } ]
pipeline
chain
a8f4d7248d440e1f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "In sales.csv, which 20 values of column 9 occur most often?" }, { "role": "assistant", "content": "cut -d, -f9 sales.csv | sort | uniq -c | sort -nr | head -n 20" } ]
pipeline
cut
e02bf13bf0d01398
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I/O stats in MB/s every 5s for 10 samples." }, { "role": "assistant", "content": "iostat -m 5 10" } ]
single
iostat
ced31a07042e46bc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print the process name in addition to the PID ([l]ong output)." }, { "role": "assistant", "content": "pgrep -l php-fpm" } ]
single
pgrep
9b76f357ebe12391
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show established connections on port 9200." }, { "role": "assistant", "content": "lsof -i :9200 -sTCP:ESTABLISHED" } ]
single
lsof
69ec25882d5e241c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Change the owner group of a file/directory." }, { "role": "assistant", "content": "chgrp deploy static" } ]
single
chgrp
4964c021e73eac34
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Disable all system and process changing features." }, { "role": "assistant", "content": "htop --readonly" } ]
single
htop
006face8988a9b2e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the process that opened a local internet port." }, { "role": "assistant", "content": "lsof -i :6379" } ]
single
lsof
818ba50d64335cef
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print, beginning at page 2 up to page 5, with a given page length (including header and footer)." }, { "role": "assistant", "content": "pr +2:5 50 3 r...
single
pr
7fadf02408a841f6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a small script that renames every .jpeg file in the current directory to .jpg." }, { "role": "assistant", "content": "#!/usr/bin/env bash\n...
script
for
61006ba3248f89f2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Generate a self-signed certificate valid for a specified number of days (365)." }, { "role": "assistant", "content": "openssl req -new -x509 -ke...
single
openssl
8ba5e7c00ebdaed0
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Compare files (lists changes to turn `old_file` into `new_file`)." }, { "role": "assistant", "content": "diff summary.tar.gz config.sql" } ]
single
diff
3f5cabc4c3e71493
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run './import.sh' at higher priority (nice -5); needs root." }, { "role": "assistant", "content": "sudo nice -n -5 ./import.sh" } ]
single
nice
5cb28e474fee1cf0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "[Interactive] Dump raw bytes of current block to a file." }, { "role": "assistant", "content": "pr > catalog.pdf" } ]
single
pr
5711796dbf260c5c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the process listening on port 80." }, { "role": "assistant", "content": "lsof -i :80" } ]
single
lsof
1c7d1e942c5d675b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the most recently modified file in releases." }, { "role": "assistant", "content": "ls -t releases | head -n 1" } ]
pipeline
ls
edf2359fd20c54a7
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list the distinct error messages in api.log" }, { "role": "assistant", "content": "grep -i error api.log | sort -u" } ]
pipeline
grep
b9cee31f42bc8a65
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "list the distinct error messages in api.log" }, { "role": "assistant", "content": "grep --ignore-case error api.log | sort -u" } ]
pipeline
grep
b9cee31f42bc8a65
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Loop over every .log file in vendor and gzip any that are larger than 10MB." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor f in vendor/*.log; do\n [ -e \"$f\"...
script
for
96765ccc35b031d0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show TCP connections involving monitor.internal." }, { "role": "assistant", "content": "netstat -tn | grep monitor.internal" } ]
single
netstat
ef6b378075ce6ade
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fold lines in a fixed width." }, { "role": "assistant", "content": "fold 20 100 index.tmp" } ]
single
fold
1e86c8f58cace9b2
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give the [u]ser rights to [r]ead and [w]rite to a file/directory." }, { "role": "assistant", "content": "chmod u+rw tmp" } ]
single
chmod
de72acbf5fc343d0
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the first 100 lines of server.log." }, { "role": "assistant", "content": "head -n 100 server.log" } ]
single
head
dc91f1888c3b337c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the first 100 lines of server.log." }, { "role": "assistant", "content": "head --lines 100 server.log" } ]
single
head
dc91f1888c3b337c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the first 100 lines of server.log." }, { "role": "assistant", "content": "head -100 server.log" } ]
single
head
dc91f1888c3b337c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Connect to a remote server specifying a port number." }, { "role": "assistant", "content": "redis-cli -h cdn.internal -p 25565" } ]
single
redis-cli
fe21df144f659cf6
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from catalog.md." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' catalog.md | sort -u" } ]
pipeline
sed
a48e149cb67a84d3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show TCP connections involving app01.example.com." }, { "role": "assistant", "content": "netstat -tn | grep app01.example.com" } ]
single
netstat
37fd7c6c81aea326
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print ec2-user's process hierarchy including PIDs." }, { "role": "assistant", "content": "pstree -p ec2-user" } ]
single
pstree
1875a696e81875d3
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find directories named reports anywhere under releases." }, { "role": "assistant", "content": "find releases -type d -name 'reports'" } ]
single
find
4ba9a52c9cbd3969
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find directories named reports anywhere under releases." }, { "role": "assistant", "content": "find releases -name 'reports' -type d" } ]
single
find
4ba9a52c9cbd3969
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a retry wrapper around curl to https://auth.internal/health: 6 attempts, 1s apart." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipef...
script
curl
97f132ff88212dd2
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Connect to a remote server on the default port (6379)." }, { "role": "assistant", "content": "redis-cli -h app01.example.com" } ]
single
redis-cli
ba40013661259741
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show me how to count 'segfault' occurrences in the mongod journal today." }, { "role": "assistant", "content": "journalctl -u mongod --since toda...
pipeline
journalctl
c510937c1a96533a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to count 'segfault' occurrences in the mongod journal today." }, { "role": "assistant", "content": "journalctl --unit mongod --since today --no-pager | grep -c 'segfault'" } ]
pipeline
journalctl
c510937c1a96533a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need to follow the postgresql journal but only show lines mentioning '500'." }, { "role": "assistant", "content": "journalctl -u postgresql -f ...
pipeline
journalctl
19cbb8f192f4eca4
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need to follow the postgresql journal but only show lines mentioning '500'." }, { "role": "assistant", "content": "journalctl --unit postgresql -f | grep --line-buffered -i '500'" } ]
pipeline
journalctl
19cbb8f192f4eca4
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Loop through the .md files in /srv/data and makes a .bak copy of each file — write it as a proper script." }, { "role": "assistant", "content": "...
script
cp
b96f04579329e70f
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "[c]reate a g[z]ipped (compressed) archive from a directory using relative paths." }, { "role": "assistant", "content": "tar czf test.bak vendor b...
single
tar
e7259c3b220432d3
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show all TCP sockets along with processes connected to a remote SSH port." }, { "role": "assistant", "content": "ss memcached dst :ssh" } ]
single
ss
d8632d592da9987f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List just the filenames under vendor that contain 'failed'." }, { "role": "assistant", "content": "grep -rl 'failed' vendor" } ]
single
grep
8255818c6daf8a65
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List just the filenames under vendor that contain 'failed'." }, { "role": "assistant", "content": "grep -lr 'failed' vendor" } ]
single
grep
8255818c6daf8a65
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List just the filenames under vendor that contain 'failed'." }, { "role": "assistant", "content": "grep -r -l 'failed' vendor" } ]
single
grep
8255818c6daf8a65
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show lines in worker.log that do NOT contain '500'." }, { "role": "assistant", "content": "grep -v '500' worker.log" } ]
single
grep
22f0c6b75ed32a02
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show lines in worker.log that do NOT contain '500'." }, { "role": "assistant", "content": "grep --invert-match '500' worker.log" } ]
single
grep
22f0c6b75ed32a02
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "POST a JSON body to https://monitor.internal/api/users" }, { "role": "assistant", "content": "curl -X POST -H 'Content-Type: application/json' -d...
single
curl
19e01fb5b131af74
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "POST a JSON body to https://monitor.internal/api/users" }, { "role": "assistant", "content": "curl --request POST -H 'Content-Type: application/json' ...
single
curl
19e01fb5b131af74
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the subtree of processes under PID 8445." }, { "role": "assistant", "content": "pstree -p 8445" } ]
single
pstree
f2be56b231eb7c38
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Pretty print the contents of one or more files to `stdout`." }, { "role": "assistant", "content": "bat catalog.yaml" } ]
single
bat
85bbdced167e041d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run 'ffmpeg -i in.mp4 out.mp4' at higher priority (nice -10); needs root." }, { "role": "assistant", "content": "sudo nice -n -10 ffmpeg -i in.m...
single
nice
5f5063025123ba47
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Help me count how many postgres processes are running." }, { "role": "assistant", "content": "pgrep -c postgres" } ]
pipeline
pgrep
23ea153746309934
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Help me count how many postgres processes are running." }, { "role": "assistant", "content": "pgrep --count postgres" } ]
pipeline
pgrep
23ea153746309934
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find files by extension." }, { "role": "assistant", "content": "find public -name 'metrics.yaml'" } ]
single
find
9f92ab77668f9ea4
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a script that watches images and prints a message whenever the file count changes." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefa...
script
while
563102f571721489
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from access.tsv." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' access.tsv ...
pipeline
sed
bf6e3158df366984
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from access.tsv." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' access.tsv | sort -u" } ]
pipeline
sed
bf6e3158df366984
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the email addresses from access.tsv." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' access.tsv...
pipeline
sed
bf6e3158df366984
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Send a `SIGUSR1` signal to all processes with the given GID (group id)." }, { "role": "assistant", "content": "kill -SIGUSR1 -staff" } ]
single
kill
b5193e000677ff3d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Calculate the MD5 checksum for one or more files." }, { "role": "assistant", "content": "md5sum results.py" } ]
single
md5sum
3e9f3b2009d03d0c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many lines in nginx-error.log mention '403'?" }, { "role": "assistant", "content": "grep -c '403' nginx-error.log | cat" } ]
pipeline
grep
136468430d74e400
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many lines in nginx-error.log mention '403'?" }, { "role": "assistant", "content": "grep --count '403' nginx-error.log | cat" } ]
pipeline
grep
136468430d74e400
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Format output using printf-like format string." }, { "role": "assistant", "content": "hexdump -e 'response.old' output.sh" } ]
single
hexdump
aaa174881b27d2d2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sample iostat 5 times at 1-second intervals." }, { "role": "assistant", "content": "iostat 1 5" } ]
single
iostat
ab5d906ee2668fe9
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many lines in worker.log match 'WARNING'." }, { "role": "assistant", "content": "grep -c 'WARNING' worker.log" } ]
single
grep
6fe070c82fe0af95