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": "Write a shell script that prints a small system report: hostname, uptime, disk and memory usage."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nmem=$(free -h | awk... | script | report | 49acc8a3c94c6dc7 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Recursively list filenames in the current directory that match a pattern."
},
{
"role": "assistant",
"content": "rg --files | rg ERROR"
}
] | pipeline | rg | 24e14dfda95d9a58 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Give 'make -j4' a boosted CPU priority of -10."
},
{
"role": "assistant",
"content": "sudo nice -n -10 make -j4"
}
] | single | nice | daf7e44b50124fa4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "reduce the priority of all processes owned by www-data"
},
{
"role": "assistant",
"content": "renice -n 15 -u www-data"
}
] | single | renice | ae0b4ca758455479 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display running processes."
},
{
"role": "assistant",
"content": "jobs -r"
}
] | single | jobs | 983ee591c8be25e7 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find empty files in templates."
},
{
"role": "assistant",
"content": "find templates -type f -empty"
}
] | single | find | 96f61d5b23e24fe5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find empty files in templates."
},
{
"role": "assistant",
"content": "find templates -empty -type f"
}
] | single | find | 96f61d5b23e24fe5 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find empty files in bin."
},
{
"role": "assistant",
"content": "find bin -type f -empty"
}
] | single | find | ef573cbd03b4d1be |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find empty files in bin."
},
{
"role": "assistant",
"content": "find bin -empty -type f"
}
] | single | find | ef573cbd03b4d1be |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Only list directories."
},
{
"role": "assistant",
"content": "ls static */"
}
] | single | ls | 608427bdc86f95c3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from manifest.json."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manifest.json ... | pipeline | sed | 44d0f58e8b4311b9 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from manifest.json."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manifest.... | pipeline | sed | 44d0f58e8b4311b9 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from manifest.json."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manife... | pipeline | sed | 44d0f58e8b4311b9 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "copy the whole dist folder to dist_copy recursively"
},
{
"role": "assistant",
"content": "cp -r dist dist_copy"
}
] | single | cp | f143f79dbcb09f7b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "copy the whole dist folder to dist_copy recursively"
},
{
"role": "assistant",
"content": "cp --recursive dist dist_copy"
}
] | single | cp | f143f79dbcb09f7b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Help me count how many apache2 processes are running."
},
{
"role": "assistant",
"content": "pgrep -c apache2"
}
] | pipeline | pgrep | d33cffd7fa0e1fc1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Help me count how many apache2 processes are running."
},
{
"role": "assistant",
"content": "pgrep --count apache2"
}
] | pipeline | pgrep | d33cffd7fa0e1fc1 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a start/stop/restart/status control script for elasticsearch using a case statement."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | case | 786901894b636b5d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print the hexadecimal representation of a file, replacing duplicate lines by '*'."
},
{
"role": "assistant",
"content": "hexdump manifest.pdf"
}
] | single | hexdump | 5ad990d1fecec28d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to list the unique 'invalid' messages in worker.log."
},
{
"role": "assistant",
"content": "grep 'invalid' worker.log | sort -u"
}
] | pipeline | grep | 3008aa3b1fdae219 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Pass Prometheus metrics over `stdin` to check them for consistency and correctness."
},
{
"role": "assistant",
"content": "curl --silent schema.... | pipeline | curl | d6ef13dfdeeff027 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show open files for the cron process."
},
{
"role": "assistant",
"content": "lsof -c cron"
}
] | single | lsof | 69e044f8f64a6090 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Bump process 1235 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 1235"
}
] | single | renice | 4d004a27d37f7044 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a start/stop/restart/status control script for prometheus using a case statement."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | case | 607f0bc45d62850b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Use a specific proxy when connecting to the remote host."
},
{
"role": "assistant",
"content": "scp -J operator@staging.local customer.sh mail.example.org:manifest.sh"
}
] | single | scp | 37a36aadf964dd9d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Generate a Go struct from a given XML from `stdin` and display output on `stdout`."
},
{
"role": "assistant",
"content": "cat access.zip | zek"
... | pipeline | cat | e34162c90023dc7b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Convert a graph using `stdin` and `stdout`."
},
{
"role": "assistant",
"content": "cat access.csv | mm2gv > profile.gz"
}
] | pipeline | cat | 7c0c0b68b5b4c8c3 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Calculate an expression with the specified scale."
},
{
"role": "assistant",
"content": "echo 'scale = 10; schema.jpg' | bc"
}
] | pipeline | echo | 33cbf87b13cd0ed6 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Act as a proxy and forward data from a local TCP port to the given remote host."
},
{
"role": "assistant",
"content": "nc -l -p 80 | nc db02.corp.net 9000"
}
] | pipeline | nc | 243f7a2cd6a25a53 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in media."
},
{
"role": "assistant",
"content": "du -h media/* | sort -rh | head -n 10"
}
] | pipeline | du | 604660ddb61e15d5 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in media."
},
{
"role": "assistant",
"content": "du --human-readable media/* | sort -rh | head -n 10"
}
] | pipeline | du | 604660ddb61e15d5 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Bump process 9488 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 9488"
}
] | single | renice | cde2862276c39aa2 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Analyze a rendered configuration dump via `stdin` (`-`)."
},
{
"role": "assistant",
"content": "cat audit.py | gixy-next -"
}
] | pipeline | cat | 1463474085675646 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://mail.example.com/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://mail.example.com/api/users | jq ."
}
] | pipeline | curl | ab773d4bf1d85ad3 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://mail.example.com/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://mai... | pipeline | curl | ab773d4bf1d85ad3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 6267 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 6267"
}
] | single | renice | 09cf926e4199225f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display RCS identification strings from `stdin`."
},
{
"role": "assistant",
"content": "cat payload.csv | ident"
}
] | pipeline | cat | 74c0b4c0217a94c3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display changes in a histogram."
},
{
"role": "assistant",
"content": "diff results.sql access.xml | diffstat"
}
] | pipeline | diff | 15dab8ad03e21226 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "[Interactive] Rename a file on the remote server."
},
{
"role": "assistant",
"content": "mv event.md server.json"
}
] | single | mv | 9a240c428bbfd8c0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print a float number with the Unicode Euro sign."
},
{
"role": "assistant",
"content": "printf \"metrics.old\" users.old"
}
] | single | printf | 3abba61727000dec |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Which files does user tomcat have open?"
},
{
"role": "assistant",
"content": "lsof -u tomcat"
}
] | single | lsof | b4ce31ce8819b6b2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the systemd journal for the memcached service."
},
{
"role": "assistant",
"content": "journalctl -u memcached"
}
] | single | journalctl | a8ee511bcf02f1b4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "strip leading whitespace from every line of product.ini and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' prod... | pipeline | sed | 0eee0eb760232a5b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "[e]dit the crontab file for a specific [u]ser."
},
{
"role": "assistant",
"content": "sudo crontab -e -u alice"
}
] | single | crontab | cbaf794b4c9bfe7b |
[
{
"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 2664."
},
{
"role": "assistant",
"content": "pstree -s 2664"
}
] | single | pstree | 57f6749c3ce109d7 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "which elasticsearch log lines mention 'failed'?"
},
{
"role": "assistant",
"content": "journalctl -u elasticsearch --no-pager | grep -i failed"
}
] | pipeline | journalctl | 2556d6e4ac8406cb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "which elasticsearch log lines mention 'failed'?"
},
{
"role": "assistant",
"content": "journalctl --unit elasticsearch --no-pager | grep -i fail... | pipeline | journalctl | 2556d6e4ac8406cb |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print the tree ignoring the given directories."
},
{
"role": "assistant",
"content": "tree -I 'config'"
}
] | single | tree | 002ca9e887a53b76 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "visualize the child processes of systemd as a tree"
},
{
"role": "assistant",
"content": "pstree -p $(pgrep -o systemd)"
}
] | single | pstree | 425ce2cc06126371 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show multiple words at a time."
},
{
"role": "assistant",
"content": "cat sales.zip | speedread -multiword"
}
] | pipeline | cat | aaa2db21485daa94 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Read hosts.txt and for each host, report UP/DOWN based on whether it pings each host once."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nwhile IFS= read -r host; ... | script | ping | a0500a932b50cd17 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Pretty-print data piped from `stdin`."
},
{
"role": "assistant",
"content": "cat archive.sql | tidy-viewer"
}
] | pipeline | cat | 5ed02baf2e3843bf |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Abbreviated session info for bob."
},
{
"role": "assistant",
"content": "w -s bob"
}
] | single | w | 51ae05af5f5bc0c2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the systemd journal for the chronyd service."
},
{
"role": "assistant",
"content": "journalctl -u chronyd"
}
] | single | journalctl | 4a1502a6a0281f93 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a script that deletes .gz files older than 180 days from /tmp and logs what it removed."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo p... | script | find | 9040e096b59dd12c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Trim whitespace from a file."
},
{
"role": "assistant",
"content": "cat test.log | git stripspace"
}
] | pipeline | cat | e2ba4bbbbbe7d8d3 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Set settings.yaml to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 settings.yaml"
}
] | single | chmod | 265d3d6dcf962a61 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Set settings.yaml to permissions 644."
},
{
"role": "assistant",
"content": "chmod u=rw,go=r settings.yaml"
}
] | single | chmod | 265d3d6dcf962a61 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find files in /var/cache larger than -1M."
},
{
"role": "assistant",
"content": "find /var/cache -type f -size -1M"
}
] | single | find | e63bd59d2ca7cedc |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find files in /var/cache larger than -1M."
},
{
"role": "assistant",
"content": "find /var/cache -size -1M -type f"
}
] | single | find | e63bd59d2ca7cedc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Only check for HTTP if HTTPS is not working."
},
{
"role": "assistant",
"content": "cat settings.pdf | httprobe --prefer-https"
}
] | pipeline | cat | 247bd70cdfd841bd |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Wide-format vmstat every 3s, 20 samples."
},
{
"role": "assistant",
"content": "vmstat -w 3 20"
}
] | single | vmstat | 0a5a3ae4f4d7fb6c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the process tree for user bob."
},
{
"role": "assistant",
"content": "pstree bob"
}
] | single | pstree | 916ae3446569001e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Ping backup.corp.net once and branch: print reachable or unreachable based on the result."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nhost=backup.corp.net\nif p... | script | if | d19116ab95090b95 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display each line once."
},
{
"role": "assistant",
"content": "sort audit.png | uniq"
}
] | pipeline | sort | 50274682ea838e40 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display each line once."
},
{
"role": "assistant",
"content": "sort -u audit.png"
}
] | pipeline | sort | 50274682ea838e40 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Probe a list of domains from a text file."
},
{
"role": "assistant",
"content": "cat customer.css | httprobe"
}
] | pipeline | cat | 929ef9abe890e4db |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Is anything listening on port 443?"
},
{
"role": "assistant",
"content": "ss -tlnp sport = :443"
}
] | single | ss | 74f1afedc9efb921 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Report virtual-memory statistics every 5 seconds, 10 times."
},
{
"role": "assistant",
"content": "vmstat 5 10"
}
] | single | vmstat | 39134135f6b4e485 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "reduce the priority of all processes owned by redis"
},
{
"role": "assistant",
"content": "renice -n 15 -u redis"
}
] | single | renice | a6e0402da4945ef4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run vmstat with MB units every 5 seconds for 10 rounds."
},
{
"role": "assistant",
"content": "vmstat -S M 5 10"
}
] | single | vmstat | 046cf7bd154340ed |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "replace tabs with commas in error.txt and write to error.txt.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' error.txt > error.txt.csv"
}
] | pipeline | sed | 64b6b2d7854cf635 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 2543 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 2543"
}
] | single | renice | f6b4742b931521f9 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Bump process 5347 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 5347"
}
] | single | renice | 6542c609b47deb37 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "visualize the child processes of redis-server as a tree"
},
{
"role": "assistant",
"content": "pstree -p $(pgrep -o redis-server)"
}
] | single | pstree | 261c124c909cd9f5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show established connections on port 3000."
},
{
"role": "assistant",
"content": "lsof -i :3000 -sTCP:ESTABLISHED"
}
] | single | lsof | 7228205c33d6d78c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Wrap each line to width \"30\"."
},
{
"role": "assistant",
"content": "fold -w30 test.pdf"
}
] | single | fold | 5ae781b72c13dd73 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of docs"
},
{
"role": "assistant",
"content": "tar -cjf docs.tar.bz2 docs"
}
] | single | tar | 42abae617245ae7d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of docs"
},
{
"role": "assistant",
"content": "tar cjf docs.tar.bz2 docs"
}
] | single | tar | 42abae617245ae7d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of docs"
},
{
"role": "assistant",
"content": "tar -jcf docs.tar.bz2 docs"
}
] | single | tar | 42abae617245ae7d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a retry wrapper around git fetch from origin: 6 attempts, 1s apart."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo ... | script | git | 22795624f69a49f1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show erin's process tree with PIDs."
},
{
"role": "assistant",
"content": "pstree -p erin"
}
] | single | pstree | 07e46a4aed2fd2df |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show current memory usage in human-readable units."
},
{
"role": "assistant",
"content": "free -h"
}
] | single | free | 8109299e1d66dd1b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Follow the docker journal but only show lines mentioning 'DEBUG'."
},
{
"role": "assistant",
"content": "journalctl -u docker -f | grep --line-buffered -i 'DEBUG'"
}
] | pipeline | journalctl | 6736128ae2f991a1 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Follow the docker journal but only show lines mentioning 'DEBUG'."
},
{
"role": "assistant",
"content": "journalctl --unit docker -f | grep --line-buffered -i 'DEBUG'"
}
] | pipeline | journalctl | 6736128ae2f991a1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://web01.service.io/api/users"
},
{
"role": "assistant",
"content": "curl -s https://web01.service.io/api/users | jq -r '.[]... | pipeline | curl | 225a611eace35c6f |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://web01.service.io/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://web01.service.io/api/users | jq -r '.[].name'"
}
] | pipeline | curl | 225a611eace35c6f |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Lower the priority of process 5011 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 5011"
}
] | single | renice | 8609f6487136291c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show established connections on port 8080."
},
{
"role": "assistant",
"content": "lsof -i :8080 -sTCP:ESTABLISHED"
}
] | single | lsof | 9cc83f562877c2a7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Process all .csv files under data with gzip using 8 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo p... | script | xargs | 622dd628a82bcf77 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create the static directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p static && cd static"
}
] | pipeline | chain | de510f2b2f7c0b32 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create the static directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir --parents static && cd static"
}
] | pipeline | chain | de510f2b2f7c0b32 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "send a GET request to https://mail.example.org/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://mail.example.org/api"
}
] | single | curl | 0ba017959dd7a70e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "send a GET request to https://mail.example.org/api and show the response headers"
},
{
"role": "assistant",
"content": "curl --head https://mail.examp... | single | curl | 0ba017959dd7a70e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "copy the whole cache folder to cache_copy recursively"
},
{
"role": "assistant",
"content": "cp -r cache cache_copy"
}
] | single | cp | f37ca38bcd0d8f5c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "copy the whole cache folder to cache_copy recursively"
},
{
"role": "assistant",
"content": "cp --recursive cache cache_copy"
}
] | single | cp | f37ca38bcd0d8f5c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Clean up /var/tmp: remove .gz files not modified in 21 days, recording each deletion."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=/var/tmp\nage=21\n[ -d ... | script | find | f50d0ed760d62f7e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "which fail2ban log lines mention 'failed'?"
},
{
"role": "assistant",
"content": "journalctl -u fail2ban --no-pager | grep -i failed"
}
] | pipeline | journalctl | bf96a8ee4b752599 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "which fail2ban log lines mention 'failed'?"
},
{
"role": "assistant",
"content": "journalctl --unit fail2ban --no-pager | grep -i failed"
}
] | pipeline | journalctl | bf96a8ee4b752599 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What's bound to port 8443?"
},
{
"role": "assistant",
"content": "lsof -i :8443"
}
] | single | lsof | 119f16aa8ab93c1c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.