messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Copy config.py into the build directory." }, { "role": "assistant", "content": "cp config.py build/" } ]
single
cp
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the contents of the src directory sorted by modification time, newest first." }, { "role": "assistant", "content": "ls -lt src" } ]
single
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "get the number of items in the JSON array at https://staging.internal/api/items" }, { "role": "assistant", "content": "curl -s https://staging.internal/api/items | jq 'length'" } ]
pipeline
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the contents of the /etc/nginx directory sorted by modification time, newest first." }, { "role": "assistant", "content": "ls -lt /etc/nginx...
single
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Back up backups to /var/backups as a dated gzip archive, pruning all but the last 30 backups." }, { "role": "assistant", "content": "#!/usr/bin/env ba...
script
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need a script that verifies it is run with at least one argument, else prints usage." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nif [ \"$#\" -lt 1 ]; then\n ...
script
if
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need to follow the firewalld journal but only show lines mentioning 'denied'." }, { "role": "assistant", "content": "journalctl -u firewalld -f | grep --line-buff...
pipeline
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Parse command-line flags -n (name), -c (count) and -d (dir) using getopts and validate that -n is provided." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nname=\"\...
script
getopts
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take notes.tsv and keep only non-empty lines." }, { "role": "assistant", "content": "cat notes.tsv | grep -v '^$'" } ]
pipeline
grep
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show server.log with line numbers." }, { "role": "assistant", "content": "cat -n server.log" } ]
single
cat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of include" }, { "role": "assistant", "content": "ls -lh include" } ]
single
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Copy report.sql to cache/ but keep the original timestamps and permissions." }, { "role": "assistant", "content": "cp -p report.sql cache/" } ]
single
cp
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List only directories inside logs." }, { "role": "assistant", "content": "ls -d logs/*/" } ]
single
ls
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "change permissions to 644 on all files under data" }, { "role": "assistant", "content": "find data -type f -print0 | xargs -0 chmod 644" } ]
pipeline
find
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Please print it with line numbers in order.tar.gz." }, { "role": "assistant", "content": "nl order.tar.gz" } ]
single
nl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take response.ini and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat response.ini | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I want a cleanup script for /var/log that purges .bak files older than 5 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a script that loops over every .xml file in /home/alice and removes each matching file." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/home/alice\nfor f...
script
rm
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Search mail.log for lines containing 'denied'." }, { "role": "assistant", "content": "grep 'denied' mail.log" } ]
single
grep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "send a GET request to https://cdn.local/api and show the response headers" }, { "role": "assistant", "content": "curl -I https://cdn.local/api" } ]
single
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Can you write a script that checks whether output.conf exists and is non-empty, printing an appropriate message?" }, { "role": "assistant", "con...
script
if
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need to tally how many times each log level appears in mail.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' mai...
pipeline
grep
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show me how to list the unique '403' messages in syslog." }, { "role": "assistant", "content": "grep '403' syslog | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How many lines in api.log mention 'overflow'?" }, { "role": "assistant", "content": "grep -c 'overflow' api.log | cat" } ]
pipeline
grep
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Install rsync using dnf." }, { "role": "assistant", "content": "sudo dnf install -y rsync" } ]
single
dnf
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show lines in messages that do NOT contain 'OutOfMemory'." }, { "role": "assistant", "content": "grep -v 'OutOfMemory' messages" } ]
single
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "enable redis to start on boot" }, { "role": "assistant", "content": "sudo systemctl enable redis" } ]
single
systemctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rename catalog.tmp to catalog.tmp.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n catalog.tmp catalog.tmp.old" } ]
single
mv
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a gzip-compressed archive of the modules directory." }, { "role": "assistant", "content": "tar -czf modules.tar.gz modules" } ]
single
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Please show a hex dump of the first 64 bytes in export.yaml." }, { "role": "assistant", "content": "xxd -l 64 export.yaml" } ]
single
xxd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fetch https://www.example.com/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl -s -o /dev/null -w '%{http_code}' https://www....
single
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many files are in modules." }, { "role": "assistant", "content": "ls -1 modules | wc -l" } ]
pipeline
ls
[ { "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 4 in debug.log and show the 5 biggest." }, { "role": "assistant", "content": "awk '{print $4}' debug.log | so...
pipeline
awk
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the disk usage of /var/lib/mysql broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 /var/lib/mysql 2>/de...
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I list files in /srv/data sorted by size?" }, { "role": "assistant", "content": "ls -lS /srv/data" } ]
single
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "strip leading whitespace from every line of export.csv and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' export.csv > clean.txt" } ]
pipeline
sed
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "search all .log files under assets for the word TODO" }, { "role": "assistant", "content": "find assets -name '*.log' -print0 | xargs -0 grep -l TODO" } ]
pipeline
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show a recursive listing of /home/alice." }, { "role": "assistant", "content": "ls -R /home/alice" } ]
single
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the most recently modified file in fixtures." }, { "role": "assistant", "content": "ls -t fixtures | head -n 1" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 5 hottest values in column 7 of customers.csv (by frequency)." }, { "role": "assistant", "content": "cut -d, -f7 customers.csv | sort | uniq -c | sort -nr ...
pipeline
cut
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "delete all blank lines from output.md" }, { "role": "assistant", "content": "sed '/^$/d' output.md" } ]
single
sed
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count 'Connection refused' occurrences in the elasticsearch journal today." }, { "role": "assistant", "content": "journalctl -u elasticsearch --...
pipeline
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Edit server.yaml in place, replacing 'enabled' with 'success'." }, { "role": "assistant", "content": "sed -i 's/enabled/success/g' server.yaml" ...
single
sed
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a Bash script that retries a curl to https://www.corp.net/health up to 5 times, sleeping 5s between attempts." }, { "role": "assistant", "content": "#!/usr/bi...
script
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Copy profile.zip into the src directory." }, { "role": "assistant", "content": "cp profile.zip src/" } ]
single
cp
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Remove the empty directory assets." }, { "role": "assistant", "content": "rmdir assets" } ]
single
rm
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a script that watches logs and prints a message whenever the file count changes." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
while
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to follow the mysql journal but only show lines mentioning 'segfault'." }, { "role": "assistant", "content": "journalctl -u mysql -f...
pipeline
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the process tree for user alice." }, { "role": "assistant", "content": "pstree alice" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Set server.yaml to permissions 644." }, { "role": "assistant", "content": "chmod 644 server.yaml" } ]
single
chmod
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find all .gif files under images and delete them. (Careful: destructive.)" }, { "role": "assistant", "content": "find images -type f -name '*.gif' -print0 | xargs -...
pipeline
find
[ { "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://auth.internal/api/users" }, { "role": "assistant", "content": "curl -s https://auth.internal/api/users...
pipeline
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read the CSV orders.tsv field by field (id,name,email) with a while loop and print a greeting." }, { "role": "assistant", "content": "#!/usr/bin/env b...
script
while
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Ping 1.1.1.1 once and branch: print reachable or unreachable based on the result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nhos...
script
if
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read data.ini, then show the 20 longest lines — as a pipeline." }, { "role": "assistant", "content": "cat data.ini | awk '{ print length, $0 }' ...
pipeline
awk
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Change the owner of event.old to alice." }, { "role": "assistant", "content": "sudo chown alice event.old" } ]
single
chown
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Edit users.yaml in place, replacing 'enabled' with '127.0.0.1'." }, { "role": "assistant", "content": "sed -i 's/enabled/127.0.0.1/g' users.yaml" } ...
single
sed
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Back up /var/lib/app to /var/backups as a dated bzip2 archive, pruning all but the last 10 backups." }, { "role": "assistant", "content": "#!/usr/bin/...
script
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Is the mariadb service currently active?" }, { "role": "assistant", "content": "systemctl is-active mariadb" } ]
single
systemctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "For each .html file under /srv/data, record a sha256 checksum in a manifest file." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsho...
script
for
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given summary.log, convert everything to uppercase." }, { "role": "assistant", "content": "cat summary.log | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Retry connection to cache.internal:5432 at most 4 times with a 5-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail...
script
bash
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Ping monitor.internal once and branch: print reachable or unreachable based on the result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipe...
script
if
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "change permissions to 644 on all files under logs" }, { "role": "assistant", "content": "find logs -type f -print0 | xargs -0 chmod 644" } ]
pipeline
find
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count how many lines in nginx-access.log match '404'." }, { "role": "assistant", "content": "grep -c '404' nginx-access.log" } ]
single
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count how many files are in assets." }, { "role": "assistant", "content": "ls -1 assets | wc -l" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Get the PID of the newest containerd process." }, { "role": "assistant", "content": "pgrep -n containerd" } ]
single
pgrep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Retry connection to registry.example.org:5432 at most 6 times with a 3-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pi...
script
bash
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the top 20 most frequent values in field 4 of the whitespace-separated file build.log." }, { "role": "assistant", "content": "awk '{print $...
pipeline
awk
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me a script that iterates over /mnt/storage/*.css and moves each file into an archive/ subfolder." }, { "role": "assistant", "content": "#!...
script
mv
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me a script that iterates over /home/deploy/*.sh and makes each file read-only." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
chmod
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "replace tabs with commas in config.ini and write to config.ini.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' config.ini > config.in...
pipeline
sed
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Back up /home/alice to /data/backup as a dated bzip2 archive, pruning all but the last 5 backups." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I want a cleanup script for uploads that purges .bak files older than 2 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=...
script
find
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a health check that reports UP/DOWN for the systemd process via its exit code." }, { "role": "assistant", "content": "#!/usr/bin/env bash\n...
script
if
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extended disk I/O stats every 1s, 5 samples." }, { "role": "assistant", "content": "iostat -x 1 5" } ]
single
iostat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need per-database MySQL backups written to /data/backup and pruned after 7 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nde...
script
mysqldump
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Move sales.html into the releases folder." }, { "role": "assistant", "content": "mv sales.html releases/" } ]
single
mv
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fail fast if any of REDIS_URL, PORT, AWS_REGION is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\n...
script
env
[ { "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 release.conf and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' rel...
pipeline
sed
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "delete all blank lines from request.yaml" }, { "role": "assistant", "content": "sed '/^$/d' request.yaml" } ]
single
sed
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a shell script that accepts --name (-n), --dir (-d) and --tag (-t) via getopts, with a usage message." }, { "role": "assistant", "content": "#!/...
script
getopts
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a rotating backup: archive /opt/app into /srv/backup with xz, retain 30 copies." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset...
script
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Loop through the .md files in backups and prints the line count of each file — write it as a proper script." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=back...
script
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a Bash script that retries a curl to https://cdn.service.io/health up to 5 times with a 2-second backoff." }, { "role": "assistant", "content": "#!/usr/bin/en...
script
retry
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the contents of the templates directory sorted by modification time, newest first." }, { "role": "assistant", "content": "ls -lt templates" } ]
single
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Process all .sql files under /srv/data with gzip using 8 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
xargs
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fail fast if any of PORT, AWS_REGION, DB_PASS is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
env
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Please show a hex dump of the first 64 bytes in output.png." }, { "role": "assistant", "content": "xxd -l 64 output.png" } ]
single
xxd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "which directories under /var/lib/mysql are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 /var/lib/mysql | sort -rh" } ]
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a rotating backup: archive /var/www into /backup with xz, retain 30 copies." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsr...
script
tar
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From changelog.tsv, count the lines." }, { "role": "assistant", "content": "cat changelog.tsv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Download https://staging.corp.net/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl -O https://staging.corp...
single
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Launch an interactive process monitor sorted by CPU." }, { "role": "assistant", "content": "top" } ]
single
top
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "display server.tsv showing tabs and line endings" }, { "role": "assistant", "content": "cat -A server.tsv" } ]
single
cat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a retry wrapper around curl to https://auth.corp.net/health: 3 attempts, 2s apart." }, { "role": "assistant", "content": "#!/usr/bin/env ...
script
curl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take output.conf and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat output.conf | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a retry wrapper around curl to https://8.8.8.8/health: 3 attempts, 3s apart." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Process all .gif files under /srv/data with checksum with sha256sum using 2 parallel workers via xargs." }, { "role": "assistant", "content": "#!...
script
xargs
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read release.json, then keep only non-empty lines — as a pipeline." }, { "role": "assistant", "content": "cat release.json | grep -v '^$'" } ]
pipeline
grep