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": "Start 'find / -name '*.core'' with nice value 10 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 10 find / -name '*.core'" } ]
single
nice
610c8af0c1735496
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display the ancestors of process 8731 as a tree." }, { "role": "assistant", "content": "pstree -s 8731" } ]
single
pstree
999b162fe71a6508
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Number only the [b]ody lines that match a basic `regex` (BRE) [p]attern." }, { "role": "assistant", "content": "nl -b p'FooBar[0-9]' request.js" } ]
single
nl
1ef76c25dc059fa1
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter netstat for connections to or from proxy.service.io." }, { "role": "assistant", "content": "netstat -tn | grep proxy.service.io" } ]
single
netstat
875e258903f05b67
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display the filesystem containing the specified file or directory." }, { "role": "assistant", "content": "df data" } ]
single
df
39229edea9095e2e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the listener on port 5672." }, { "role": "assistant", "content": "ss -tlnp sport = :5672" } ]
single
ss
b895379dd3ee5b48
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a small script that checks whether tmux is running and starts it if not." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pi...
script
if
390d74646ce07dec
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List postgres's activity, headerless." }, { "role": "assistant", "content": "w -h postgres" } ]
single
w
73ba3fae2dcf0939
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I want to count connections grouped by their TCP state." }, { "role": "assistant", "content": "ss -tan | awk 'NR>1 {print $1}' | sort | uniq -c | sort -nr" } ]
pipeline
ss
04be2772607fd022
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Create a timestamp response for request using key and signing certificate and output it to `file.tsr`." }, { "role": "assistant", "content": "openssl ts -reply -que...
single
openssl
554c91f7d0476c26
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which mysql log lines mention 'failed'?" }, { "role": "assistant", "content": "journalctl -u mysql --no-pager | grep -i failed" } ]
pipeline
journalctl
9b65e88527119316
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Archive images and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - images | ssh erin@192.168.1.10 '...
pipeline
tar
5093b1a59ec512c0
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Retry curl to https://cache.internal/health at most 5 times with a 2-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipe...
script
curl
1f42556b8d8bd859
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Short w listing for user www-data." }, { "role": "assistant", "content": "w -s www-data" } ]
single
w
012472593784209b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print the exit status of the previous command." }, { "role": "assistant", "content": "echo $?" } ]
single
echo
4c5fa043ee6046bc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print a float number with the Unicode Euro sign." }, { "role": "assistant", "content": "printf \"data.log\" credentials.py" } ]
single
printf
09d9bf2eee589619
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list the distinct error messages in worker.log" }, { "role": "assistant", "content": "grep -i error worker.log | sort -u" } ]
pipeline
grep
85df82b4598cacff
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Can you write a script that accepts --name (-n), --count (-c) and --input (-i) via getopts, with a usage message?" }, { "role": "assistant", "content"...
script
getopts
2bb9a13ae5b9088a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Encode a file." }, { "role": "assistant", "content": "base64 profile.tmp" } ]
single
base64
e677486e46cf4d7d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list the distinct error messages in dmesg.log" }, { "role": "assistant", "content": "grep -i error dmesg.log | sort -u" } ]
pipeline
grep
8e5aabcbad3c2007
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list the distinct error messages in dmesg.log" }, { "role": "assistant", "content": "grep --ignore-case error dmesg.log | sort -u" } ]
pipeline
grep
8e5aabcbad3c2007
[ { "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 www.service.io -p 443" } ]
single
redis-cli
fcde77ee09263e8f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "gzip every .log file under /var/log" }, { "role": "assistant", "content": "find /var/log -type f -name '*.log' -print0 | xargs -0 gzip" } ]
pipeline
find
4e583bad0714e662
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Bump process 7715 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 7715" } ]
single
renice
a4d3bed50fdc1056
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Generate a self-signed certificate valid for a specified number of days (365)." }, { "role": "assistant", "content": "openssl req -new -x509 -key migration.md -out ...
single
openssl
554cd6f0fc00c505
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Force kill matching processes (can't be blocked)." }, { "role": "assistant", "content": "pkill -9 \"cron\"" } ]
single
pkill
a59d0e9c693009b2
[ { "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 \"cron\"" } ]
single
pkill
a59d0e9c693009b2
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Force kill matching processes (can't be blocked)." }, { "role": "assistant", "content": "pkill -KILL \"cron\"" } ]
single
pkill
a59d0e9c693009b2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a backup script that bzip2-compresses data into a timestamped tarball under /srv/backup and keeps only the 10 newest." }, { "role": "assistant", "content": "#...
script
tar
65ce05d6ca300045
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Connect to a remote server on the default port (6379)." }, { "role": "assistant", "content": "redis-cli -h api.service.io" } ]
single
redis-cli
a312dce8afda2922
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Output the first few lines of a file." }, { "role": "assistant", "content": "head 5 3 manifest.json" } ]
single
head
fa245908798d7e2d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "gzip every .log file under /opt/scripts" }, { "role": "assistant", "content": "find /opt/scripts -type f -name '*.log' -print0 | xargs -0 gzip" ...
pipeline
find
4bea7a58cb57a0a6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Connect to a remote server with IP `10.0.0.1` and using a specific [p]ort (Note: `10.0.0.1` can be shortened to `10.1`)." }, { "role": "assistant", ...
single
ssh
629d82b413a5bbb7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From config.log, count the lines." }, { "role": "assistant", "content": "cat config.log | wc -l" } ]
pipeline
wc
4e94d04bab26f196
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "From config.log, count the lines." }, { "role": "assistant", "content": "wc -l < config.log" } ]
pipeline
wc
4e94d04bab26f196
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Take migration.ini and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat migration.ini | sort -u" } ]
pipeline
sort
467589afba11052e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "copy the whole config folder to config_copy recursively" }, { "role": "assistant", "content": "cp -r config config_copy" } ]
single
cp
dbc93e9df9d4a7bf
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "copy the whole config folder to config_copy recursively" }, { "role": "assistant", "content": "cp --recursive config config_copy" } ]
single
cp
dbc93e9df9d4a7bf
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow gc.log live as new lines are appended." }, { "role": "assistant", "content": "tail -f gc.log" } ]
single
tail
b9448456640c08b6
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow gc.log live as new lines are appended." }, { "role": "assistant", "content": "tail --follow gc.log" } ]
single
tail
b9448456640c08b6
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List just the filenames under /etc/nginx that contain 'DEBUG'." }, { "role": "assistant", "content": "grep -rl 'DEBUG' /etc/nginx" } ]
single
grep
057514dda7056096
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List just the filenames under /etc/nginx that contain 'DEBUG'." }, { "role": "assistant", "content": "grep -lr 'DEBUG' /etc/nginx" } ]
single
grep
057514dda7056096
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List just the filenames under /etc/nginx that contain 'DEBUG'." }, { "role": "assistant", "content": "grep -r -l 'DEBUG' /etc/nginx" } ]
single
grep
057514dda7056096
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Sort a file in ascending order." }, { "role": "assistant", "content": "sort transaction.sh" } ]
single
sort
dbdcda6956a09ec2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Process all .txt files under /home/deploy with gzip using 2 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env ba...
script
xargs
acf6fedaa104d178
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Follow the systemd-networkd journal but only show lines mentioning 'SIGTERM'." }, { "role": "assistant", "content": "journalctl -u systemd-networ...
pipeline
journalctl
1c20b23fc3f50d92
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Follow the systemd-networkd journal but only show lines mentioning 'SIGTERM'." }, { "role": "assistant", "content": "journalctl --unit systemd-n...
pipeline
journalctl
1c20b23fc3f50d92
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch https://cache.corp.net/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl -s -o /dev/null -w '%{http_code}' https://cache.corp.net/health" } ]
single
curl
cd9c4a9b96141eda
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fetch https://cache.corp.net/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl --silent -o /dev/null -w '%{http_code}' https:/...
single
curl
cd9c4a9b96141eda
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display kernel warnings and errors only." }, { "role": "assistant", "content": "dmesg -l err,warn" } ]
single
dmesg
de056b31734abf5a
[ { "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 :11211" } ]
single
lsof
cc43fd27734d171c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Device-only I/O stats every 10 seconds." }, { "role": "assistant", "content": "iostat -d 10" } ]
single
iostat
475d7a8fff08f0f3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from build.ini." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' build.ini | ...
pipeline
sed
ae655411b9cc7b60
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from build.ini." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' build.ini | sort -u" } ]
pipeline
sed
ae655411b9cc7b60
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from build.ini." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' build.ini ...
pipeline
sed
ae655411b9cc7b60
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find files in scripts owned by carol." }, { "role": "assistant", "content": "find scripts -type f -user carol" } ]
single
find
c7feaf1115b247d3
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in scripts owned by carol." }, { "role": "assistant", "content": "find scripts -user carol -type f" } ]
single
find
c7feaf1115b247d3
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find empty files in /opt/scripts." }, { "role": "assistant", "content": "find /opt/scripts -type f -empty" } ]
single
find
cd40051d639e3f31
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find empty files in /opt/scripts." }, { "role": "assistant", "content": "find /opt/scripts -empty -type f" } ]
single
find
cd40051d639e3f31
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the last 100 kernel log lines with timestamps." }, { "role": "assistant", "content": "dmesg -T | tail -n 100" } ]
single
dmesg
1911d485e9043948
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Wide-format vmstat every 3s, 10 samples." }, { "role": "assistant", "content": "vmstat -w 3 10" } ]
single
vmstat
7bd1a270e4b0e6ca
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "visualize the child processes of java as a tree" }, { "role": "assistant", "content": "pstree -p $(pgrep -o java)" } ]
single
pstree
b6524a8f5918130f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the 5 largest subdirectories of /srv/www." }, { "role": "assistant", "content": "du -h /srv/www/* 2>/dev/null | sort -rh | head -n 5" } ]
pipeline
du
e931a98e981261f0
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the 5 largest subdirectories of /srv/www." }, { "role": "assistant", "content": "du --human-readable /srv/www/* 2>/dev/null | sort -rh | head -n 5" } ]
pipeline
du
e931a98e981261f0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the last 10 lines containing 'unreachable' in ingest.log." }, { "role": "assistant", "content": "grep 'unreachable' ingest.log | tail -n 10" } ...
pipeline
grep
d870a089e0376e50
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print a file from a specific line number." }, { "role": "assistant", "content": "tail 5 +100 schema.sql" } ]
single
tail
22c64c3fd5e841db
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given server.md, show the last 15 lines." }, { "role": "assistant", "content": "cat server.md | tail -n 15" } ]
pipeline
tail
a21fd2efb5cace8e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Give me a frequency tally of column 1 in metrics.log and show the 25 biggest." }, { "role": "assistant", "content": "cut -d, -f1 metrics.log | so...
pipeline
cut
206e078d461d3638
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Use extended `regex` (supports `?`, `+`, `{}`, `()`, and `|`)." }, { "role": "assistant", "content": "zgrep overflow deprecated customer.yaml" ...
single
zgrep
c9461c11361ccb65
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a simple log-rotation script that renames app.log to app.log.1..5 and truncates the current one." }, { "role": "assistant", "content": "#!/...
script
for
c894bfc6f1449817
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show every open file under /var/cache." }, { "role": "assistant", "content": "lsof +D /var/cache" } ]
single
lsof
2274cbcf8f5d3c26
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Compress a file, replacing it with a `gzip` archive." }, { "role": "assistant", "content": "gzip summary.old" } ]
single
gzip
069fd0dcb062c8e4
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the systemd journal for the grafana-server service." }, { "role": "assistant", "content": "journalctl -u grafana-server" } ]
single
journalctl
d508fcc162d574c2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the systemd journal for the grafana-server service." }, { "role": "assistant", "content": "journalctl --unit grafana-server" } ]
single
journalctl
d508fcc162d574c2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print the current uptime line." }, { "role": "assistant", "content": "uptime" } ]
single
uptime
20ba7b49bcbd7c47
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Translate the contents of a file to upper-case." }, { "role": "assistant", "content": "tr < schema.json \"[:lower:]\" \"[:upper:]\"" } ]
single
tr
d0833312f472b57a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Generate random bytes and write them to a file (without encoding)." }, { "role": "assistant", "content": "openssl rand -out event.csv 3" } ]
single
openssl
322e038702316869
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print lines only found in second file, when the files aren't sorted." }, { "role": "assistant", "content": "comm -13 <(sort test.bak) <(sort schema.co...
single
comm
ca4ca358eba6fc59
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a script that deletes .cache files older than 3 days from /var/log and logs what it removed." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset ...
script
find
dff255f9fadb9206
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'FIXME'-related lines in gateway.log." }, { "role": "assistant", "content": "grep 'FIXME' gateway.log | sort | uniq -c | sort -nr | head -n ...
pipeline
grep
305829e8e1d1ea27
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'FIXME'-related lines in gateway.log." }, { "role": "assistant", "content": "grep 'FIXME' gateway.log | sort | uniq --count | sort -nr | hea...
pipeline
grep
305829e8e1d1ea27
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sample vmstat 20 times at a 2-second interval." }, { "role": "assistant", "content": "vmstat 2 20" } ]
single
vmstat
bf2f764503961034
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Print the contents of the file and display a progress bar." }, { "role": "assistant", "content": "pv changelog.png" } ]
single
pv
e3a6efcf7101a731
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fetch JSON from https://www.local/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://www.local/api/users | ...
pipeline
curl
061c3125f50e6ac5
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch JSON from https://www.local/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://www.local/a...
pipeline
curl
061c3125f50e6ac5
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run iostat every 10s for 3 reports." }, { "role": "assistant", "content": "iostat 10 3" } ]
single
iostat
3eda29b5b18c6cbf
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run iostat every 10s for 5 reports." }, { "role": "assistant", "content": "iostat 10 5" } ]
single
iostat
ab901a2baa1d6cc1
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I want a cleanup script for cache that purges .log files older than 30 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipe...
script
find
6f7e41821fc65d49
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show jenkins's process tree with PIDs." }, { "role": "assistant", "content": "pstree -p jenkins" } ]
single
pstree
c4bba2d3338e2f67
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show redis's process tree with PIDs." }, { "role": "assistant", "content": "pstree -p redis" } ]
single
pstree
8c078bbea7e92478
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find directories named media anywhere under migrations." }, { "role": "assistant", "content": "find migrations -type d -name 'media'" } ]
single
find
14707a93dd349f06
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find directories named media anywhere under migrations." }, { "role": "assistant", "content": "find migrations -name 'media' -type d" } ]
single
find
14707a93dd349f06
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Rename a file or directory when the target is not an existing directory." }, { "role": "assistant", "content": "mv changelog.sql account.old" }...
single
mv
2399e99a40dd78a1
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need getopts handling for three options: -l, -n and -d; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\n...
script
getopts
bfab9968a76210c1
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a small script that reads a yes/no answer and handles Y/y/yes and N/n/no with a case statement." }, { "role": "assistant", "content": "#!/usr/bi...
script
case
0c168bef4ea3a3dd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List all failed systemd units." }, { "role": "assistant", "content": "systemctl --failed" } ]
single
systemctl
a3812b787bdefac0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Generate output after pinging each hop 10 times." }, { "role": "assistant", "content": "mtr 443 customer.js" } ]
single
mtr
4c39c576cb1cd76a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run 'tar -czf backup.tar.gz /home/deploy' niced to 1 in the background." }, { "role": "assistant", "content": "nice -n 1 tar -czf backup.tar.gz /...
single
nice
40ed23575c8d84c1
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extended iostat every 10s, hiding idle devices." }, { "role": "assistant", "content": "iostat -xz 10" } ]
single
iostat
ab9c9201a2b4560d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the subtree of processes under PID 5015." }, { "role": "assistant", "content": "pstree -p 5015" } ]
single
pstree
332c63977de3a4d2