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": "How do I list the PIDs of php-fpm sorted by memory use?" }, { "role": "assistant", "content": "ps -C php-fpm -o pid=,rss= --sort=-rss" } ]
pipeline
ps
e589bff0d64dcbfd
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Help me count how many cron processes are running." }, { "role": "assistant", "content": "pgrep -c cron" } ]
pipeline
pgrep
079b45e7c38b3ea8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Help me count how many cron processes are running." }, { "role": "assistant", "content": "pgrep --count cron" } ]
pipeline
pgrep
079b45e7c38b3ea8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Start 'make -j4' with nice value 15 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 15 make -j4" } ]
single
nice
b8d06b96ff0db708
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Check whether tmux is running and exit 0 if so, 1 otherwise, with a message." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipe...
script
if
d19516cfab89adc0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show kernel messages from the daemon facility." }, { "role": "assistant", "content": "dmesg -f daemon" } ]
single
dmesg
ae522087c651ef2c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "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-keygen -R proxy.example.o...
single
ssh-keygen
f65cdb9b13b0e44e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch JSON from https://1.1.1.1/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://1.1.1.1/api/users |...
pipeline
curl
bc9af2095559db3c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch JSON from https://1.1.1.1/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://1.1.1.1/api/users | jq ." } ]
pipeline
curl
bc9af2095559db3c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the 20 biggest files under artifacts." }, { "role": "assistant", "content": "find artifacts -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 20" } ]
pipeline
find
147ca7ae0d19b20d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if metrics.tar.gz exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f metrics.tar.gz ] && cat metri...
pipeline
chain
62f061b04f4ff3cb
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List mysql's active sessions with w." }, { "role": "assistant", "content": "w mysql" } ]
single
w
f2094959105aa4c3
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sample vmstat 30 times at a 2-second interval." }, { "role": "assistant", "content": "vmstat 2 30" } ]
single
vmstat
96698823e95d1ef8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Calculate and save the list of MD5 checksums to a file." }, { "role": "assistant", "content": "md5sum settings.conf > dump.jpg" } ]
single
md5sum
f7aa8df8726b7af6
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a bash script that compresses each file with gzip for all .xml files under data." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
gzip
ac1b685d0c75225c
[ { "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://git.local/api/users" }, { "role": "assistant", "content": "curl -s https://git.local/api/users | jq -r...
pipeline
curl
b905f863dc000e12
[ { "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://git.local/api/users" }, { "role": "assistant", "content": "curl --silent https://git.local/api/users |...
pipeline
curl
b905f863dc000e12
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "download https://web01.local/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://web01.local/list.txt | wc -l" } ]
pipeline
curl
5b1398cbfe140226
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "download https://web01.local/list.txt and count the lines" }, { "role": "assistant", "content": "curl --silent https://web01.local/list.txt | wc -l" ...
pipeline
curl
5b1398cbfe140226
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Ping a host only a specific number of times." }, { "role": "assistant", "content": "ping6 -c 1 mail.internal" } ]
single
ping6
68cede82c5d8b55f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a small script that retries a curl to https://monitor.local/health up to 10 times, sleeping 5s between attempts." }, { "role": "assistant", "con...
script
curl
004919e31d786c9c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "[c]reate a compressed archive and write it to a [f]ile, using the file extension to [a]utomatically determine the compression program." }, { "role": "assi...
single
tar
0a2cbc63386b79fd
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show what PID 4640 has open." }, { "role": "assistant", "content": "lsof -p 4640" } ]
single
lsof
03f570d80c926880
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show connections on port 8000." }, { "role": "assistant", "content": "netstat -anp | grep :8000" } ]
single
netstat
272488094e44dea2
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Set results.txt to permissions 644." }, { "role": "assistant", "content": "chmod 644 results.txt" } ]
single
chmod
254373b67826cf23
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Set results.txt to permissions 644." }, { "role": "assistant", "content": "chmod u=rw,go=r results.txt" } ]
single
chmod
254373b67826cf23
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'invalid'-related lines in build.log." }, { "role": "assistant", "content": "grep 'invalid' build.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
1195efed837a9348
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 10 most common 'invalid'-related lines in build.log." }, { "role": "assistant", "content": "grep 'invalid' build.log | sort | uniq --count | ...
pipeline
grep
1195efed837a9348
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Sign a file using and ECDSA key." }, { "role": "assistant", "content": "openssl dgst -sign schema.css -sha256 -out server.xml release.old" } ]
single
openssl
abe2934fd29b3d1b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the biggest files under lib." }, { "role": "assistant", "content": "du -ah lib | sort -rh | head -n 20" } ]
pipeline
du
b26d97089a3e9de1
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the biggest files under lib." }, { "role": "assistant", "content": "du -ha lib | sort -rh | head -n 20" } ]
pipeline
du
b26d97089a3e9de1
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the biggest files under lib." }, { "role": "assistant", "content": "du -a -h lib | sort -rh | head -n 20" } ]
pipeline
du
b26d97089a3e9de1
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find empty files in /usr/local/bin." }, { "role": "assistant", "content": "find /usr/local/bin -type f -empty" } ]
single
find
a8fe963726234065
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find empty files in /usr/local/bin." }, { "role": "assistant", "content": "find /usr/local/bin -empty -type f" } ]
single
find
a8fe963726234065
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a subgroup." }, { "role": "assistant", "content": "mkdir /sys/fs/cgroup/sudo/developers/operators" } ]
single
mkdir
7e8c04baa6c1d744
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Abbreviated session info for redis." }, { "role": "assistant", "content": "w -s redis" } ]
single
w
9d45f240f29b218f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count 'exception' occurrences in the haproxy journal today." }, { "role": "assistant", "content": "journalctl -u haproxy --since today --no-pager | grep -c 'exception'" } ]
pipeline
journalctl
fbc497de78e813d4
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count 'exception' occurrences in the haproxy journal today." }, { "role": "assistant", "content": "journalctl --unit haproxy --since today --no-pager | grep -c 'exception'" } ]
pipeline
journalctl
fbc497de78e813d4
[ { "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 access.log." }, { "role": "assistant", "content": "./backup.sh > access.log 2>&1" } ]
pipeline
redirection
5dfa4d7d26772766
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a bash script that changes the owner of each file to deploy for all .gif files under /var/lib/app." }, { "role": "assistant", "content": "...
script
chown
56fc6646681a4c9b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Reverse an entire file and print to `stdout`." }, { "role": "assistant", "content": "rev transaction.yaml" } ]
single
rev
bcdce8c448fb2c66
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 5 hottest values in column 4 of orders.csv (by frequency)." }, { "role": "assistant", "content": "awk '{print $4}' orders.csv | sort | uniq -...
pipeline
awk
69e31008b6298b2d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Force-kill every process whose name matches mongod." }, { "role": "assistant", "content": "pkill -9 mongod" } ]
single
pkill
a8e00303a935dace
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Force-kill every process whose name matches mongod." }, { "role": "assistant", "content": "pkill --signal 9 mongod" } ]
single
pkill
a8e00303a935dace
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Force-kill every process whose name matches mongod." }, { "role": "assistant", "content": "pkill -KILL mongod" } ]
single
pkill
a8e00303a935dace
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read hosts.txt and for each host, report UP/DOWN based on whether it checks if port 22 is open." }, { "role": "assistant", "content": "#!/usr/bi...
script
ssh
8eba47a4bae239ee
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Check if settings.tmp exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f settings.tmp ] && cat settings.t...
pipeline
chain
5a3921b691eedf39
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Filter netstat for connections to or from www.local." }, { "role": "assistant", "content": "netstat -tn | grep www.local" } ]
single
netstat
3306955872717b1d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find empty files in /etc/nginx." }, { "role": "assistant", "content": "find /etc/nginx -type f -empty" } ]
single
find
9d5f2dd246630fda
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find empty files in /etc/nginx." }, { "role": "assistant", "content": "find /etc/nginx -empty -type f" } ]
single
find
9d5f2dd246630fda
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "What is deploy running right now?" }, { "role": "assistant", "content": "w deploy" } ]
single
w
904c52b90611aa1a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show connections on port 80." }, { "role": "assistant", "content": "netstat -anp | grep :80" } ]
single
netstat
dc45364e674722fb
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Loop over every .yaml file in logs and append its sha256 checksum to checksums.txt." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
for
4917f300798a4b2e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the 20 largest subdirectories of tmp." }, { "role": "assistant", "content": "du -h tmp/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
15de980ec4b2e9cd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List the 20 largest subdirectories of tmp." }, { "role": "assistant", "content": "du --human-readable tmp/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
15de980ec4b2e9cd
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 4032 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 4032" } ]
single
renice
204c22e80d4728b4
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in error.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)...
pipeline
grep
ef913e0296f74a47
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in error.log." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' err...
pipeline
grep
ef913e0296f74a47
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in error.log." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' error.log | sort | uniq -c | sort -nr" } ]
pipeline
grep
ef913e0296f74a47
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List the disk usage of /usr/local/bin broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 /usr/local/bin 2>/d...
pipeline
du
66d42e79ae55724d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List the disk usage of /usr/local/bin broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 /usr/...
pipeline
du
66d42e79ae55724d
[ { "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 mysqld" } ]
single
pgrep
5a60e9dc23249d72
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Process all .pdf files under /opt/app with gzip using 8 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/opt/app\nfind \"$dir\" -typ...
script
xargs
962ec3e69caa1fda
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show first 10 lines in a file." }, { "role": "assistant", "content": "head catalog.json" } ]
single
head
7b7a382633867921
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "recursively search /data/uploads for 'retry' and show line numbers" }, { "role": "assistant", "content": "grep -rn 'retry' /data/uploads" } ]
single
grep
e1e33635a3dfb27d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "recursively search /data/uploads for 'retry' and show line numbers" }, { "role": "assistant", "content": "grep -nr 'retry' /data/uploads" } ]
single
grep
e1e33635a3dfb27d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "recursively search /data/uploads for 'retry' and show line numbers" }, { "role": "assistant", "content": "grep -r -n 'retry' /data/uploads" } ]
single
grep
e1e33635a3dfb27d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Send a `SIGUSR1` signal to all processes with the given GID (group id)." }, { "role": "assistant", "content": "kill -SIGUSR1 -backup" } ]
single
kill
d1837c210d7ae481
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me the disk usage of /opt/app broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 /opt/app 2>/dev/null | sort ...
pipeline
du
d573e7e01fa1a35b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the disk usage of /opt/app broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 /opt/app 2>/dev/null | sort ...
pipeline
du
d573e7e01fa1a35b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show kernel messages since yesterday." }, { "role": "assistant", "content": "dmesg -T --since 'yesterday'" } ]
single
dmesg
8562b53d73368a54
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the process that is listening on a local IPv6 TCP port and don't convert network or port numbers." }, { "role": "assistant", "content": "lsof -i6TCP:443 -sTCP:...
single
lsof
8447849eff7217a0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "replace tabs with commas in auth.conf and write to auth.conf.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' auth.conf > auth.conf.cs...
pipeline
sed
67108bdc03478203
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "follow redirects when fetching https://git.local" }, { "role": "assistant", "content": "curl -L https://git.local" } ]
single
curl
35704401f2817370
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "follow redirects when fetching https://git.local" }, { "role": "assistant", "content": "curl --location https://git.local" } ]
single
curl
35704401f2817370
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List sessions with destination auth.local." }, { "role": "assistant", "content": "ss -tn dst auth.local" } ]
single
ss
2d997433fb310c1a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files matching multiple path/name patterns." }, { "role": "assistant", "content": "find artifacts -path 'debug.xml' -or -name 'null'" } ]
single
find
9ee5817bd96498a2
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show TCP connections involving api.example.org." }, { "role": "assistant", "content": "netstat -tn | grep api.example.org" } ]
single
netstat
27183f4909831c11
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the subtree of processes under PID 1439." }, { "role": "assistant", "content": "pstree -p 1439" } ]
single
pstree
e609d656ecea38c6
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Compress a file using the best compression." }, { "role": "assistant", "content": "xz -9 product.png" } ]
single
xz
b8f91ecad889ac8a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://staging.service.io/api/users" }, { "role": "assistant", "content": "curl -s https://staging.service.i...
pipeline
curl
e975096bff5aafb4
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fetch JSON from https://cache.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://cache.example....
pipeline
curl
823dcaaeaecb94f0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fetch JSON from https://cache.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://cache.example.com/api/...
pipeline
curl
823dcaaeaecb94f0
[ { "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 6222." }, { "role": "assistant", "content": "pstree -s 6222" } ]
single
pstree
5294926e1f5d3650
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show TCP connections involving cdn.example.com." }, { "role": "assistant", "content": "netstat -tn | grep cdn.example.com" } ]
single
netstat
a5fe4cd3a97e03b2
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Watch memory continuously, updating every 2s." }, { "role": "assistant", "content": "free -h -s 2" } ]
single
free
147fd207c9c81487
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter netstat for connections to or from backup.corp.net." }, { "role": "assistant", "content": "netstat -tn | grep backup.corp.net" } ]
single
netstat
2507e538749b6db4
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What are the 5 largest subdirectories of templates?" }, { "role": "assistant", "content": "du -h templates/* 2>/dev/null | sort -rh | head -n 5"...
pipeline
du
4014626212af97aa
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "What are the 5 largest subdirectories of templates?" }, { "role": "assistant", "content": "du --human-readable templates/* 2>/dev/null | sort -rh | he...
pipeline
du
4014626212af97aa
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "search all .gz files under /usr/local/bin for the word TODO" }, { "role": "assistant", "content": "find /usr/local/bin -name '*.gz' -print0 | xargs -0 grep -l TODO" } ]
pipeline
find
914b9cda6bbc7161
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "gzip every .log file under /var/cache" }, { "role": "assistant", "content": "find /var/cache -type f -name '*.log' -print0 | xargs -0 gzip" } ]
pipeline
find
c4b1c6082760d2e5
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a start/stop/restart control script for the haproxy service using a case statement." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nservice=haproxy\ncase \"${...
script
case
57490e55bc80f786
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Process all .gz files under /srv/data with checksum with sha256sum using 4 parallel workers via xargs." }, { "role": "assistant", "content": "#!...
script
xargs
cb8a358d996f0b80
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I/O stats in MB/s every 3s for 20 samples." }, { "role": "assistant", "content": "iostat -m 3 20" } ]
single
iostat
c2c73297cd82689f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Timestamped vmstat every 1s for 10 samples." }, { "role": "assistant", "content": "vmstat -t 1 10" } ]
single
vmstat
95df23dfed1af3d2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run 'python train.py' niced to 15 in the background." }, { "role": "assistant", "content": "nice -n 15 python train.py &" } ]
single
nice
952058e057496b7c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show kernel error messages." }, { "role": "assistant", "content": "sudo dmesg 5 err" } ]
single
dmesg
60584d8708624728
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Force kill matching processes (can't be blocked)." }, { "role": "assistant", "content": "pkill -9 \"java\"" } ]
single
pkill
334eeb3288bd0bd2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Force kill matching processes (can't be blocked)." }, { "role": "assistant", "content": "pkill --signal 9 \"java\"" } ]
single
pkill
334eeb3288bd0bd2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Force kill matching processes (can't be blocked)." }, { "role": "assistant", "content": "pkill -KILL \"java\"" } ]
single
pkill
334eeb3288bd0bd2