messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List sessions with destination proxy.example.com." }, { "role": "assistant", "content": "ss -tn dst proxy.example.com" } ]
single
ss
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the systemd journal for the mysql service." }, { "role": "assistant", "content": "journalctl -u mysql" } ]
single
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Watch active/inactive memory with vmstat every 2s." }, { "role": "assistant", "content": "vmstat -a 2" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a rotating backup: archive /data/uploads into /mnt/backup with bzip2, retain 3 copies." }, { "role": "assistant", "content": "#!/usr/bin/...
script
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the parent chain leading to PID 3372." }, { "role": "assistant", "content": "pstree -s 3372" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a small script that retries a curl to https://mail.example.org/health up to 5 times with a 2-second backoff." }, { "role": "assistant", "co...
script
retry
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch JSON from https://web01.internal/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://web01.intern...
pipeline
curl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give me a reusable confirm() helper that returns success only on an explicit yes." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nconfirm() {\n read -r -p \"${1:-A...
script
function
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "download https://cdn.service.io/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://cdn.service.io/list.txt | wc -l" } ]
pipeline
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Follow live logs for nginx." }, { "role": "assistant", "content": "journalctl -u nginx -f" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How big is templates overall?" }, { "role": "assistant", "content": "du -sh templates" } ]
single
du
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the systemd journal for the postgresql service." }, { "role": "assistant", "content": "journalctl -u postgresql" } ]
single
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show all FQDNs for this host." }, { "role": "assistant", "content": "hostname -A" } ]
single
hostname
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Lower the priority of process 1124 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 1124" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Create a script that prints a small system report: hostname, uptime, disk and memory usage." }, { "role": "assistant", "content": "#!/usr/bin/env bash...
script
report
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the process listening on port 11211." }, { "role": "assistant", "content": "lsof -i :11211" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Is anything listening on port 11211?" }, { "role": "assistant", "content": "ss -tlnp sport = :11211" } ]
single
ss
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "follow redirects when fetching https://1.1.1.1" }, { "role": "assistant", "content": "curl -L https://1.1.1.1" } ]
single
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Back up /var/lib/app to /backup as a dated bzip2 archive, pruning all but the last 5 backups." }, { "role": "assistant", "content": "#!/usr/bin/e...
script
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "What is ec2-user running right now?" }, { "role": "assistant", "content": "w ec2-user" } ]
single
w
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Report iostat throughput in megabytes, 3s interval, 5 rounds." }, { "role": "assistant", "content": "iostat -m 3 5" } ]
single
iostat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the 50 most recent elasticsearch log lines, newest last." }, { "role": "assistant", "content": "journalctl -u elasticsearch -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Which files does user backup have open?" }, { "role": "assistant", "content": "lsof -u backup" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Background 'dd if=/dev/zero of=test.img bs=1M count=1024' at nice level 1." }, { "role": "assistant", "content": "nice -n 1 dd if=/dev/zero of=t...
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List the files opened by process 6889." }, { "role": "assistant", "content": "lsof -p 6889" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How many lines in app.log mention 'stale'?" }, { "role": "assistant", "content": "grep -c 'stale' app.log | cat" } ]
pipeline
grep
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Bump process 2856 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 2856" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extended iostat every 2s, hiding idle devices." }, { "role": "assistant", "content": "iostat -xz 2" } ]
single
iostat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show a hex dump of the first 64 bytes of backup.css." }, { "role": "assistant", "content": "xxd -l 64 backup.css" } ]
single
xxd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Delete the first line of audit.csv in place." }, { "role": "assistant", "content": "sed -i '1d' audit.csv" } ]
single
sed
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need getopts handling for three options: -o, -i and -c; 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": "I need to follow the elasticsearch journal but only show lines mentioning 'dropped'." }, { "role": "assistant", "content": "journalctl -u elastic...
pipeline
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 1769 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 1769" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 2004 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 2004" } ]
single
renice
[ { "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 data.csv" }, { "role": "assistant", "content": "awk '{sum+=$3; c++} END{print sum, c}' data.csv" } ]
pipeline
awk
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show per-partition stats for sda every 3s." }, { "role": "assistant", "content": "iostat -p sda 3" } ]
single
iostat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 6409 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 6409" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show established connections on port 53." }, { "role": "assistant", "content": "lsof -i :53 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rename schema.css to schema.css.old" }, { "role": "assistant", "content": "mv schema.css schema.css.old" } ]
single
mv
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Launch 'ffmpeg -i in.mp4 out.mp4' at reduced priority (10)." }, { "role": "assistant", "content": "nice -n 10 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": "which directories under /opt/app are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 /opt/app | sort -rh" } ...
pipeline
du
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a script that checks whether report.sh exists and is non-empty, printing an appropriate message." }, { "role": "assistant", "content": "#...
script
if
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "count requests per HTTP status code in data.csv" }, { "role": "assistant", "content": "awk '{print $9}' data.csv | sort | uniq -c | sort -nr" } ]
pipeline
awk
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list only the .log files in tmp" }, { "role": "assistant", "content": "ls tmp | grep '\\.log$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Edit invoice.conf in place, replacing 'token' with 'POST'." }, { "role": "assistant", "content": "sed -i 's/token/POST/g' invoice.conf" } ]
single
sed
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 6891 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 6891" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Background 'python train.py' at nice level 1." }, { "role": "assistant", "content": "nice -n 1 python train.py &" } ]
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run 'ffmpeg -i in.mp4 out.mp4' niced to 15 in the background." }, { "role": "assistant", "content": "nice -n 15 ffmpeg -i in.mp4 out.mp4 &" } ]
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Loop over every .js file in /var/www and append its sha256 checksum to checksums.txt." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
for
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run vmstat with MB units every 10 seconds for 3 rounds." }, { "role": "assistant", "content": "vmstat -S M 10 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Check if test.md exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f test.md ] && cat test.md || echo 'not found'" } ]
pipeline
chain
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Set index.bak to permissions 644." }, { "role": "assistant", "content": "chmod 644 index.bak" } ]
single
chmod
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from customer.txt." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' customer....
pipeline
sed
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display www-data's processes as a tree." }, { "role": "assistant", "content": "pstree www-data" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Refresh memory usage every 1 seconds." }, { "role": "assistant", "content": "free -h -s 1" } ]
single
free
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "reduce the priority of all processes owned by dave" }, { "role": "assistant", "content": "renice -n 15 -u dave" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 1385 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 1385" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Is the grafana-server service currently active?" }, { "role": "assistant", "content": "systemctl is-active grafana-server" } ]
single
systemctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display the children of process 6643." }, { "role": "assistant", "content": "pstree -p 6643" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rename inventory.pdf to inventory.pdf.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n inventory.pdf inventory.pdf.old" } ]
single
mv
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Help me 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 helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count how often each column-7 value appears in app.log; show the 15 most common." }, { "role": "assistant", "content": "awk '{print $7}' app.log...
pipeline
awk
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch JSON from https://git.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://git.example.com/api/users | jq ." } ]
pipeline
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count error lines in the haproxy journal since yesterday." }, { "role": "assistant", "content": "journalctl -u haproxy --since yesterday | grep -...
pipeline
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 3647 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 3647" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from session.md." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' session.md | sort...
pipeline
sed
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check whether elasticsearch is running and exit 0 if so, 1 otherwise, with a message." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nproc=elasticsearch\nif pgrep -...
script
if
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "show nginx logs from the last 60 days" }, { "role": "assistant", "content": "journalctl -u nginx --since '60 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Report virtual memory statistics every 1 seconds, 3 times." }, { "role": "assistant", "content": "vmstat 1 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given output.txt, show the 20 longest lines." }, { "role": "assistant", "content": "cat output.txt | awk '{ print length, $0 }' | sort -rn | hea...
pipeline
awk
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a retry() function that runs any command up to 4 times until it succeeds." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo p...
script
function
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a backup script that xz-compresses /home/alice into a timestamped tarball under /var/backups and keeps only the 30 newest." }, { "role": "assis...
script
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 8195 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 8195" } ]
single
renice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Launch 'npm run build' at reduced priority (19)." }, { "role": "assistant", "content": "nice -n 19 npm run build" } ]
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From event.csv, convert everything to uppercase." }, { "role": "assistant", "content": "cat event.csv | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need to tally how many times each log level appears in gc.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' gc.log...
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sample vmstat 3 times at a 2-second interval." }, { "role": "assistant", "content": "vmstat 2 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Copy dump.py into dist only if it's newer than what's there." }, { "role": "assistant", "content": "cp -u dump.py dist/" } ]
single
cp
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Short w listing for user bob." }, { "role": "assistant", "content": "w -s bob" } ]
single
w
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Restrict dmesg to kernel messages." }, { "role": "assistant", "content": "dmesg -k" } ]
single
dmesg
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run 'tar -czf backup.tar.gz /home/deploy' at a lower priority (nice 5)." }, { "role": "assistant", "content": "nice -n 5 tar -czf backup.tar.gz /home/deploy" } ]
single
nice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Use vmstat's wide output, 3s apart, 3 times." }, { "role": "assistant", "content": "vmstat -w 3 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 4404 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 4404" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a preflight check that ENV, API_KEY and AWS_REGION exist in the environment." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nf...
script
env
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display alice's processes as a tree." }, { "role": "assistant", "content": "pstree alice" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me the 10 largest subdirectories of downloads." }, { "role": "assistant", "content": "du -h downloads/* 2>/dev/null | sort -rh | head -n 10" } ...
pipeline
du
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Back up logs to /var/backups as a dated bzip2 archive, pruning all but the last 5 backups." }, { "role": "assistant", "content": "#!/usr/bin/env ...
script
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List open files owned by www-data." }, { "role": "assistant", "content": "lsof -u www-data" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show vmstat in megabytes, 10s interval, 3 samples." }, { "role": "assistant", "content": "vmstat -S M 10 3" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "What is redis running right now?" }, { "role": "assistant", "content": "w redis" } ]
single
w
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the most recently modified file in media." }, { "role": "assistant", "content": "ls -t media | head -n 1" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "list only the .sql files in src" }, { "role": "assistant", "content": "ls src | grep '\\.sql$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many connections are there to port 8443?" }, { "role": "assistant", "content": "ss -tn | grep ':8443' | wc -l" } ]
pipeline
ss
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find any socket using port 15672 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :15672" } ]
single
netstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show CPU and disk I/O statistics every 1 seconds." }, { "role": "assistant", "content": "iostat 1" } ]
single
iostat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 10 most common 'warning:'-related lines in error.log." }, { "role": "assistant", "content": "grep 'warning:' error.log | sort | uniq -c | sor...
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Back up /opt/app to /backup as a dated gzip archive, pruning all but the last 10 backups." }, { "role": "assistant", "content": "#!/usr/bin/env ...
script
tar
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show TCP connections involving cdn.local." }, { "role": "assistant", "content": "netstat -tn | grep cdn.local" } ]
single
netstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Background 'gzip huge.log' at nice level 10." }, { "role": "assistant", "content": "nice -n 10 gzip huge.log &" } ]
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "move all .js files into the downloads directory" }, { "role": "assistant", "content": "mv *.js downloads/" } ]
single
mv