messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List www-data's activity, headerless." }, { "role": "assistant", "content": "w -h www-data" } ]
single
w
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Copy credentials.png to vendor/ but keep the original timestamps and permissions." }, { "role": "assistant", "content": "cp -p credentials.png v...
single
cp
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How many connections are there to port 27017?" }, { "role": "assistant", "content": "ss -tn | grep ':27017' | wc -l" } ]
pipeline
ss
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the last 20 lines containing 'SIGTERM' in worker.log." }, { "role": "assistant", "content": "grep 'SIGTERM' worker.log | tail -n 20" } ]
pipeline
grep
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "change just the group of metrics.html to deploy" }, { "role": "assistant", "content": "sudo chgrp deploy metrics.html" } ]
single
chown
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://mail.example.org/api/users" }, { "role": "assistant", "content": "curl -s https://mail.example.org/api/user...
pipeline
curl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check what holds port 53 with ss." }, { "role": "assistant", "content": "ss -tlnp sport = :53" } ]
single
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fetch https://app01.example.org/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl -s -o /dev/null -w '%{http_cod...
single
curl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Can you write a script that renames every .jpeg file in the current directory to .html?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor f in *.jpeg; do\n [ -e ...
script
for
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extended disk I/O stats every 10s, 20 samples." }, { "role": "assistant", "content": "iostat -x 10 20" } ]
single
iostat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Launch 'dd if=/dev/zero of=test.img bs=1M count=1024' at reduced priority (5)." }, { "role": "assistant", "content": "nice -n 5 dd if=/dev/zero of=tes...
single
nice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how often each column-5 value appears in sales.csv; show the 10 most common." }, { "role": "assistant", "content": "cut -d, -f5 sales.csv | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
cut
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Retry curl to https://staging.local/health at most 6 times with a 2-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", ...
script
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list the distinct error messages in scheduler.log" }, { "role": "assistant", "content": "grep -i error scheduler.log | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Search the kernel log for 'eth0' messages." }, { "role": "assistant", "content": "dmesg -T | grep -i eth0" } ]
single
dmesg
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read the CSV report.tsv field by field (id,name,email) with a while loop and print a greeting." }, { "role": "assistant", "content": "#!/usr/bin/...
script
while
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print the number of fields on each line of inventory.csv." }, { "role": "assistant", "content": "awk '{print NF}' inventory.csv" } ]
single
awk
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From response.log, show the 20 longest lines." }, { "role": "assistant", "content": "cat response.log | awk '{ print length, $0 }' | sort -rn | head -20 | cut -d' ' -f2-" } ]
pipeline
awk
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List dave's activity, headerless." }, { "role": "assistant", "content": "w -h dave" } ]
single
w
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show release.ini with line numbers." }, { "role": "assistant", "content": "cat -n release.ini" } ]
single
cat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show established connections on port 9200." }, { "role": "assistant", "content": "lsof -i :9200 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the 50 most recent firewalld log lines, newest last." }, { "role": "assistant", "content": "journalctl -u firewalld -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Lower the priority of process 4240 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 4240" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print just the PID using port 9000." }, { "role": "assistant", "content": "lsof -i :9000 -t" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Is anything listening on port 9090?" }, { "role": "assistant", "content": "ss -tlnp sport = :9090" } ]
single
ss
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the biggest files under /srv/www." }, { "role": "assistant", "content": "du -ah /srv/www | sort -rh | head -n 20" } ]
pipeline
du
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show all TCP sockets touching port 53." }, { "role": "assistant", "content": "ss -tn 'sport = :53 or dport = :53'" } ]
single
ss
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From build.log, list the 20 most frequent field-3 entries with their counts." }, { "role": "assistant", "content": "awk '{print $3}' build.log | sort | uniq -c | so...
pipeline
awk
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a script that refuses to run unless it's executed as root." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nif [ \"$(id -u)\" -...
script
if
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show every local IP address, space separated." }, { "role": "assistant", "content": "hostname -I" } ]
single
hostname
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the 50 most recent postgresql log lines, newest last." }, { "role": "assistant", "content": "journalctl -u postgresql -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Give me a frequency tally of column 9 in gc.log and show the 5 biggest." }, { "role": "assistant", "content": "cut -d, -f9 gc.log | sort | uniq -...
pipeline
cut
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display the ancestors of process 4149 as a tree." }, { "role": "assistant", "content": "pstree -s 4149" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the process listening on port 6379." }, { "role": "assistant", "content": "lsof -i :6379" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the process tree for user postgres." }, { "role": "assistant", "content": "pstree postgres" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show every open file under tests." }, { "role": "assistant", "content": "lsof +D tests" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to show the last 20 lines containing 'Connection refused' in api.log." }, { "role": "assistant", "content": "grep 'Connection refused' api...
pipeline
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the top 10 processes by CPU usage." }, { "role": "assistant", "content": "ps aux --sort=-%cpu | head -n 11" } ]
pipeline
ps
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How do I list the PIDs of vim sorted by memory use?" }, { "role": "assistant", "content": "ps -C vim -o pid=,rss= --sort=-rss" } ]
pipeline
ps
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need a script that requires exactly two arguments (source and destination) and errors out otherwise." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nif [ \"$#\" -...
script
args
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "copy the whole uploads folder to uploads_copy recursively" }, { "role": "assistant", "content": "cp -r uploads uploads_copy" } ]
single
cp
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Bump process 4725 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 4725" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Bump process 9182 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 9182" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How many connections are there to port 53?" }, { "role": "assistant", "content": "ss -tn | grep ':53' | wc -l" } ]
pipeline
ss
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show raw uptime in seconds from /proc." }, { "role": "assistant", "content": "cat /proc/uptime" } ]
single
uptime
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need to list the unique 'unauthorized' messages in gc.log." }, { "role": "assistant", "content": "grep 'unauthorized' gc.log | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Start 'gzip huge.log' with nice value 5 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 5 gzip huge.log" } ]
single
nice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rank the values of column 3 in inventory.tsv by frequency, highest first, top 20 only." }, { "role": "assistant", "content": "cut -d, -f3 inventory.tsv | sort | uniq -c | sort -nr | head -n 20" ...
pipeline
cut
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Set request.zip to permissions 644." }, { "role": "assistant", "content": "chmod 644 request.zip" } ]
single
chmod
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many connections are there to port 9200?" }, { "role": "assistant", "content": "ss -tn | grep ':9200' | wc -l" } ]
pipeline
ss
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read session.conf, then show the 20 longest lines — as a pipeline." }, { "role": "assistant", "content": "cat session.conf | awk '{ print length, $0 }' | sort -rn | head -20 | cut -d' ' -f2-" }...
pipeline
awk
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extended disk I/O stats every 2s, 5 samples." }, { "role": "assistant", "content": "iostat -x 2 5" } ]
single
iostat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .cache files in data" }, { "role": "assistant", "content": "ls data | grep '\\.cache$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a shell script that accepts --input (-i), --port (-p) and --output (-o) via getopts, with a usage message." }, { "role": "assistant", "cont...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a shell script that verifies it is run with at least one argument, else prints usage." }, { "role": "assistant", "content": "#!/usr/bin/env...
script
if
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow live logs for ssh." }, { "role": "assistant", "content": "journalctl -u ssh -f" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List ubuntu's active sessions with w." }, { "role": "assistant", "content": "w ubuntu" } ]
single
w
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the subtree of processes under PID 4142." }, { "role": "assistant", "content": "pstree -p 4142" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'not found'-related lines in metrics.log." }, { "role": "assistant", "content": "grep 'not found' metrics.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "give me a human-readable long listing of bin" }, { "role": "assistant", "content": "ls -lh bin" } ]
single
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to follow the rabbitmq journal but only show lines mentioning 'refused'." }, { "role": "assistant", "content": "journalctl -u rabbit...
pipeline
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "show systemd-networkd logs from the last 1 days" }, { "role": "assistant", "content": "journalctl -u systemd-networkd --since '1 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Restart ssh nginx cron one after another and report each result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor sv...
script
for
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Process all .txt files under /data/uploads with gzip using 8 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
xargs
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run iostat -x every 5 seconds and skip zero-activity devices." }, { "role": "assistant", "content": "iostat -xz 5" } ]
single
iostat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show TCP connections to 172.16.0.20." }, { "role": "assistant", "content": "ss -tn dst 172.16.0.20" } ]
single
ss
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read targets.txt and for each host, report UP/DOWN based on whether it checks if port 22 is open." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
ssh
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter netstat for connections to or from www.example.org." }, { "role": "assistant", "content": "netstat -tn | grep www.example.org" } ]
single
netstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Clean up cache: remove .cache files not modified in 2 days, recording each deletion." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=cache\nage=2\n[ -d \"$ta...
script
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "move all .pdf files into the backup directory" }, { "role": "assistant", "content": "mv *.pdf backup/" } ]
single
mv
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take product.log and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat product.log | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Abbreviated session info for svc-app." }, { "role": "assistant", "content": "w -s svc-app" } ]
single
w
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Start 'tar -czf backup.tar.gz /home/deploy' with nice value 1 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 1 tar -cz...
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Make 7 day-stamped folders under /srv/backup using a for loop over a date range." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo ...
script
for
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "reduce the priority of all processes owned by mysql" }, { "role": "assistant", "content": "renice -n 15 -u mysql" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the most recently modified file in /var/www." }, { "role": "assistant", "content": "ls -t /var/www | head -n 1" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .json files in /srv/www" }, { "role": "assistant", "content": "ls /srv/www | grep '\\.json$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a script that loops over every .html file in data and moves each file into an archive/ subfolder." }, { "role": "assistant", "content": "...
script
mv
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show svc-app's process tree with PIDs." }, { "role": "assistant", "content": "pstree -p svc-app" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show what user ubuntu is currently doing." }, { "role": "assistant", "content": "w ubuntu" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from response.ini." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' response.ini | sort -u" } ]
pipeline
sed
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .js files in /var/log" }, { "role": "assistant", "content": "ls /var/log | grep '\\.js$'" } ]
pipeline
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List all usernames on the system from /etc/passwd." }, { "role": "assistant", "content": "cut -d: -f1 /etc/passwd | sort" } ]
pipeline
cut
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Help me total the resident memory of all haproxy processes in MB." }, { "role": "assistant", "content": "ps -C haproxy -o rss= | awk '{s+=$1} EN...
pipeline
ps
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a small script that deletes files older than 30 days from logs, logging each removal." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=logs\nage=30\nfin...
script
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List connections using port 5432 as source or destination." }, { "role": "assistant", "content": "ss -tn 'sport = :5432 or dport = :5432'" } ]
single
ss
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a script that pre-creates dated subdirectories under /backup for the next 3 days." }, { "role": "assistant", "content": "#!/usr/bin/env b...
script
for
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 25 hottest values in column 4 of kern.log (by frequency)." }, { "role": "assistant", "content": "cut -d, -f4 kern.log | sort | uniq -c | sort -nr | head -n...
pipeline
cut
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many unique IP-like first fields appear in ingest.log." }, { "role": "assistant", "content": "awk '{print $1}' ingest.log | sort | uniq -c |...
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List all files opened by vim." }, { "role": "assistant", "content": "lsof -c vim" } ]
single
lsof
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find any socket using port 80 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :80" } ]
single
netstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rename manifest.css to manifest.css.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n manifest.css manifest.css.old" } ]
single
mv
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Give 'tar -czf backup.tar.gz /home/deploy' a boosted CPU priority of -5." }, { "role": "assistant", "content": "sudo nice -n -5 tar -czf backup.tar.gz /home/deploy"...
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find any socket using port 5000 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :5000" } ]
single
netstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show connections on port 27017." }, { "role": "assistant", "content": "netstat -anp | grep :27017" } ]
single
netstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Bump process 9828 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 9828" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of images" }, { "role": "assistant", "content": "ls -lh images" } ]
single
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the files opened by process 887." }, { "role": "assistant", "content": "lsof -p 887" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "move all .gif files into the media directory" }, { "role": "assistant", "content": "mv *.gif media/" } ]
single
mv
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the system's hostname." }, { "role": "assistant", "content": "hostname" } ]
single
hostname