messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch JSON from https://cdn.local/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://cdn.local/api/use...
pipeline
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Make a backup copy of credentials.old called credentials.old.bak" }, { "role": "assistant", "content": "cp credentials.old credentials.old.bak" ...
single
cp
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a preflight check that DB_PASS, PORT and REDIS_URL exist in the environment." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nf...
script
env
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Process urls.txt one line at a time, ignoring # comments, printing a running index." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
while
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from api.example.com." }, { "role": "assistant", "content": "netstat -tn | grep api.example.com" } ]
single
netstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "visualize the child processes of java as a tree" }, { "role": "assistant", "content": "pstree -p $(pgrep -o java)" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "download https://backup.example.com/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://backup.example.com/list.txt | wc -l" } ]
pipeline
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Clean up /var/tmp: remove .log files not modified in 1 days, recording each deletion." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "which directories under /etc/nginx are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 /etc/nginx | sort -rh" } ]
pipeline
du
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a Bash script that deletes files older than 90 days from /tmp, logging each removal." }, { "role": "assistant", "content": "#!/usr/bin/env ...
script
find
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show established connections on port 15672." }, { "role": "assistant", "content": "lsof -i :15672 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "locate files under src modified in the last 5 days" }, { "role": "assistant", "content": "find src -type f -mtime -5" } ]
single
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "change permissions to 644 on all files under lib" }, { "role": "assistant", "content": "find lib -type f -print0 | xargs -0 chmod 644" } ]
pipeline
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Poll memory in MB every 5s, 3 times." }, { "role": "assistant", "content": "free -m -s 5 -c 3" } ]
single
free
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Add a timestamp column to vmstat, 10s interval, 3 rounds." }, { "role": "assistant", "content": "vmstat -t 10 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the parent chain leading to PID 8212." }, { "role": "assistant", "content": "pstree -s 8212" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show established connections on port 2379." }, { "role": "assistant", "content": "lsof -i :2379 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a health check that reports UP/DOWN for the mysqld process via its exit code." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
if
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Gracefully terminate the process with PID 4169." }, { "role": "assistant", "content": "kill 4169" } ]
single
kill
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "change permissions to 644 on all files under /usr/local/bin" }, { "role": "assistant", "content": "find /usr/local/bin -type f -print0 | xargs -0 chmo...
pipeline
find
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List only directories inside modules." }, { "role": "assistant", "content": "ls -d modules/*/" } ]
single
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display the children of process 4238." }, { "role": "assistant", "content": "pstree -p 4238" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What are the 10 biggest files under /mnt/data?" }, { "role": "assistant", "content": "find /mnt/data -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 10" } ]
pipeline
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List just the filenames under /var/www that contain 'invalid'." }, { "role": "assistant", "content": "grep -rl 'invalid' /var/www" } ]
single
grep
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a start/stop/restart/status control script for postgresql using a case statement." }, { "role": "assistant", "content": "#!/usr/bin/env bas...
script
case
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a preflight check that DB_HOST, DB_PASS and PORT exist in the environment." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo...
script
env
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a script that verifies the environment variables DB_HOST, API_KEY and PORT are all set before running." }, { "role": "assistant", "content": "#!/usr/bin/env b...
script
env
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the process listening on port 3306." }, { "role": "assistant", "content": "lsof -i :3306" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "get the number of items in the JSON array at https://git.local/api/items" }, { "role": "assistant", "content": "curl -s https://git.local/api/items | ...
pipeline
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Process all .cache files under /var/lib/app with checksum with sha256sum using 4 parallel workers via xargs." }, { "role": "assistant", "content": "#!...
script
xargs
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "get the number of items in the JSON array at https://api.corp.net/api/items" }, { "role": "assistant", "content": "curl -s https://api.corp.net/a...
pipeline
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "enable postgresql to start on boot" }, { "role": "assistant", "content": "sudo systemctl enable postgresql" } ]
single
systemctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print how long the system has been up in H:MM." }, { "role": "assistant", "content": "awk '{printf \"%d:%02d\\n\", $1/3600, ($1%3600)/60}' /proc/...
single
uptime
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show every open file under artifacts." }, { "role": "assistant", "content": "lsof +D artifacts" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What is deploy running right now?" }, { "role": "assistant", "content": "w deploy" } ]
single
w
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print redis's process hierarchy including PIDs." }, { "role": "assistant", "content": "pstree -p redis" } ]
single
pstree
[ { "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 dmesg.log." }, { "role": "assistant", "content": "awk '{print $1}' dmesg.log | sort | uniq -c | sort -nr" } ]
pipeline
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I want reusable log() and die() shell functions with timestamps; die should exit 1." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nt...
script
function
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Run vmstat every 1s and stop after 30 samples." }, { "role": "assistant", "content": "vmstat 1 30" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count total lines across all .bak files in /srv/data." }, { "role": "assistant", "content": "find /srv/data -type f -name '*.bak' -print0 | xargs...
pipeline
find
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Lower the priority of process 9685 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 9685" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create the project directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir -p project && cd project" } ]
pipeline
chain
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Follow live logs for systemd-networkd." }, { "role": "assistant", "content": "journalctl -u systemd-networkd -f" } ]
single
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Watch active/inactive memory with vmstat every 1s." }, { "role": "assistant", "content": "vmstat -a 1" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Start 'find / -name '*.core'' with nice value 19 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 19 find / -name '*.core'" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Lower the priority of process 9641 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 9641" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the parent chain leading to PID 2713." }, { "role": "assistant", "content": "pstree -s 2713" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a script that runs optipng on every .py file in data, 8 jobs in parallel." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=data\nfind \"$dir\" -type f -nam...
script
xargs
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fail fast if any of PORT, ENV, DB_PASS is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo ...
script
env
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Restart containerd chronyd mysql one after another and report each result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefa...
script
for
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Bump process 5200 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 5200" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print even numbers up to 50 with a while loop and a counter." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ni=2\n...
script
while
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show lines in app.log that do NOT contain 'overflow'." }, { "role": "assistant", "content": "grep -v 'overflow' app.log" } ]
single
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "show cron logs from the last 10 days" }, { "role": "assistant", "content": "journalctl -u cron --since '10 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List sessions with destination staging.service.io." }, { "role": "assistant", "content": "ss -tn dst staging.service.io" } ]
single
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "which postgresql log lines mention 'failed'?" }, { "role": "assistant", "content": "journalctl -u postgresql --no-pager | grep -i failed" } ]
pipeline
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Run the backup script, sending stdout and stderr to dmesg.log." }, { "role": "assistant", "content": "./backup.sh > dmesg.log 2>&1" } ]
pipeline
redirection
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List only directories inside tests." }, { "role": "assistant", "content": "ls -d tests/*/" } ]
single
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Add a timestamp column to vmstat, 10s interval, 20 rounds." }, { "role": "assistant", "content": "vmstat -t 10 20" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Recursively set owner and group of uploads to ubuntu:sudo." }, { "role": "assistant", "content": "sudo chown -R ubuntu:sudo uploads" } ]
single
chown
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "monitor system performance with vmstat every 2 seconds using human-readable units" }, { "role": "assistant", "content": "vmstat -S M 2" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show open files for the mongod process." }, { "role": "assistant", "content": "lsof -c mongod" } ]
single
lsof
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list the distinct error messages in metrics.log" }, { "role": "assistant", "content": "grep -i error metrics.log | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Can you write a script that deletes .tmp files older than 180 days from cache and logs what it removed?" }, { "role": "assistant", "content": "#...
script
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List the 5 biggest files under assets." }, { "role": "assistant", "content": "find assets -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n ...
pipeline
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List active (established) sessions on port 9200." }, { "role": "assistant", "content": "lsof -i :9200 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "show redis logs from the last 10 days" }, { "role": "assistant", "content": "journalctl -u redis --since '10 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display the ancestors of process 4632 as a tree." }, { "role": "assistant", "content": "pstree -s 4632" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the ancestors of process 1473 as a tree." }, { "role": "assistant", "content": "pstree -s 1473" } ]
single
pstree
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show what PID 8590 has open." }, { "role": "assistant", "content": "lsof -p 8590" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fail fast if any of API_KEY, DB_PASS, PORT is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo p...
script
env
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a loop that restarts these services in order: fail2ban containerd memcached." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
for
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "check the type of every file in cache" }, { "role": "assistant", "content": "file cache/*" } ]
single
file
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the last 20 warning entries for fail2ban." }, { "role": "assistant", "content": "journalctl -u fail2ban -p warning -n 20 --no-pager" } ]
pipeline
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Download https://app01.example.com/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl -O https://app01.example.com/file.zip" } ]
single
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Bump process 6861 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 6861" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show www-data's process tree with PIDs." }, { "role": "assistant", "content": "pstree -p www-data" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how many lines in ingest.log match 'null'." }, { "role": "assistant", "content": "grep -c 'null' ingest.log" } ]
single
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find any socket using port 6379 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :6379" } ]
single
netstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Launch 'find / -name '*.core'' at reduced priority (5)." }, { "role": "assistant", "content": "nice -n 5 find / -name '*.core'" } ]
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show kernel messages since today." }, { "role": "assistant", "content": "dmesg -T --since 'today'" } ]
single
dmesg
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Wide-format vmstat every 2s, 20 samples." }, { "role": "assistant", "content": "vmstat -w 2 20" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a rotating backup: archive data into /var/backups with bzip2, retain 30 copies." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail...
script
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "What is svc-app running right now?" }, { "role": "assistant", "content": "w svc-app" } ]
single
w
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Start './import.sh' with nice value 1 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 1 ./import.sh" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run iostat every 3s for 3 reports." }, { "role": "assistant", "content": "iostat 3 3" } ]
single
iostat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find files in /var/lib/mysql owned by ubuntu." }, { "role": "assistant", "content": "find /var/lib/mysql -type f -user ubuntu" } ]
single
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a script that accepts --name (-n), --input (-i) and --port (-p) via getopts, with a usage message." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nname=\"\";...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List all files opened by mongod." }, { "role": "assistant", "content": "lsof -c mongod" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show jenkins's process tree with PIDs." }, { "role": "assistant", "content": "pstree -p jenkins" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a preflight check that AWS_REGION, API_KEY and REDIS_URL exist in the environment." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipef...
script
env
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'invalid'-related lines in ingest.log." }, { "role": "assistant", "content": "grep 'invalid' ingest.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Which processes have files open in /var/www?" }, { "role": "assistant", "content": "lsof +D /var/www" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print only lines 10 through 20 of server.ini." }, { "role": "assistant", "content": "sed -n '10,20p' server.ini" } ]
single
sed
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I want a cleanup script for /var/log that purges .log files older than 1 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
find
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Which processes have files open in bin?" }, { "role": "assistant", "content": "lsof +D bin" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run 'make -j4' at a lower priority (nice 15)." }, { "role": "assistant", "content": "nice -n 15 make -j4" } ]
single
nice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the 20 largest subdirectories of include." }, { "role": "assistant", "content": "du -h include/* 2>/dev/null | 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": "Write a one-liner to list the top 20 remote IPs by number of connections." }, { "role": "assistant", "content": "ss -tn | awk 'NR>1 {print $5}' |...
pipeline
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Change the owner of profile.md to git." }, { "role": "assistant", "content": "sudo chown git profile.md" } ]
single
chown