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": "I need per-database PostgreSQL backups written to /mnt/backup and pruned after 14 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
pg_dump
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print only lines 10 through 20 of access.csv." }, { "role": "assistant", "content": "sed -n '10,20p' access.csv" } ]
single
sed
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "show cron logs from the last 5 days" }, { "role": "assistant", "content": "journalctl -u cron --since '5 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "On this box, find the 10 processes with the most open files." }, { "role": "assistant", "content": "lsof 2>/dev/null | awk '{print $1}' | sort | uniq ...
pipeline
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show all TCP sockets touching port 9000." }, { "role": "assistant", "content": "ss -tn 'sport = :9000 or dport = :9000'" } ]
single
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run 'tar -czf backup.tar.gz /home/deploy' at a lower priority (nice 1)." }, { "role": "assistant", "content": "nice -n 1 tar -czf backup.tar.gz /home/...
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a script that runs optipng on every .py file in /var/lib/app, 8 jobs in parallel." }, { "role": "assistant", "content": "#!/usr/bin/env bas...
script
xargs
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Report iostat throughput in megabytes, 10s interval, 5 rounds." }, { "role": "assistant", "content": "iostat -m 10 5" } ]
single
iostat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a small script that prints a small system report: hostname, uptime, disk and memory usage." }, { "role": "assistant", "content": "#!/usr/b...
script
report
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "which ssh log lines mention 'failed'?" }, { "role": "assistant", "content": "journalctl -u ssh --no-pager | grep -i failed" } ]
pipeline
journalctl
[ { "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://proxy.local/health: 5 attempts, 1s apart." }, { "role": "assistant", "content": "#!/usr/bin/env ba...
script
curl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Follow live logs for containerd." }, { "role": "assistant", "content": "journalctl -u containerd -f" } ]
single
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "For each .pdf file under backups, record a sha256 checksum in a manifest file." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nshopt -s nullglob\nfor f in backups/*...
script
for
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the 10 most common 'TODO'-related lines in audit.log." }, { "role": "assistant", "content": "grep 'TODO' audit.log | sort | uniq -c | sort ...
pipeline
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the top 15 most frequent values in field 9 of the comma-separated file orders.tsv." }, { "role": "assistant", "content": "cut -d, -f9 orders.tsv | sort | uniq ...
pipeline
cut
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write me a script that verifies the environment variables DB_HOST, DB_PASS and REDIS_URL are all set before running." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\...
script
env
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Add a timestamp column to vmstat, 3s interval, 5 rounds." }, { "role": "assistant", "content": "vmstat -t 3 5" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show every listening socket and its process." }, { "role": "assistant", "content": "netstat -tunlp" } ]
single
netstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Bump process 7758 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 7758" } ]
single
renice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show kernel messages from the daemon facility." }, { "role": "assistant", "content": "dmesg -f daemon" } ]
single
dmesg
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read export.md, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat export.md | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how many files are in docs." }, { "role": "assistant", "content": "ls -1 docs | wc -l" } ]
pipeline
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the biggest files under releases." }, { "role": "assistant", "content": "du -ah releases | sort -rh | head -n 20" } ]
pipeline
du
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show who is logged in and what they're doing." }, { "role": "assistant", "content": "w" } ]
single
w
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Process all .pdf files under data with gzip using 4 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset ...
script
xargs
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Bump process 9577 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 9577" } ]
single
renice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Background 'ffmpeg -i in.mp4 out.mp4' at nice level 1." }, { "role": "assistant", "content": "nice -n 1 ffmpeg -i in.mp4 out.mp4 &" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sample iostat 3 times at 5-second intervals." }, { "role": "assistant", "content": "iostat 5 3" } ]
single
iostat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from audit.md." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' audit.md | sort -u"...
pipeline
sed
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List sessions with destination db02.corp.net." }, { "role": "assistant", "content": "ss -tn dst db02.corp.net" } ]
single
ss
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "show memcached logs from the last 3 days" }, { "role": "assistant", "content": "journalctl -u memcached --since '3 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Background './import.sh' at nice level 5." }, { "role": "assistant", "content": "nice -n 5 ./import.sh &" } ]
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Start 'npm run build' with nice value 1 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 1 npm run build" } ]
single
nice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the PID and memory of python processes." }, { "role": "assistant", "content": "ps aux | grep python | grep -v grep | awk '{print $2, $4}'" } ]
pipeline
ps
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "reduce the priority of all processes owned by backup" }, { "role": "assistant", "content": "renice -n 15 -u backup" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .xml files in /var/cache" }, { "role": "assistant", "content": "ls /var/cache | grep '\\.xml$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me the abbreviated w output." }, { "role": "assistant", "content": "w -s" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Lower the priority of process 7437 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 7437" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a script that reads a yes/no answer and handles Y/y/yes and N/n/no with a case statement." }, { "role": "assistant", "content": "#!/usr/b...
script
case
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How do I show the top 5 processes by memory?" }, { "role": "assistant", "content": "ps aux --sort=-%mem | head -n 6" } ]
pipeline
ps
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list the distinct error messages in error.log" }, { "role": "assistant", "content": "grep -i error error.log | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a bash script that makes each file read-only for all .pdf files under data." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
chmod
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List connections using port 80 as source or destination." }, { "role": "assistant", "content": "ss -tn 'sport = :80 or dport = :80'" } ]
single
ss
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create an empty file named schema.tmp." }, { "role": "assistant", "content": "touch schema.tmp" } ]
single
touch
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the biggest files under data." }, { "role": "assistant", "content": "du -ah data | sort -rh | head -n 20" } ]
pipeline
du
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Filter dmesg to warnings." }, { "role": "assistant", "content": "dmesg -l warn" } ]
single
dmesg
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the raw kernel message buffer." }, { "role": "assistant", "content": "dmesg -r" } ]
single
dmesg
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show per-partition stats for sda every 5s." }, { "role": "assistant", "content": "iostat -p sda 5" } ]
single
iostat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Retry connection to www.corp.net:5432 at most 10 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": "List the remote IPs with the most open connections." }, { "role": "assistant", "content": "ss -tn | awk 'NR>1 {print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr ...
pipeline
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Give me a one-off vmstat summary." }, { "role": "assistant", "content": "vmstat" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run vmstat every 2s and stop after 20 samples." }, { "role": "assistant", "content": "vmstat 2 20" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a bash script that makes each file read-only for all .js files under /srv/data." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset...
script
chmod
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print the most recent 50 dmesg entries." }, { "role": "assistant", "content": "dmesg -T | tail -n 50" } ]
single
dmesg
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "print the total and count of column 3 in metrics.log" }, { "role": "assistant", "content": "awk '{sum+=$3; c++} END{print sum, c}' metrics.log" } ]
pipeline
awk
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run 'dd if=/dev/zero of=test.img bs=1M count=1024' niced to 5 in the background." }, { "role": "assistant", "content": "nice -n 5 dd if=/dev/zer...
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "reduce the priority of all processes owned by redis" }, { "role": "assistant", "content": "renice -n 15 -u redis" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the systemd journal for the firewalld service." }, { "role": "assistant", "content": "journalctl -u firewalld" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "reduce the priority of all processes owned by admin" }, { "role": "assistant", "content": "renice -n 15 -u admin" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sample free 10 times at 3-second intervals in megabytes." }, { "role": "assistant", "content": "free -m -s 3 -c 10" } ]
single
free
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show a one-shot summary of virtual memory, processes and CPU." }, { "role": "assistant", "content": "vmstat" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run a python script with a nice value of 10." }, { "role": "assistant", "content": "nice -n 10 python main.py" } ]
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sort output.conf numerically in reverse order." }, { "role": "assistant", "content": "sort -nr output.conf" } ]
single
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Append the current date to kern.log." }, { "role": "assistant", "content": "date >> kern.log" } ]
pipeline
redirection
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show memory usage in gigabytes." }, { "role": "assistant", "content": "free -g" } ]
single
free
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "display network interface statistics" }, { "role": "assistant", "content": "netstat -i" } ]
single
netstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "make a bzip2-compressed tarball of cache" }, { "role": "assistant", "content": "tar -cjf cache.tar.bz2 cache" } ]
single
tar
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Please print it with line numbers in error.png." }, { "role": "assistant", "content": "nl error.png" } ]
single
nl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Run 'python train.py' niced to 15 in the background." }, { "role": "assistant", "content": "nice -n 15 python train.py &" } ]
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the most recently modified file in data." }, { "role": "assistant", "content": "ls -t data | head -n 1" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the process tree." }, { "role": "assistant", "content": "pstree" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Use vmstat's wide output, 5s apart, 30 times." }, { "role": "assistant", "content": "vmstat -w 5 30" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List active TCP sessions." }, { "role": "assistant", "content": "ss -t state established" } ]
single
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the process tree for user mysql." }, { "role": "assistant", "content": "pstree mysql" } ]
single
pstree
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need per-database PostgreSQL backups written to /var/backups and pruned after 3 days." }, { "role": "assistant", "content": "#!/usr/bin/env ba...
script
pg_dump
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "resume an interrupted download of https://staging.example.org/big.iso" }, { "role": "assistant", "content": "wget -c https://staging.example.org/big.iso" } ]
single
wget
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "count the bytes in access.log" }, { "role": "assistant", "content": "wc -c access.log" } ]
single
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show uptime formatted as hours:minutes." }, { "role": "assistant", "content": "awk '{printf \"%d:%02d\\n\", $1/3600, ($1%3600)/60}' /proc/uptime" } ]
single
uptime
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Start 'python train.py' with nice value 10 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 10 python train.py" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "report I/O stats 2 times, one per second" }, { "role": "assistant", "content": "iostat 1 2" } ]
single
iostat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "give the owner rwx and everyone else read on catalog.tmp" }, { "role": "assistant", "content": "chmod 744 catalog.tmp" } ]
single
chmod
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Can you write a script that verifies the environment variables REDIS_URL, PORT and AWS_REGION are all set before running?" }, { "role": "assistant", ...
script
env
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the disk usage of /srv/www broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 /srv/www 2>/dev/null | sort -rh" } ]
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run 'npm run build' at higher priority (nice -10); needs root." }, { "role": "assistant", "content": "sudo nice -n -10 npm run build" } ]
single
nice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read payload.md, then keep only non-empty lines — as a pipeline." }, { "role": "assistant", "content": "cat payload.md | grep -v '^$'" } ]
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the 50 most recent prometheus log lines, newest last." }, { "role": "assistant", "content": "journalctl -u prometheus -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow live logs for docker." }, { "role": "assistant", "content": "journalctl -u docker -f" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "give me a human-readable memory summary" }, { "role": "assistant", "content": "free -h" } ]
single
free
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List listening TCP sockets with the owning process." }, { "role": "assistant", "content": "ss -tlnp" } ]
single
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Iterate the hosts in servers.txt; the script checks if port 22 is open and marks each reachable or not." }, { "role": "assistant", "content": "#!/usr/...
script
ssh
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need getopts handling for three options: -n, -c and -d; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nname=\"\"; count=\"\"; dir=\"\"\...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print just the PID using port 8080." }, { "role": "assistant", "content": "lsof -i :8080 -t" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "enable sshd to start on boot" }, { "role": "assistant", "content": "sudo systemctl enable sshd" } ]
single
systemctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a start/stop/restart control script for the fail2ban service using a case statement." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
case
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read servers.txt and for each host, report UP/DOWN based on whether it curls the /health endpoint." }, { "role": "assistant", "content": "#!/usr/bin/e...
script
curl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Give './import.sh' a boosted CPU priority of -10." }, { "role": "assistant", "content": "sudo nice -n -10 ./import.sh" } ]
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Background 'npm run build' at nice level 10." }, { "role": "assistant", "content": "nice -n 10 npm run build &" } ]
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Poll memory in MB every 5s, 10 times." }, { "role": "assistant", "content": "free -m -s 5 -c 10" } ]
single
free
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Back up data to /mnt/backup as a dated gzip archive, pruning all but the last 30 backups." }, { "role": "assistant", "content": "#!/usr/bin/env b...
script
tar
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the average of the second column in data.csv." }, { "role": "assistant", "content": "awk '{s+=$2; n++} END{print s/n}' data.csv" } ]
pipeline
awk