messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need to tally how many times each log level appears in output.log." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' output.log | sort | uniq -c | sort -nr" } ]
pipeline
grep
181fe7671580f076
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need to tally how many times each log level appears in output.log." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' output.log | sort |...
pipeline
grep
181fe7671580f076
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract backup.tar.gz into the static folder" }, { "role": "assistant", "content": "tar -xzf backup.tar.gz -C static" } ]
single
tar
0377ef887aace135
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract backup.tar.gz into the static folder" }, { "role": "assistant", "content": "tar xzf backup.tar.gz -C static" } ]
single
tar
0377ef887aace135
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract backup.tar.gz into the static folder" }, { "role": "assistant", "content": "tar -zxf backup.tar.gz -C static" } ]
single
tar
0377ef887aace135
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Send an HTTP GET request." }, { "role": "assistant", "content": "echo -e \"GET / HTTP/1.1\\nHost: backup.example.com\\n\\n\" | nc db01.local 80" ...
pipeline
echo
f295a217ae55dbdb
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 2489 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 2489" } ]
single
renice
4340e30cd39cdedd
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "which directories under project are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 project | sort -rh" } ]
pipeline
du
fa419bdd43b18050
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under project are eating the most space?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 project | so...
pipeline
du
fa419bdd43b18050
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Output in machine readable format." }, { "role": "assistant", "content": "openssl speed -mr" } ]
single
openssl
c386a40645555f04
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "visualize the child processes of elasticsearch as a tree" }, { "role": "assistant", "content": "pstree -p $(pgrep -o elasticsearch)" } ]
single
pstree
39979a3bc74c5baf
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Probe a list of domains from a text file." }, { "role": "assistant", "content": "cat backup.jpg | httprobe" } ]
pipeline
cat
4980b586bfad54c7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Dump the vmstat table of memory and event counters." }, { "role": "assistant", "content": "vmstat -s" } ]
single
vmstat
6d3db2aa904cc392
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Join a file from `stdin`." }, { "role": "assistant", "content": "cat dump.conf | join - backup.jpg" } ]
pipeline
cat
d3fa19c1cfc32ffb
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the biggest files under /srv/www." }, { "role": "assistant", "content": "du -ah /srv/www | sort -rh | head -n 20" } ]
pipeline
du
6451ff5e0eb50fdf
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the biggest files under /srv/www." }, { "role": "assistant", "content": "du -ha /srv/www | sort -rh | head -n 20" } ]
pipeline
du
6451ff5e0eb50fdf
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the biggest files under /srv/www." }, { "role": "assistant", "content": "du -a -h /srv/www | sort -rh | head -n 20" } ]
pipeline
du
6451ff5e0eb50fdf
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a health-check loop over targets.txt that curls the /health endpoint and prints the status of each." }, { "role": "assistant", "content": "#!/us...
script
curl
897cc066a27be398
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "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": ...
single
tar
a0accbb29e9d5674
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "show ssh logs from the last 5 days" }, { "role": "assistant", "content": "journalctl -u ssh --since '5 days ago'" } ]
single
journalctl
09eeb70c0dac94f9
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "show ssh logs from the last 5 days" }, { "role": "assistant", "content": "journalctl --unit ssh --since '5 days ago'" } ]
single
journalctl
09eeb70c0dac94f9
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Play the mp3 from `stdin`." }, { "role": "assistant", "content": "cat product.png | mpg123 -" } ]
pipeline
cat
16339621929486e3
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Bump process 6839 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 6839" } ]
single
renice
ed65936d52fe4d90
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the children of process 8055." }, { "role": "assistant", "content": "pstree -p 8055" } ]
single
pstree
ff0ecc06924e091e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the biggest files under migrations." }, { "role": "assistant", "content": "du -ah migrations | sort -rh | head -n 20" } ]
pipeline
du
bb0fc92fe54a300e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the biggest files under migrations." }, { "role": "assistant", "content": "du -ha migrations | sort -rh | head -n 20" } ]
pipeline
du
bb0fc92fe54a300e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the biggest files under migrations." }, { "role": "assistant", "content": "du -a -h migrations | sort -rh | head -n 20" } ]
pipeline
du
bb0fc92fe54a300e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Sample free 10 times at 1-second intervals in megabytes." }, { "role": "assistant", "content": "free -m -s 1 -c 10" } ]
single
free
989a12e44c41ebab
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sample free 10 times at 1-second intervals in megabytes." }, { "role": "assistant", "content": "free --mega -s 1 -c 10" } ]
single
free
989a12e44c41ebab
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What TCP ports are being listened on, and by what?" }, { "role": "assistant", "content": "ss -tlnp" } ]
single
ss
a3363662f21af590
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the 10 largest subdirectories of docs." }, { "role": "assistant", "content": "du -h docs/* 2>/dev/null | sort -rh | head -n 10" } ]
pipeline
du
b714b2049d600ba4
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the 10 largest subdirectories of docs." }, { "role": "assistant", "content": "du --human-readable docs/* 2>/dev/null | sort -rh | head -n 10...
pipeline
du
b714b2049d600ba4
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Generate 20 random bytes encoded in base64." }, { "role": "assistant", "content": "openssl rand -base64 20" } ]
single
openssl
fda58d547e26c5ab
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What are the disk usage of data broken down one level deep?" }, { "role": "assistant", "content": "du -h --max-depth=1 data 2>/dev/null | sort -...
pipeline
du
be3f40b2f4133bc0
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "What are the disk usage of data broken down one level deep?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 data 2>/dev/...
pipeline
du
be3f40b2f4133bc0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show memory usage in human-readable units." }, { "role": "assistant", "content": "free -h" } ]
single
free
b3b163aa19bf12d2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Format `stdin` as multiple columns with a maximum width of `100`." }, { "role": "assistant", "content": "ls | git column --mode=column --width=100" } ]
pipeline
ls
3254ace0b9d22b18
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Calculate an expression with the specified scale." }, { "role": "assistant", "content": "echo 'scale = 10; access.json' | bc" } ]
pipeline
echo
98ed5f8aa241fffc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Use vmstat's wide output, 5s apart, 10 times." }, { "role": "assistant", "content": "vmstat -w 5 10" } ]
single
vmstat
574ed8301223e6fd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Format the output of a command for a 30 characters wide display." }, { "role": "assistant", "content": "printf \"header1 header2\\nbar foo\\n\" | colu...
pipeline
printf
23d05a8b0ec16fa3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract backup.tar.gz into the public folder" }, { "role": "assistant", "content": "tar -xzf backup.tar.gz -C public" } ]
single
tar
32af4a4a910c90e8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "extract backup.tar.gz into the public folder" }, { "role": "assistant", "content": "tar xzf backup.tar.gz -C public" } ]
single
tar
32af4a4a910c90e8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "extract backup.tar.gz into the public folder" }, { "role": "assistant", "content": "tar -zxf backup.tar.gz -C public" } ]
single
tar
32af4a4a910c90e8
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Merge the authorization entries from a specific file into the authorization database." }, { "role": "assistant", "content": "cat results.md | xauth merge -" } ]
pipeline
cat
e2890abb6de06cb8
[ { "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 carol" }, { "role": "assistant", "content": "renice -n 15 -u carol" } ]
single
renice
702adbed5cd5dbd7
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show open files for the sshd process." }, { "role": "assistant", "content": "lsof -c sshd" } ]
single
lsof
5fd90e10ecef50ef
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Recursively search for a pattern in a file or directory." }, { "role": "assistant", "content": "rg rejected uploads" } ]
single
rg
fe1dcc7cafb83526
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the full 'vmstat -s' statistics." }, { "role": "assistant", "content": "vmstat -s" } ]
single
vmstat
cc63e423c412717f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "What domain is this host in?" }, { "role": "assistant", "content": "hostname -d" } ]
single
hostname
58ba5ff9c616de6c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run iostat every 3s for 10 reports." }, { "role": "assistant", "content": "iostat 3 10" } ]
single
iostat
f05fecdf85af355c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Report paging statistics, one per 5 seconds." }, { "role": "assistant", "content": "sar -B 5" } ]
single
sar
fad0876a845ccfde
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Recursively make everything in backup readable and writable by the owner only." }, { "role": "assistant", "content": "chmod -R 600 backup" } ]
single
chmod
e67a9383f4bdb519
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Recursively make everything in backup readable and writable by the owner only." }, { "role": "assistant", "content": "chmod --recursive 600 back...
single
chmod
e67a9383f4bdb519
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List listening TCP sockets with the owning process." }, { "role": "assistant", "content": "ss -tlnp" } ]
single
ss
04ccd8cdf8838f23
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me the 20 largest subdirectories of uploads." }, { "role": "assistant", "content": "du -h uploads/* 2>/dev/null | sort -rh | head -n 20" ...
pipeline
du
af80a0f1ff1e8ef5
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me the 20 largest subdirectories of uploads." }, { "role": "assistant", "content": "du --human-readable uploads/* 2>/dev/null | sort -rh | ...
pipeline
du
af80a0f1ff1e8ef5
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I want reusable log() and die() shell functions with timestamps; die should exit 1." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
function
82fc4224a6336f7a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the subtree of processes under PID 4484." }, { "role": "assistant", "content": "pstree -p 4484" } ]
single
pstree
b722832899a60733
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print different values based on conditions." }, { "role": "assistant", "content": "awk '{if ($1 == \"foo\") print \"Exact match foo\"; else if ($1 ~ \"bar\") print ...
pipeline
awk
2f6edebc95c93a1b
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display each line once." }, { "role": "assistant", "content": "sort metrics.json | uniq" } ]
pipeline
sort
e23ff6ff0c9f9543
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Start 'ffmpeg -i in.mp4 out.mp4' with nice value 5 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 5 ffmpeg -i in.mp4 ...
single
nice
afc2ebed1e4d099d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Perform a reverse DNS lookup." }, { "role": "assistant", "content": "getent hosts api.example.org" } ]
single
getent
c46549227d221ed5
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List active (established) sessions on port 9090." }, { "role": "assistant", "content": "lsof -i :9090 -sTCP:ESTABLISHED" } ]
single
lsof
095d8f3b2a0ac5a3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find any socket using port 11211 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :11211" } ]
single
netstat
a19de4547a1541c3
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the parent chain leading to PID 5262." }, { "role": "assistant", "content": "pstree -s 5262" } ]
single
pstree
f47fbbda73bb5f91
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Query your system's default name server for an IP address (A record) of the domain." }, { "role": "assistant", "content": "nslookup request.sql" ...
single
nslookup
b3f40bc7c432d71b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch JSON from https://proxy.service.io/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://proxy.serv...
pipeline
curl
19d458bfa48f0cb6
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fetch JSON from https://proxy.service.io/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://proxy.ser...
pipeline
curl
19d458bfa48f0cb6
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Monitor the sda device and its partitions with iostat every 10 seconds." }, { "role": "assistant", "content": "iostat -p sda 10" } ]
single
iostat
95d02f89b843730e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Wide-format vmstat every 2s, 5 samples." }, { "role": "assistant", "content": "vmstat -w 2 5" } ]
single
vmstat
fde3c2ac723a3c3e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "send a GET request to https://db01.example.com/api and show the response headers" }, { "role": "assistant", "content": "curl -I https://db01.example.com/api" } ]
single
curl
3d695657a2217220
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "send a GET request to https://db01.example.com/api and show the response headers" }, { "role": "assistant", "content": "curl --head https://db01....
single
curl
3d695657a2217220
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show just disk stats with iostat every 3s." }, { "role": "assistant", "content": "iostat -d 3" } ]
single
iostat
2b065ea740421225
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "which directories under data are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 data | sort -rh" } ]
pipeline
du
af008de5d8dfce4a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "which directories under data are eating the most space?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 data | sort -rh" } ]
pipeline
du
af008de5d8dfce4a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Report iostat throughput in megabytes, 10s interval, 20 rounds." }, { "role": "assistant", "content": "iostat -m 10 20" } ]
single
iostat
7514d009a523d695
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "display network interface statistics" }, { "role": "assistant", "content": "netstat -i" } ]
single
netstat
0abf7a7188d753b2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count error lines in the rabbitmq journal since yesterday." }, { "role": "assistant", "content": "journalctl -u rabbitmq --since yesterday | grep -ic error" } ]
pipeline
journalctl
21792dc4fb3caba8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count error lines in the rabbitmq journal since yesterday." }, { "role": "assistant", "content": "journalctl --unit rabbitmq --since yesterday | grep ...
pipeline
journalctl
21792dc4fb3caba8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "For each .py file under /opt/app, record a sha256 checksum in a manifest file." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
for
8681dadc3bb1446f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write `stdin` to a file." }, { "role": "assistant", "content": "cat - > payment.bak" } ]
single
cat
bc93ce340c0dadd6
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "count how many files are inside backup.tar.gz" }, { "role": "assistant", "content": "tar -tzf backup.tar.gz | wc -l" } ]
pipeline
tar
e8eb4dfae7024480
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "count how many files are inside backup.tar.gz" }, { "role": "assistant", "content": "tar tzf backup.tar.gz | wc -l" } ]
pipeline
tar
e8eb4dfae7024480
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "count how many files are inside backup.tar.gz" }, { "role": "assistant", "content": "tar -ztf backup.tar.gz | wc -l" } ]
pipeline
tar
e8eb4dfae7024480
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read from `stdin`." }, { "role": "assistant", "content": "cat output.pdf | yamllint -" } ]
pipeline
cat
2975ed1dbbfa624f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show TCP connections involving db02.example.com." }, { "role": "assistant", "content": "netstat -tn | grep db02.example.com" } ]
single
netstat
98aaf3c31e983637
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "copy the whole artifacts folder to artifacts_copy recursively" }, { "role": "assistant", "content": "cp -r artifacts artifacts_copy" } ]
single
cp
7e186e7973a93833
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "copy the whole artifacts folder to artifacts_copy recursively" }, { "role": "assistant", "content": "cp --recursive artifacts artifacts_copy" } ]
single
cp
7e186e7973a93833
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show kernel messages from the kern facility." }, { "role": "assistant", "content": "dmesg -f kern" } ]
single
dmesg
844b2d1c2a8804e7
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Can you write a script that runs optipng on every .pdf file in /var/www, 2 jobs in parallel?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/var/www\nfind \"$d...
script
xargs
ae303118b665c0b0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Print gateway.log starting from line 100 to the end." }, { "role": "assistant", "content": "tail -n +100 gateway.log" } ]
single
tail
3d098efacae12d9d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print gateway.log starting from line 100 to the end." }, { "role": "assistant", "content": "tail --lines +100 gateway.log" } ]
single
tail
3d098efacae12d9d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "list the distinct error messages in build.log" }, { "role": "assistant", "content": "grep -i error build.log | sort -u" } ]
pipeline
grep
b2058bbc4928990c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list the distinct error messages in build.log" }, { "role": "assistant", "content": "grep --ignore-case error build.log | sort -u" } ]
pipeline
grep
b2058bbc4928990c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "From response.md, count the lines." }, { "role": "assistant", "content": "cat response.md | wc -l" } ]
pipeline
wc
c60a9bfcef7f5130
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "From response.md, count the lines." }, { "role": "assistant", "content": "wc -l < response.md" } ]
pipeline
wc
c60a9bfcef7f5130
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Help me count how many chrome processes are running." }, { "role": "assistant", "content": "pgrep -c chrome" } ]
pipeline
pgrep
e4ee02a78e84f174
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Help me count how many chrome processes are running." }, { "role": "assistant", "content": "pgrep --count chrome" } ]
pipeline
pgrep
e4ee02a78e84f174
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How many connections are there to port 9000?" }, { "role": "assistant", "content": "ss -tn | grep ':9000' | wc -l" } ]
pipeline
ss
b6796e556127ab6b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Create a symbolic link named latest.log pointing to debug.tar.gz." }, { "role": "assistant", "content": "ln -s debug.tar.gz latest.log" } ]
single
ln
e11563d7998943ce