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": "Show the 10 largest subdirectories in modules." }, { "role": "assistant", "content": "du -h modules/* | sort -rh | head -n 10" } ]
pipeline
du
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Is anything listening on port 8080?" }, { "role": "assistant", "content": "ss -tlnp sport = :8080" } ]
single
ss
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Can you write a script that accepts --input (-i), --dir (-d) and --name (-n) via getopts, with a usage message?" }, { "role": "assistant", "conte...
script
getopts
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show redis's sessions without the header." }, { "role": "assistant", "content": "w -h redis" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Report virtual memory statistics every 2 seconds, 10 times." }, { "role": "assistant", "content": "vmstat 2 10" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the 10 largest subdirectories in reports." }, { "role": "assistant", "content": "du -h reports/* | sort -rh | head -n 10" } ]
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List svc-app's active sessions with w." }, { "role": "assistant", "content": "w svc-app" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "show mariadb logs from the last 1 days" }, { "role": "assistant", "content": "journalctl -u mariadb --since '1 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run 'dd if=/dev/zero of=test.img bs=1M count=1024' at a lower priority (nice 1)." }, { "role": "assistant", "content": "nice -n 1 dd if=/dev/zer...
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Please count the lines in archive.md." }, { "role": "assistant", "content": "wc -l archive.md" } ]
single
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Set report.pdf to permissions 644." }, { "role": "assistant", "content": "chmod 644 report.pdf" } ]
single
chmod
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "remove the strace package with yum" }, { "role": "assistant", "content": "sudo yum remove -y strace" } ]
single
dnf
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display the ancestors of process 6045 as a tree." }, { "role": "assistant", "content": "pstree -s 6045" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need a bash script that makes a .bak copy of each file for all .conf files under /mnt/storage." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/mnt/storage\nf...
script
cp
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show kernel messages since 1 hour ago." }, { "role": "assistant", "content": "dmesg -T --since '1 hour ago'" } ]
single
dmesg
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show per-partition stats for sda every 2s." }, { "role": "assistant", "content": "iostat -p sda 2" } ]
single
iostat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show TCP connections involving cdn.corp.net." }, { "role": "assistant", "content": "netstat -tn | grep cdn.corp.net" } ]
single
netstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the last 20 warning entries for memcached." }, { "role": "assistant", "content": "journalctl -u memcached -p warning -n 20 --no-pager" } ]
pipeline
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create the fixtures directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir -p fixtures && cd fixtures" } ]
pipeline
chain
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Update the modification time of metrics.md to now." }, { "role": "assistant", "content": "touch metrics.md" } ]
single
touch
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Parse command-line flags -c (count), -p (port) and -d (dir) using getopts and validate that -c is provided." }, { "role": "assistant", "content":...
script
getopts
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter netstat for connections to or from web01.local." }, { "role": "assistant", "content": "netstat -tn | grep web01.local" } ]
single
netstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "make a bzip2-compressed tarball of static" }, { "role": "assistant", "content": "tar -cjf static.tar.bz2 static" } ]
single
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "locate files under /opt/app modified in the last 21 days" }, { "role": "assistant", "content": "find /opt/app -type f -mtime -21" } ]
single
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List all files in reports, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -la reports" } ]
single
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Create a script that accepts --output (-o), --count (-c) and --level (-l) via getopts, with a usage message." }, { "role": "assistant", "content": "#!...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "POST a JSON body to https://192.168.1.10/api/users" }, { "role": "assistant", "content": "curl -X POST -H 'Content-Type: application/json' -d '{\...
single
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find kernel errors related to oom." }, { "role": "assistant", "content": "dmesg --level=err | grep -i oom" } ]
single
dmesg
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "visualize the child processes of postgres as a tree" }, { "role": "assistant", "content": "pstree -p $(pgrep -o postgres)" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Create a script that dumps every PostgreSQL database into its own gzip file under /mnt/backup, keeping 10 days." }, { "role": "assistant", "content": ...
script
pg_dump
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from git.local." }, { "role": "assistant", "content": "netstat -tn | grep git.local" } ]
single
netstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch https://registry.internal/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl -s -o /dev/null -w '%{ht...
single
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count how many files are in /var/cache." }, { "role": "assistant", "content": "ls -1 /var/cache | wc -l" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find any socket using port 9000 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :9000" } ]
single
netstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter netstat for connections to or from 10.0.0.5." }, { "role": "assistant", "content": "netstat -tn | grep 10.0.0.5" } ]
single
netstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sum up the values in column 3 of metrics.log." }, { "role": "assistant", "content": "awk '{sum+=$3} END{print sum}' metrics.log" } ]
single
awk
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to count 'denied' occurrences in the grafana-server journal today." }, { "role": "assistant", "content": "journalctl -u grafana-server --since ...
pipeline
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a backup script that tars /opt/app into a timestamped archive under /backup and keeps only the 7 newest." }, { "role": "assistant", "content": "#!/usr/bin/env...
script
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List backup's activity, headerless." }, { "role": "assistant", "content": "w -h backup" } ]
single
w
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give the owner rwx and everyone else read on debug.sh" }, { "role": "assistant", "content": "chmod 744 debug.sh" } ]
single
chmod
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Launch 'rsync -a /data /mnt/backup' at reduced priority (15)." }, { "role": "assistant", "content": "nice -n 15 rsync -a /data /mnt/backup" } ]
single
nice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "display export.txt showing tabs and line endings" }, { "role": "assistant", "content": "cat -A export.txt" } ]
single
cat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sum up the values in column 4 of metrics.log." }, { "role": "assistant", "content": "awk '{sum+=$4} END{print sum}' metrics.log" } ]
single
awk
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given report.yaml, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat report.yaml | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show TCP connections to cache.example.com." }, { "role": "assistant", "content": "ss -tn dst cache.example.com" } ]
single
ss
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run vmstat every 3s and stop after 30 samples." }, { "role": "assistant", "content": "vmstat 3 30" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Parse command-line flags -d (dir), -n (name) and -t (tag) using getopts and validate that -d is provided." }, { "role": "assistant", "content": "#!/us...
script
getopts
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Ping cache.internal once and branch: print reachable or unreachable based on the result." }, { "role": "assistant", "content": "#!/usr/bin/env b...
script
if
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Background 'ffmpeg -i in.mp4 out.mp4' at nice level 10." }, { "role": "assistant", "content": "nice -n 10 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": "SSH into web01.example.org as bob." }, { "role": "assistant", "content": "ssh bob@web01.example.org" } ]
single
ssh
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter netstat for connections to or from auth.example.org." }, { "role": "assistant", "content": "netstat -tn | grep auth.example.org" } ]
single
netstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from proxy.example.org." }, { "role": "assistant", "content": "netstat -tn | grep proxy.example.org" } ]
single
netstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From data.tsv, list the 10 most frequent field-7 entries with their counts." }, { "role": "assistant", "content": "awk '{print $7}' data.tsv | sort | ...
pipeline
awk
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Help me list the PIDs of sshd sorted by memory use." }, { "role": "assistant", "content": "ps -C sshd -o pid=,rss= --sort=-rss" } ]
pipeline
ps
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print bob's process hierarchy including PIDs." }, { "role": "assistant", "content": "pstree -p bob" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Background 'python train.py' at nice level 19." }, { "role": "assistant", "content": "nice -n 19 python train.py &" } ]
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Add a timestamp column to vmstat, 5s interval, 30 rounds." }, { "role": "assistant", "content": "vmstat -t 5 30" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Remove write permission for group and others on build.sql." }, { "role": "assistant", "content": "chmod go-w build.sql" } ]
single
chmod
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I/O stats in MB/s every 2s for 20 samples." }, { "role": "assistant", "content": "iostat -m 2 20" } ]
single
iostat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the email addresses from index.conf." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.conf |...
pipeline
sed
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the last 20 lines of migration.gz." }, { "role": "assistant", "content": "tail -n 20 migration.gz" } ]
single
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a script that verifies the environment variables REDIS_URL, AWS_REGION and ENV are all set before running." }, { "role": "assistant", "con...
script
env
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch https://app01.internal/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl -s -o /dev/null -w '%{http_c...
single
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What is alice running right now?" }, { "role": "assistant", "content": "w alice" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Process all .txt files under /data/uploads with optipng using 2 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/data/uploads\nfind ...
script
xargs
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need getopts handling for three options: -l, -i and -c; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nlevel=\"\"; input=\"\"; count=\"...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list only the .sql files in docs" }, { "role": "assistant", "content": "ls docs | grep '\\.sql$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the average of the second column in metrics.log." }, { "role": "assistant", "content": "awk '{s+=$2; n++} END{print s/n}' metrics.log" } ]
pipeline
awk
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show postgres's sessions without the header." }, { "role": "assistant", "content": "w -h postgres" } ]
single
w
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "connect to cdn.internal on port 53 as operator" }, { "role": "assistant", "content": "ssh -p 53 operator@cdn.internal" } ]
single
ssh
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print all system information (kernel, hostname, architecture, etc.)." }, { "role": "assistant", "content": "uname -a" } ]
single
uname
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check whether vim is running and exit 0 if so, 1 otherwise, with a message." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nproc=vim\nif pgrep -x \"$proc\" >/dev/nu...
script
if
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Bump process 2291 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 2291" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "strip leading whitespace from every line of catalog.csv and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' catalog.csv > clean.txt...
pipeline
sed
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "In orders.csv, which 25 values of column 7 occur most often?" }, { "role": "assistant", "content": "cut -d, -f7 orders.csv | sort | uniq -c | sor...
pipeline
cut
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run the backup script, sending stdout and stderr to gateway.log." }, { "role": "assistant", "content": "./backup.sh > gateway.log 2>&1" } ]
pipeline
redirection
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "On the file results.js, show a hex dump of the first 64 bytes." }, { "role": "assistant", "content": "xxd -l 64 results.js" } ]
single
xxd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Restart systemd-networkd memcached cron one after another and report each result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor svc in systemd-networkd memcac...
script
for
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show lines in worker.log that do NOT contain 'rejected'." }, { "role": "assistant", "content": "grep -v 'rejected' worker.log" } ]
single
grep
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Recursively set owner and group of fixtures to www-data:users." }, { "role": "assistant", "content": "sudo chown -R www-data:users fixtures" } ]
single
chown
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show all TCP sockets touching port 9090." }, { "role": "assistant", "content": "ss -tn 'sport = :9090 or dport = :9090'" } ]
single
ss
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show only kernel-generated messages." }, { "role": "assistant", "content": "dmesg -k" } ]
single
dmesg
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if error.tmp exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f error.tmp ] && cat error.tmp || ec...
pipeline
chain
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How many lines in debug.log mention 'refused'?" }, { "role": "assistant", "content": "grep -c 'refused' debug.log | cat" } ]
pipeline
grep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show detailed metadata for index.zip." }, { "role": "assistant", "content": "stat index.zip" } ]
single
stat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From customer.log, count the lines." }, { "role": "assistant", "content": "cat customer.log | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch https://www.corp.net/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl -s -o /dev/null -w '%{http_code}' https://www.corp.net/health" } ]
single
curl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Short w listing for user redis." }, { "role": "assistant", "content": "w -s redis" } ]
single
w
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What is ubuntu running right now?" }, { "role": "assistant", "content": "w ubuntu" } ]
single
w
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Print the most recent 30 dmesg entries." }, { "role": "assistant", "content": "dmesg -T | tail -n 30" } ]
single
dmesg
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show ec2-user's sessions without the header." }, { "role": "assistant", "content": "w -h ec2-user" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List sessions with destination db02.example.com." }, { "role": "assistant", "content": "ss -tn dst db02.example.com" } ]
single
ss
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find any dmesg lines mentioning error." }, { "role": "assistant", "content": "dmesg -T | grep -i error" } ]
single
dmesg
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Please show the first 20 lines in credentials.js." }, { "role": "assistant", "content": "head -n 20 credentials.js" } ]
single
head
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the 10 most common '404'-related lines in mail.log." }, { "role": "assistant", "content": "grep '404' mail.log | sort | uniq -c | sort -nr |...
pipeline
grep
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to count 'OutOfMemory' occurrences in the grafana-server journal today." }, { "role": "assistant", "content": "journalctl -u grafana-server --s...
pipeline
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Search ingest.log for lines containing 'Connection refused'." }, { "role": "assistant", "content": "grep 'Connection refused' ingest.log" } ]
single
grep
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List only directories inside /mnt/data." }, { "role": "assistant", "content": "ls -d /mnt/data/*/" } ]
single
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give 'python train.py' a boosted CPU priority of -5." }, { "role": "assistant", "content": "sudo nice -n -5 python train.py" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the host's primary IP as resolved from its name." }, { "role": "assistant", "content": "hostname -i" } ]
single
hostname