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": "Display the ancestors of process 990 as a tree." }, { "role": "assistant", "content": "pstree -s 990" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fail fast if any of DB_PASS, REDIS_URL, DB_HOST is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor var in DB_PASS REDIS_URL DB...
script
env
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the last 20 warning entries for mongod." }, { "role": "assistant", "content": "journalctl -u mongod -p warning -n 20 --no-pager" } ]
pipeline
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "which cron log lines mention 'failed'?" }, { "role": "assistant", "content": "journalctl -u cron --no-pager | grep -i failed" } ]
pipeline
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Watch active/inactive memory with vmstat every 3s." }, { "role": "assistant", "content": "vmstat -a 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Follow live logs for postgresql." }, { "role": "assistant", "content": "journalctl -u postgresql -f" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the 10 largest subdirectories in cache." }, { "role": "assistant", "content": "du -h cache/* | sort -rh | head -n 10" } ]
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show open files for the vim process." }, { "role": "assistant", "content": "lsof -c vim" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a health-check loop over hosts.txt that curls the /health endpoint and prints the status of each." }, { "role": "assistant", "content": "#...
script
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "strip leading whitespace from every line of migration.csv and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' m...
pipeline
sed
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List erin's active sessions with w." }, { "role": "assistant", "content": "w erin" } ]
single
w
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Check dmesg for any out-of-memory killer events." }, { "role": "assistant", "content": "dmesg -T | grep -i 'out of memory'" } ]
pipeline
dmesg
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Squeeze repeated spaces into a single space in report.json." }, { "role": "assistant", "content": "tr -s ' ' < report.json" } ]
single
tr
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show TCP connections involving staging.local." }, { "role": "assistant", "content": "netstat -tn | grep staging.local" } ]
single
netstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I/O stats in MB/s every 1s for 20 samples." }, { "role": "assistant", "content": "iostat -m 1 20" } ]
single
iostat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show open files for the celery process." }, { "role": "assistant", "content": "lsof -c celery" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from db01.corp.net." }, { "role": "assistant", "content": "netstat -tn | grep db01.corp.net" } ]
single
netstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Which processes have files open in data?" }, { "role": "assistant", "content": "lsof +D data" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Recursively set owner and group of modules to erin:deploy." }, { "role": "assistant", "content": "sudo chown -R erin:deploy modules" } ]
single
chown
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How many lines in nginx-error.log mention 'throttled'?" }, { "role": "assistant", "content": "grep -c 'throttled' nginx-error.log | cat" } ]
pipeline
grep
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I want a one-shot health report script covering uptime, memory and disk." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail...
script
report
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Report free and used memory in MB." }, { "role": "assistant", "content": "free -m" } ]
single
free
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Generate a status summary showing host, load, free memory and root disk usage." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -...
script
report
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How many connections are there to port 80?" }, { "role": "assistant", "content": "ss -tn | grep ':80' | wc -l" } ]
pipeline
ss
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the process tree for user operator." }, { "role": "assistant", "content": "pstree operator" } ]
single
pstree
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a script that retries a connection to www.internal:5432 up to 3 times, sleeping 3s between attempts." }, { "role": "assistant", "content":...
script
bash
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Lower the priority of process 3275 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 3275" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Wide-format vmstat every 1s, 3 samples." }, { "role": "assistant", "content": "vmstat -w 1 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Launch 'find / -name '*.core'' at reduced priority (10)." }, { "role": "assistant", "content": "nice -n 10 find / -name '*.core'" } ]
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extended disk I/O stats every 5s, 5 samples." }, { "role": "assistant", "content": "iostat -x 5 5" } ]
single
iostat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Discard all output from a noisy command." }, { "role": "assistant", "content": "./noisy.sh > /dev/null 2>&1" } ]
pipeline
redirection
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "show ssh logs from the last 21 days" }, { "role": "assistant", "content": "journalctl -u ssh --since '21 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Run vmstat with MB units every 5 seconds for 5 rounds." }, { "role": "assistant", "content": "vmstat -S M 5 5" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a bash script that moves each file into an archive/ subfolder for all .sh files under /mnt/storage." }, { "role": "assistant", "content":...
script
mv
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Bump process 2064 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 2064" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show vmstat in megabytes, 5s interval, 5 samples." }, { "role": "assistant", "content": "vmstat -S M 5 5" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Save errors to error.log and normal output to out.log separately." }, { "role": "assistant", "content": "./run.sh > out.log 2> error.log" } ]
pipeline
redirection
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how often each column-9 value appears in request.log; show the 20 most common." }, { "role": "assistant", "content": "awk '{print $9}' request.log | sort | uniq -c | sort -nr | head -n 20" ...
pipeline
awk
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What are the 10 most common entries in column 5 of metrics.csv?" }, { "role": "assistant", "content": "cut -d, -f5 metrics.csv | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
cut
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Background 'npm run build' at nice level 19." }, { "role": "assistant", "content": "nice -n 19 npm run build &" } ]
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count how many times each line appears in invoice.tsv, most frequent first." }, { "role": "assistant", "content": "sort invoice.tsv | uniq -c | s...
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter netstat for connections to or from web01.corp.net." }, { "role": "assistant", "content": "netstat -tn | grep web01.corp.net" } ]
single
netstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a retry wrapper around git fetch from origin: 6 attempts, 3s apart." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo p...
script
git
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a health-check loop over servers.txt that checks if port 22 is open and prints the status of each." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nwhile IFS= ...
script
ssh
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the parent chain leading to PID 1139." }, { "role": "assistant", "content": "pstree -s 1139" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need getopts handling for three options: -o, -t and -n; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
getopts
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Make sales.md executable." }, { "role": "assistant", "content": "chmod +x sales.md" } ]
single
chmod
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show CPU and disk I/O statistics every 5 seconds." }, { "role": "assistant", "content": "iostat 5" } ]
single
iostat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Clean up /var/cache: remove .gz files not modified in 2 days, recording each deletion." }, { "role": "assistant", "content": "#!/usr/bin/env bas...
script
find
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Give me a small bash logging library: log() writes info, die() writes an error and aborts." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipe...
script
function
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Timestamped vmstat every 5s for 10 samples." }, { "role": "assistant", "content": "vmstat -t 5 10" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Set invoice.sh to permissions 644." }, { "role": "assistant", "content": "chmod 644 invoice.sh" } ]
single
chmod
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fail fast if any of API_KEY, REDIS_URL, DB_HOST is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\n...
script
env
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show TCP connections involving db01.service.io." }, { "role": "assistant", "content": "netstat -tn | grep db01.service.io" } ]
single
netstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show memory usage with buffers and cache in separate columns." }, { "role": "assistant", "content": "free -w" } ]
single
free
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Please show just the first line in notes.tar.gz." }, { "role": "assistant", "content": "head -n 1 notes.tar.gz" } ]
single
head
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How do I count how many systemd processes are running?" }, { "role": "assistant", "content": "pgrep -c systemd" } ]
pipeline
pgrep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Change the owner of release.tmp to postgres." }, { "role": "assistant", "content": "sudo chown postgres release.tmp" } ]
single
chown
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show what PID 3654 has open." }, { "role": "assistant", "content": "lsof -p 3654" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Copy build.old into static only if it's newer than what's there." }, { "role": "assistant", "content": "cp -u build.old static/" } ]
single
cp
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read targets.txt and for each host, report UP/DOWN based on whether it curls the /health endpoint." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nwhile IFS= read -...
script
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a backup script that tars /var/www into a timestamped archive under /backup and keeps only the 7 newest." }, { "role": "assistant", "conte...
script
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 6605 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 6605" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find all .jpg files under /var/www." }, { "role": "assistant", "content": "find /var/www -type f -name '*.jpg'" } ]
single
find
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show active vs inactive memory using vmstat at 2-second intervals." }, { "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": "Launch 'make -j4' at reduced priority (10)." }, { "role": "assistant", "content": "nice -n 10 make -j4" } ]
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Can you write a script that creates a temp working directory and cleans it up on exit using a trap?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset ...
script
trap
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many unique IP-like first fields appear in messages." }, { "role": "assistant", "content": "awk '{print $1}' messages | sort | uniq -c | sort -nr" } ]
pipeline
grep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count total lines across all .json files in images." }, { "role": "assistant", "content": "find images -type f -name '*.json' -print0 | xargs -0 cat | wc -l" } ]
pipeline
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "replace tabs with commas in data.csv and write to data.csv.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' data.csv > data.csv.csv" } ]
pipeline
sed
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Process all .gif files under logs with optipng using 4 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
xargs
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Start 'dd if=/dev/zero of=test.img bs=1M count=1024' with nice value 15 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -...
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the load-average part of uptime." }, { "role": "assistant", "content": "uptime | awk -F'load average:' '{print $2}'" } ]
single
uptime
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Lower the priority of process 2028 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 2028" } ]
single
renice
[ { "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 .xml files under /opt/app." }, { "role": "assistant", "content": "#!/usr/bin/env bas...
script
chmod
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a script that categorizes a filename by extension using case (is a .pdf an image, archive, doc?)." }, { "role": "assistant", "content": "#!...
script
case
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the total size of the /home/alice directory in human-readable form." }, { "role": "assistant", "content": "du -sh /home/alice" } ]
single
du
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run vmstat every 3s and stop after 3 samples." }, { "role": "assistant", "content": "vmstat 3 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Get the bare PID that holds port 5432." }, { "role": "assistant", "content": "lsof -i :5432 -t" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Background 'ffmpeg -i in.mp4 out.mp4' at nice level 5." }, { "role": "assistant", "content": "nice -n 5 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": "Find any socket using port 25 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :25" } ]
single
netstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under static are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 static | sort -rh" } ]
pipeline
du
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Filter dmesg to errors and warnings." }, { "role": "assistant", "content": "dmesg -l err,warn" } ]
single
dmesg
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Background 'python train.py' at nice level 15." }, { "role": "assistant", "content": "nice -n 15 python train.py &" } ]
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "reload chronyd without a full restart" }, { "role": "assistant", "content": "sudo systemctl reload chronyd" } ]
single
systemctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "recursively search tests for 'retry' and show line numbers" }, { "role": "assistant", "content": "grep -rn 'retry' tests" } ]
single
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Monitor the sda device and its partitions with iostat every 10 seconds." }, { "role": "assistant", "content": "iostat -p sda 10" } ]
single
iostat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "visualize the child processes of vim as a tree" }, { "role": "assistant", "content": "pstree -p $(pgrep -o vim)" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Sum the response sizes (column 10) in data.csv." }, { "role": "assistant", "content": "awk '{s+=$10} END{print s}' data.csv" } ]
pipeline
awk
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 7545 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 7545" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Undo the last commit but keep the changes staged." }, { "role": "assistant", "content": "git reset --soft HEAD~1" } ]
single
git
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Parse export.csv as comma-separated id,name,email using while read and print each name." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
while
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List active (established) sessions on port 3306." }, { "role": "assistant", "content": "lsof -i :3306 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Start 'python train.py' with nice value 5 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 5 python train.py" } ]
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Device-only I/O stats every 3 seconds." }, { "role": "assistant", "content": "iostat -d 3" } ]
single
iostat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List the 20 biggest files under reports." }, { "role": "assistant", "content": "find reports -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head ...
pipeline
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "which directories under artifacts are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 artifacts | sort -rh" } ]
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Add a timestamp column to vmstat, 3s interval, 30 rounds." }, { "role": "assistant", "content": "vmstat -t 3 30" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the biggest files under /mnt/data." }, { "role": "assistant", "content": "du -ah /mnt/data | sort -rh | head -n 20" } ]
pipeline
du
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me the 5 biggest files under artifacts." }, { "role": "assistant", "content": "find artifacts -type f -printf '%s %p\\n' 2>/dev/null | sort -rn |...
pipeline
find