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": "Print just the PID using port 3306." }, { "role": "assistant", "content": "lsof -i :3306 -t" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Bump process 1427 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 1427" } ]
single
renice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extended iostat every 3s, hiding idle devices." }, { "role": "assistant", "content": "iostat -xz 3" } ]
single
iostat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 15 hottest values in column 3 of sales.tsv (by frequency)." }, { "role": "assistant", "content": "cut -d, -f3 sales.tsv | sort | uniq -c | sort -nr | head -n 15" } ]
pipeline
cut
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Replace every occurrence of 'email' with 'disabled' in schema.csv and print the result." }, { "role": "assistant", "content": "sed 's/email/disab...
single
sed
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "replace tabs with commas in build.conf and write to build.conf.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' build.conf > build.conf.csv"...
pipeline
sed
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Use vmstat's wide output, 1s apart, 30 times." }, { "role": "assistant", "content": "vmstat -w 1 30" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Can you write a script that retries a git fetch from origin up to 5 times, sleeping 1s between attempts?" }, { "role": "assistant", "content": "...
script
git
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need per-database MySQL backups written to /srv/backup and pruned after 10 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nde...
script
mysqldump
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show every open file under scripts." }, { "role": "assistant", "content": "lsof +D scripts" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 6916 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 6916" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter netstat for connections to or from proxy.corp.net." }, { "role": "assistant", "content": "netstat -tn | grep proxy.corp.net" } ]
single
netstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display memory usage in megabytes." }, { "role": "assistant", "content": "free -m" } ]
single
free
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show vmstat in megabytes, 2s interval, 30 samples." }, { "role": "assistant", "content": "vmstat -S M 2 30" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run 'gzip huge.log' at higher priority (nice -10); needs root." }, { "role": "assistant", "content": "sudo nice -n -10 gzip huge.log" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run vmstat every 5s and stop after 5 samples." }, { "role": "assistant", "content": "vmstat 5 5" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read servers.txt line by line, skipping comments and blanks, and echo each entry numbered." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nn=0\nwhile IFS= read -r l...
script
while
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display kernel messages colorized with timestamps." }, { "role": "assistant", "content": "dmesg -TL" } ]
single
dmesg
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "find the full path of curl and follow symlinks" }, { "role": "assistant", "content": "readlink -f $(which curl)" } ]
single
which
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Is anything listening on port 80?" }, { "role": "assistant", "content": "ss -tlnp sport = :80" } ]
single
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count 'corrupt' occurrences in the redis journal today." }, { "role": "assistant", "content": "journalctl -u redis --since today --no-pager | grep -c ...
pipeline
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print the current user's numeric UID." }, { "role": "assistant", "content": "id -u" } ]
single
id
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show what PID 7956 has open." }, { "role": "assistant", "content": "lsof -p 7956" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Background './import.sh' at nice level 19." }, { "role": "assistant", "content": "nice -n 19 ./import.sh &" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show all TCP sockets touching port 2379." }, { "role": "assistant", "content": "ss -tn 'sport = :2379 or dport = :2379'" } ]
single
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run 'find / -name '*.core'' at a lower priority (nice 10)." }, { "role": "assistant", "content": "nice -n 10 find / -name '*.core'" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Use vmstat's wide output, 1s apart, 20 times." }, { "role": "assistant", "content": "vmstat -w 1 20" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Add a timestamp column to vmstat, 1s interval, 3 rounds." }, { "role": "assistant", "content": "vmstat -t 1 3" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given response.md, keep only non-empty lines." }, { "role": "assistant", "content": "cat response.md | grep -v '^$'" } ]
pipeline
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need getopts handling for three options: -t, -d and -l; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nt...
script
getopts
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find any socket using port 5432 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :5432" } ]
single
netstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the subtree of processes under PID 1565." }, { "role": "assistant", "content": "pstree -p 1565" } ]
single
pstree
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Background 'gzip huge.log' at nice level 1." }, { "role": "assistant", "content": "nice -n 1 gzip huge.log &" } ]
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Start './import.sh' with nice value 15 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 15 ./import.sh" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Is anything listening 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": "Print the most recent 100 dmesg entries." }, { "role": "assistant", "content": "dmesg -T | tail -n 100" } ]
single
dmesg
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Back up /home/deploy to /srv/backup as a dated bzip2 archive, pruning all but the last 10 backups." }, { "role": "assistant", "content": "#!/usr...
script
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List all files opened by sshd." }, { "role": "assistant", "content": "lsof -c sshd" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write me a script that parses -f (file), -n (count) and -v (verbose) options with getopts." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipe...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "download https://monitor.example.com/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://monitor.example.com/list...
pipeline
curl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Background './import.sh' at nice level 10." }, { "role": "assistant", "content": "nice -n 10 ./import.sh &" } ]
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter dmesg to the syslog facility." }, { "role": "assistant", "content": "dmesg -f syslog" } ]
single
dmesg
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show only kernel warning-level messages." }, { "role": "assistant", "content": "dmesg -l warn" } ]
single
dmesg
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display the ancestors of process 8627 as a tree." }, { "role": "assistant", "content": "pstree -s 8627" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Recursively set owner and group of downloads to git:mysql." }, { "role": "assistant", "content": "sudo chown -R git:mysql downloads" } ]
single
chown
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "reload firewalld without a full restart" }, { "role": "assistant", "content": "sudo systemctl reload firewalld" } ]
single
systemctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "reduce the priority of all processes owned by nginx" }, { "role": "assistant", "content": "renice -n 15 -u nginx" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run vmstat with MB units every 2 seconds for 20 rounds." }, { "role": "assistant", "content": "vmstat -S M 2 20" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Short w listing for user nginx." }, { "role": "assistant", "content": "w -s nginx" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Run 'npm run build' niced to 15 in the background." }, { "role": "assistant", "content": "nice -n 15 npm run build &" } ]
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Create a script that categorizes a filename by extension using case (is a .gif an image, archive, doc?)." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
case
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Create a gzip-compressed archive of the migrations directory." }, { "role": "assistant", "content": "tar -czf migrations.tar.gz migrations" } ]
single
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Move sales.csv into the downloads folder." }, { "role": "assistant", "content": "mv sales.csv downloads/" } ]
single
mv
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "delete all blank lines from server.log" }, { "role": "assistant", "content": "sed '/^$/d' server.log" } ]
single
sed
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Iterate the hosts in servers.txt; the script pings each host once and marks each reachable or not." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -...
script
ping
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List the files opened by process 1755." }, { "role": "assistant", "content": "lsof -p 1755" } ]
single
lsof
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the systemd journal for the mariadb service." }, { "role": "assistant", "content": "journalctl -u mariadb" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run the backup script, sending stdout and stderr to nginx-error.log." }, { "role": "assistant", "content": "./backup.sh > nginx-error.log 2>&1" ...
pipeline
redirection
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a health-check loop over servers.txt that pings each host once and prints the status of each." }, { "role": "assistant", "content": "#!/usr...
script
ping
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find any socket using port 443 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :443" } ]
single
netstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch https://staging.corp.net/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl -s -o /dev/null -w '%{htt...
single
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show CPU and disk I/O stats every 2 seconds, 5 times." }, { "role": "assistant", "content": "iostat 2 5" } ]
single
iostat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "replace tabs with commas in auth.txt and write to auth.txt.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' auth.txt > auth.txt.csv" } ]
pipeline
sed
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List connections using port 443 as source or destination." }, { "role": "assistant", "content": "ss -tn 'sport = :443 or dport = :443'" } ]
single
ss
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List git's activity, headerless." }, { "role": "assistant", "content": "w -h git" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the 5 largest subdirectories of config." }, { "role": "assistant", "content": "du -h config/* 2>/dev/null | sort -rh | head -n 5" } ]
pipeline
du
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "show nginx logs from the last 2 days" }, { "role": "assistant", "content": "journalctl -u nginx --since '2 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Wide-format vmstat every 5s, 10 samples." }, { "role": "assistant", "content": "vmstat -w 5 10" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Refresh memory usage every 3 seconds." }, { "role": "assistant", "content": "free -h -s 3" } ]
single
free
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List active (established) sessions on port 2379." }, { "role": "assistant", "content": "lsof -i :2379 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display pstree with each process's arguments." }, { "role": "assistant", "content": "pstree -a" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sample vmstat 30 times at a 2-second interval." }, { "role": "assistant", "content": "vmstat 2 30" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "quietly download https://staging.internal/data.json and save it as data.json" }, { "role": "assistant", "content": "wget -q -O data.json https://stagi...
single
wget
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the disk usage of artifacts broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 artifacts 2>/dev/null | s...
pipeline
du
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fail fast if any of DB_PASS, API_KEY, REDIS_URL is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor var in DB_PASS API_KEY REDI...
script
env
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Given notes.json, show the last 15 lines." }, { "role": "assistant", "content": "cat notes.json | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a script with a reusable log() function that prefixes messages with a timestamp and severity." }, { "role": "assistant", "content": "#!/usr...
script
function
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Get the bare PID that holds port 9000." }, { "role": "assistant", "content": "lsof -i :9000 -t" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Lower the priority of process 8876 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 8876" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from 1.1.1.1." }, { "role": "assistant", "content": "netstat -tn | grep 1.1.1.1" } ]
single
netstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the most recently modified file in assets." }, { "role": "assistant", "content": "ls -t assets | head -n 1" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Zip up the logs directory into logs.zip." }, { "role": "assistant", "content": "zip -r logs.zip logs" } ]
single
zip
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Retry connection to monitor.example.com:5432 at most 4 times with a 3-second backoff, failing loudly if it never succeeds." }, { "role": "assistant",...
script
bash
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "monitor system performance with vmstat every 3 seconds using human-readable units" }, { "role": "assistant", "content": "vmstat -S M 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "show grafana-server logs from the last 90 days" }, { "role": "assistant", "content": "journalctl -u grafana-server --since '90 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the last 20 lines containing 'permission denied' in output.log." }, { "role": "assistant", "content": "grep 'permission denied' output.log ...
pipeline
grep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Filter netstat for connections to or from api.corp.net." }, { "role": "assistant", "content": "netstat -tn | grep api.corp.net" } ]
single
netstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "download https://mail.local/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://mail.local/list.txt | wc -l" } ...
pipeline
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sample free 5 times at 1-second intervals in megabytes." }, { "role": "assistant", "content": "free -m -s 1 -c 5" } ]
single
free
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "give me 30 vmstat readings spaced 10 seconds apart" }, { "role": "assistant", "content": "vmstat 10 30" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Parse command-line flags -l (level), -o (output) and -n (name) using getopts and validate that -l is provided." }, { "role": "assistant", "conten...
script
getopts
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List just the filenames under artifacts that contain '502'." }, { "role": "assistant", "content": "grep -rl '502' artifacts" } ]
single
grep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show a recursive listing of artifacts." }, { "role": "assistant", "content": "ls -R artifacts" } ]
single
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Move schema.gz into the include folder." }, { "role": "assistant", "content": "mv schema.gz include/" } ]
single
mv
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Start 'make -j4' with nice value 5 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 5 make -j4" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Background 'npm run build' at nice level 5." }, { "role": "assistant", "content": "nice -n 5 npm run build &" } ]
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Short w listing for user postgres." }, { "role": "assistant", "content": "w -s postgres" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "which directories under images are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 images | sort -rh" } ]
pipeline
du
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What IPs does this machine have?" }, { "role": "assistant", "content": "hostname -I" } ]
single
hostname
[ { "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: apache2 ssh mysql." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipe...
script
for