messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fail fast if any of DB_HOST, DB_PASS, REDIS_URL is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -...
script
env
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the unique 'permission denied' messages in debug.log." }, { "role": "assistant", "content": "grep 'permission denied' debug.log | sort -u" ...
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me a frequency tally of column 1 in mail.log and show the 10 biggest." }, { "role": "assistant", "content": "awk '{print $1}' mail.log | so...
pipeline
awk
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write an if that checks connectivity to api.corp.net with a single ping." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pip...
script
if
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "search all .zip files under /usr/local/bin for the word TODO" }, { "role": "assistant", "content": "find /usr/local/bin -name '*.zip' -print0 | ...
pipeline
find
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Copy request.tmp to registry.local's /tmp directory as deploy." }, { "role": "assistant", "content": "scp request.tmp deploy@registry.local:/tmp/" } ]
single
scp
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Can you write a script that loops over every .sh file in /var/lib/app and compresses each file with gzip?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/var/l...
script
gzip
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fetch JSON from https://web01.corp.net/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://web01.corp.net/ap...
pipeline
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need getopts handling for three options: -t, -c and -d; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\n...
script
getopts
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a script that categorizes a filename by extension using case (is a .gif an image, archive, doc?)." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfile=\"${1:?...
script
case
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a gzip-compressed archive of the tmp directory." }, { "role": "assistant", "content": "tar -czf tmp.tar.gz tmp" } ]
single
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Process all .zip files under /srv/data with checksum with sha256sum using 4 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/srv/dat...
script
xargs
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the last 15 lines of syslog." }, { "role": "assistant", "content": "tail -n 15 syslog" } ]
single
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a rotating backup: archive /srv/data into /data/backup with gzip, retain 3 copies." }, { "role": "assistant", "content": "#!/usr/bin/env bash\n...
script
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the subtree of processes under PID 1933." }, { "role": "assistant", "content": "pstree -p 1933" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a backup script that xz-compresses /var/www into a timestamped tarball under /data/backup and keeps only the 14 newest." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo ...
script
tar
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Launch 'python train.py' at reduced priority (15)." }, { "role": "assistant", "content": "nice -n 15 python train.py" } ]
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write me a script that deletes .log files older than 10 days from /var/log and logs what it removed." }, { "role": "assistant", "content": "#!/us...
script
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a monitoring script that warns when root filesystem usage exceeds 75%." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nthreshold=75\nusage=$(df / | awk 'NR==2...
script
df
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write me a script that deletes .old files older than 7 days from /tmp and logs what it removed." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo...
script
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need getopts handling for three options: -i, -d and -n; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count 'traceback' occurrences in the nginx journal today." }, { "role": "assistant", "content": "journalctl -u nginx --since today --no-pager | g...
pipeline
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take access.conf and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat access.conf | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many files are in /var/log." }, { "role": "assistant", "content": "ls -1 /var/log | wc -l" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find directories named data anywhere under logs." }, { "role": "assistant", "content": "find logs -type d -name 'data'" } ]
single
find
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Restart the elasticsearch service." }, { "role": "assistant", "content": "sudo systemctl restart elasticsearch" } ]
single
systemctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the listener on port 3306." }, { "role": "assistant", "content": "ss -tlnp sport = :3306" } ]
single
ss
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Change the owner of server.sh to svc-app." }, { "role": "assistant", "content": "sudo chown svc-app server.sh" } ]
single
chown
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "follow redirects when fetching https://mail.corp.net" }, { "role": "assistant", "content": "curl -L https://mail.corp.net" } ]
single
curl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find empty files in data." }, { "role": "assistant", "content": "find data -type f -empty" } ]
single
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Back up /srv/data to /data/backup as a dated bzip2 archive, pruning all but the last 5 backups." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsrc=/srv/data\ndest=...
script
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to show the last 20 lines containing 'unauthorized' in error.log." }, { "role": "assistant", "content": "grep 'unauthorized' error.log | tail -n 20" } ]
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me a frequency tally of column 1 in worker.log and show the 25 biggest." }, { "role": "assistant", "content": "cut -d, -f1 worker.log | sor...
pipeline
cut
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run 'gzip huge.log' at a lower priority (nice 10)." }, { "role": "assistant", "content": "nice -n 10 gzip huge.log" } ]
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Make product.js executable." }, { "role": "assistant", "content": "chmod +x product.js" } ]
single
chmod
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find files in /opt/app larger than +2G." }, { "role": "assistant", "content": "find /opt/app -type f -size +2G" } ]
single
find
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find empty files in downloads." }, { "role": "assistant", "content": "find downloads -type f -empty" } ]
single
find
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me an init-style dispatcher for the mongod service with case on $1." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pi...
script
case
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from report.ini." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' report.ini | sort...
pipeline
sed
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a backup script that xz-compresses /var/www into a timestamped tarball under /srv/backup and keeps only the 3 newest." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pi...
script
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a small script that deletes .old files older than 1 days from logs and logs what it removed." }, { "role": "assistant", "content": "#!/usr...
script
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read payload.ini, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat payload.ini | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a script that retries a curl to https://cache.local/health up to 5 times with a 2-second backoff." }, { "role": "assistant", "content": "...
script
retry
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "POST a JSON body to https://backup.example.com/api/users" }, { "role": "assistant", "content": "curl -X POST -H 'Content-Type: application/json' -d '{\"name\":\"alice\"}' https://backup.example.c...
single
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "give the owner rwx and everyone else read on profile.sh" }, { "role": "assistant", "content": "chmod 744 profile.sh" } ]
single
chmod
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List just the filenames under lib that contain 'TODO'." }, { "role": "assistant", "content": "grep -rl 'TODO' lib" } ]
single
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the contents of the build directory sorted by modification time, newest first." }, { "role": "assistant", "content": "ls -lt build" } ]
single
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "reload fail2ban without a full restart" }, { "role": "assistant", "content": "sudo systemctl reload fail2ban" } ]
single
systemctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Total the resident memory of all mysqld processes in MB." }, { "role": "assistant", "content": "ps -C mysqld -o rss= | awk '{s+=$1} END{print s/1024 \...
pipeline
ps
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List connections using port 8443 as source or destination." }, { "role": "assistant", "content": "ss -tn 'sport = :8443 or dport = :8443'" } ]
single
ss
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "list only the .json files in /srv/data" }, { "role": "assistant", "content": "ls /srv/data | grep '\\.json$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Download https://backup.local/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl -O https://backup.local/fil...
single
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a loop that restarts these services in order: cron firewalld apache2." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo...
script
for
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the 20 hottest values in column 1 of customers.csv (by frequency)." }, { "role": "assistant", "content": "awk '{print $1}' customers.csv | s...
pipeline
awk
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'not found'-related lines in nginx-error.log." }, { "role": "assistant", "content": "grep 'not found' nginx-error.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count how many unique IP-like first fields appear in syslog.log." }, { "role": "assistant", "content": "awk '{print $1}' syslog.log | sort | uni...
pipeline
grep
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a Bash script that watches scripts and prints a message whenever the file count changes." }, { "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": "list only the .jpg files in modules" }, { "role": "assistant", "content": "ls modules | grep '\\.jpg$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Loop through the .html files in /data/uploads and prints the line count of each file — write it as a proper script." }, { "role": "assistant", "...
script
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract all the 'name' fields from https://cache.service.io/api/users" }, { "role": "assistant", "content": "curl -s https://cache.service.io/api/users | jq -r '.[]...
pipeline
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "show apache2 logs from the last 14 days" }, { "role": "assistant", "content": "journalctl -u apache2 --since '14 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create a script that deletes .gz files older than 1 days from /var/cache and logs what it removed." }, { "role": "assistant", "content": "#!/usr/...
script
find
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the 10 largest subdirectories in logs." }, { "role": "assistant", "content": "du -h logs/* | sort -rh | head -n 10" } ]
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List the unique 'denied' messages in access.log." }, { "role": "assistant", "content": "grep 'denied' access.log | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need per-database PostgreSQL backups written to /mnt/backup and pruned after 7 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/mnt/backup\nkeep=7\nmkd...
script
pg_dump
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "For sales.png, print it with line numbers." }, { "role": "assistant", "content": "nl sales.png" } ]
single
nl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run vmstat every 2s and stop after 10 samples." }, { "role": "assistant", "content": "vmstat 2 10" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run the backup script, sending stdout and stderr to syslog." }, { "role": "assistant", "content": "./backup.sh > syslog 2>&1" } ]
pipeline
redirection
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What are the 15 most common entries in column 4 of output.log?" }, { "role": "assistant", "content": "awk '{print $4}' output.log | sort | uniq -c | sort -nr | head -n 15" } ]
pipeline
awk
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find directories named build anywhere under /var/www." }, { "role": "assistant", "content": "find /var/www -type d -name 'build'" } ]
single
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Make 14 day-stamped folders under /var/backups using a for loop over a date range." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nbase=/var/backups\nfor i in $(seq...
script
for
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me the 5 largest subdirectories of releases." }, { "role": "assistant", "content": "du -h releases/* 2>/dev/null | sort -rh | head -n 5" ...
pipeline
du
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Can you write a script that categorizes a filename by extension using case (is a .zip an image, archive, doc?)?" }, { "role": "assistant", "cont...
script
case
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Sort changelog.conf alphabetically." }, { "role": "assistant", "content": "sort changelog.conf" } ]
single
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Test if profile.xml is present and has content; report missing, empty, or its line count." }, { "role": "assistant", "content": "#!/usr/bin/env b...
script
if
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "display notes.log showing tabs and line endings" }, { "role": "assistant", "content": "cat -A notes.log" } ]
single
cat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "enable haproxy to start on boot" }, { "role": "assistant", "content": "sudo systemctl enable haproxy" } ]
single
systemctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Process all .sql files under logs with checksum with sha256sum using 2 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr...
script
xargs
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Append the current date to build.log." }, { "role": "assistant", "content": "date >> build.log" } ]
pipeline
redirection
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "For catalog.csv, show the first 20 lines." }, { "role": "assistant", "content": "head -n 20 catalog.csv" } ]
single
head
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need to list the unique 'not found' messages in nginx-access.log." }, { "role": "assistant", "content": "grep 'not found' nginx-access.log | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find all .tmp files under static and delete them. (Careful: destructive.)" }, { "role": "assistant", "content": "find static -type f -name '*.tmp...
pipeline
find
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Can you write a script that deletes .tmp files older than 7 days from uploads and logs what it removed?" }, { "role": "assistant", "content": "#...
script
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Recursively set owner and group of migrations to postgres:wheel." }, { "role": "assistant", "content": "sudo chown -R postgres:wheel migrations" } ]
single
chown
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the biggest files under /data/uploads." }, { "role": "assistant", "content": "du -ah /data/uploads | sort -rh | head -n 20" } ]
pipeline
du
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Ping registry.internal once and branch: print reachable or unreachable based on the result." }, { "role": "assistant", "content": "#!/usr/bin/en...
script
if
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take payload.txt and count the lines." }, { "role": "assistant", "content": "cat payload.txt | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "check if www.internal is reachable with 3 pings" }, { "role": "assistant", "content": "ping -c 3 www.internal" } ]
single
ping
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Edit release.tsv in place, replacing 'localhost' with 'https'." }, { "role": "assistant", "content": "sed -i 's/localhost/https/g' release.tsv" } ]
single
sed
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "search all .zip files under build for the word TODO" }, { "role": "assistant", "content": "find build -name '*.zip' -print0 | xargs -0 grep -l T...
pipeline
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Help me total the resident memory of all node processes in MB." }, { "role": "assistant", "content": "ps -C node -o rss= | awk '{s+=$1} END{print s/1024 \" MB\"}'" } ]
pipeline
ps
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Change the owner of server.csv to jenkins." }, { "role": "assistant", "content": "sudo chown jenkins server.csv" } ]
single
chown
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a script that deletes .old files older than 1 days from /var/tmp and logs what it removed." }, { "role": "assistant", "content": "#!/usr/...
script
find
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "download https://backup.internal/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://backup.internal/list.txt | ...
pipeline
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find empty files in project." }, { "role": "assistant", "content": "find project -type f -empty" } ]
single
find
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take migration.log and show the last 15 lines." }, { "role": "assistant", "content": "cat migration.log | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me a script that iterates over data/*.md and changes the owner of each file to deploy." }, { "role": "assistant", "content": "#!/usr/bin/en...
script
chown
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "check the type of every file in reports" }, { "role": "assistant", "content": "file reports/*" } ]
single
file
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to list the unique 'SIGTERM' messages in ingest.log." }, { "role": "assistant", "content": "grep 'SIGTERM' ingest.log | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Set schema.conf to permissions 644." }, { "role": "assistant", "content": "chmod 644 schema.conf" } ]
single
chmod