messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print deploy's process hierarchy including PIDs." }, { "role": "assistant", "content": "pstree -p deploy" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Bump process 1651 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 1651" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Archive releases and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - releases | ssh ubuntu@auth.service.io 'cat >...
pipeline
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Use vmstat's wide output, 5s apart, 10 times." }, { "role": "assistant", "content": "vmstat -w 5 10" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find any socket using port 9200 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :9200" } ]
single
netstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Lower the priority of process 1348 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 1348" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fetch JSON from https://cdn.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://cdn.example.com/api/users | jq...
pipeline
curl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show error-level dmesg lines mentioning sda." }, { "role": "assistant", "content": "dmesg --level=err | grep -i sda" } ]
single
dmesg
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show kernel messages without the timestamp prefix." }, { "role": "assistant", "content": "dmesg -t" } ]
single
dmesg
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Give 'ffmpeg -i in.mp4 out.mp4' a boosted CPU priority of -10." }, { "role": "assistant", "content": "sudo nice -n -10 ffmpeg -i in.mp4 out.mp4" ...
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show what PID 6089 has open." }, { "role": "assistant", "content": "lsof -p 6089" } ]
single
lsof
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List carol's activity, headerless." }, { "role": "assistant", "content": "w -h carol" } ]
single
w
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 2415 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 2415" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 7188 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 7188" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fetch JSON from https://db01.service.io/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://db01.servic...
pipeline
curl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Run 'gzip huge.log' niced to 5 in the background." }, { "role": "assistant", "content": "nice -n 5 gzip huge.log &" } ]
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I want to count established TCP connections." }, { "role": "assistant", "content": "ss -tn state established | tail -n +2 | wc -l" } ]
pipeline
ss
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show TCP connections involving staging.example.com." }, { "role": "assistant", "content": "netstat -tn | grep staging.example.com" } ]
single
netstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List open files owned by ubuntu." }, { "role": "assistant", "content": "lsof -u ubuntu" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Change the owner of payload.sh to erin." }, { "role": "assistant", "content": "sudo chown erin payload.sh" } ]
single
chown
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fetch JSON from https://db01.corp.net/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://db01.corp.net/api/users | jq ." ...
pipeline
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 15 hottest values in column 9 of syslog (by frequency)." }, { "role": "assistant", "content": "cut -d, -f9 syslog | sort | uniq -c | sort -nr...
pipeline
cut
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 3232 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 3232" } ]
single
renice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "give me 5 vmstat readings spaced 5 seconds apart" }, { "role": "assistant", "content": "vmstat 5 5" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the 5 largest subdirectories of lib." }, { "role": "assistant", "content": "du -h lib/* 2>/dev/null | sort -rh | head -n 5" } ]
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Feed a here-string into base64." }, { "role": "assistant", "content": "base64 <<< 'hello world'" } ]
pipeline
redirection
[ { "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 'expired'." }, { "role": "assistant", "content": "journalctl -u rabbit...
pipeline
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the current git status in short form." }, { "role": "assistant", "content": "git status -s" } ]
single
git
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read response.tsv, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat response.tsv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the 50 most recent haproxy log lines, newest last." }, { "role": "assistant", "content": "journalctl -u haproxy -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run 'dd if=/dev/zero of=test.img bs=1M count=1024' niced to 15 in the background." }, { "role": "assistant", "content": "nice -n 15 dd if=/dev/zero of...
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List all listening TCP and UDP ports with programs." }, { "role": "assistant", "content": "netstat -tunlp" } ]
single
netstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List all files opened by python." }, { "role": "assistant", "content": "lsof -c python" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Process all .log files under /srv/data with gzip using 4 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -...
script
xargs
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Back up /var/lib/app to /srv/backup as a dated bzip2 archive, pruning all but the last 3 backups." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under /var/cache are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 /var/cache | sort -rh" ...
pipeline
du
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show established connections on port 5672." }, { "role": "assistant", "content": "lsof -i :5672 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read invoice.yaml, then show the 20 longest lines — as a pipeline." }, { "role": "assistant", "content": "cat invoice.yaml | awk '{ print length,...
pipeline
awk
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sum up the values in column 1 of metrics.log." }, { "role": "assistant", "content": "awk '{sum+=$1} END{print sum}' metrics.log" } ]
single
awk
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Report memory usage refreshing every 2 seconds." }, { "role": "assistant", "content": "free -h -s 2" } ]
single
free
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create a script that deletes files older than 14 days from /var/log, logging each removal." }, { "role": "assistant", "content": "#!/usr/bin/env ...
script
find
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Can you write a script that runs gzip on every .css file in /srv/data, 2 jobs in parallel?" }, { "role": "assistant", "content": "#!/usr/bin/env ...
script
xargs
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run 'ffmpeg -i in.mp4 out.mp4' at a lower priority (nice 15)." }, { "role": "assistant", "content": "nice -n 15 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 the biggest files under public." }, { "role": "assistant", "content": "du -ah public | sort -rh | head -n 20" } ]
pipeline
du
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show per-disk statistics with vmstat." }, { "role": "assistant", "content": "vmstat -d" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the most recently modified file in /etc/nginx." }, { "role": "assistant", "content": "ls -t /etc/nginx | head -n 1" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extended iostat every 1s, hiding idle devices." }, { "role": "assistant", "content": "iostat -xz 1" } ]
single
iostat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Can you write a script that prints a small system report: hostname, uptime, disk and memory usage?" }, { "role": "assistant", "content": "#!/usr/bin/e...
script
report
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Get fields 1 and 3 from users.txt, colon separated." }, { "role": "assistant", "content": "cut -d: -f1,3 users.txt" } ]
single
cut
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show what PID 8079 has open." }, { "role": "assistant", "content": "lsof -p 8079" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how often each column-2 value appears in mail.log; show the 20 most common." }, { "role": "assistant", "content": "cut -d, -f2 mail.log | sort | uniq -c | sor...
pipeline
cut
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What are the disk usage of bin broken down one level deep?" }, { "role": "assistant", "content": "du -h --max-depth=1 bin 2>/dev/null | sort -rh" } ]
pipeline
du
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a rotating backup: archive /opt/app into /backup with bzip2, retain 3 copies." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
tar
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Please show its size, owner and permissions in sales.py." }, { "role": "assistant", "content": "stat sales.py" } ]
single
stat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "reduce the priority of all processes owned by operator" }, { "role": "assistant", "content": "renice -n 15 -u operator" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Filter the kernel log to errors." }, { "role": "assistant", "content": "dmesg -l err" } ]
single
dmesg
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Copy metrics.tmp to scripts/ but keep the original timestamps and permissions." }, { "role": "assistant", "content": "cp -p metrics.tmp scripts/" } ...
single
cp
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "show elasticsearch logs from the last 3 days" }, { "role": "assistant", "content": "journalctl -u elasticsearch --since '3 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What's bound to port 25?" }, { "role": "assistant", "content": "lsof -i :25" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 4949 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 4949" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a one-liner to find the 5 processes with the most open files." }, { "role": "assistant", "content": "lsof 2>/dev/null | awk '{print $1}' | sort | uniq -c | so...
pipeline
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fail fast if any of AWS_REGION, DB_PASS, PORT is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
env
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a script that deletes .gz files older than 21 days from /var/log and logs what it removed." }, { "role": "assistant", "content": "#!/usr/b...
script
find
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "reduce the priority of all processes owned by bob" }, { "role": "assistant", "content": "renice -n 15 -u bob" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take archive.log and count each unique line, most common first." }, { "role": "assistant", "content": "cat archive.log | sort | uniq -c | sort -...
pipeline
uniq
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Follow live logs for memcached." }, { "role": "assistant", "content": "journalctl -u memcached -f" } ]
single
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List active (established) sessions on port 80." }, { "role": "assistant", "content": "lsof -i :80 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display the children of process 1428." }, { "role": "assistant", "content": "pstree -p 1428" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show what user admin is currently doing." }, { "role": "assistant", "content": "w admin" } ]
single
w
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Lower the priority of process 1701 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 1701" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Please determine what kind of file it is in manifest.log." }, { "role": "assistant", "content": "file manifest.log" } ]
single
file
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create a gzip-compressed archive of the config directory." }, { "role": "assistant", "content": "tar -czf config.tar.gz config" } ]
single
tar
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fetch JSON from https://www.example.org/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://www.example.org/...
pipeline
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Copy auth.txt to project/ but keep the original timestamps and permissions." }, { "role": "assistant", "content": "cp -p auth.txt project/" } ]
single
cp
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I want to find the 5 processes with the most open files." }, { "role": "assistant", "content": "lsof 2>/dev/null | awk '{print $1}' | sort | uniq -c |...
pipeline
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Use vmstat's wide output, 5s apart, 20 times." }, { "role": "assistant", "content": "vmstat -w 5 20" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take summary.conf and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat summary.conf | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run 'ffmpeg -i in.mp4 out.mp4' at higher priority (nice -5); needs root." }, { "role": "assistant", "content": "sudo nice -n -5 ffmpeg -i in.mp4 out.mp4" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 3517 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 3517" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under /etc/apache2 are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 /etc/apache2 | sort -...
pipeline
du
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "remove strace and unneeded dependencies" }, { "role": "assistant", "content": "sudo pacman -Rs strace" } ]
single
pacman
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Can you write a script that alerts if the root filesystem is more than 95% full?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo ...
script
if
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Can you write a script that checks whether summary.tmp exists and is non-empty, printing an appropriate message?" }, { "role": "assistant", "cont...
script
if
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run 'tar -czf backup.tar.gz /home/deploy' at higher priority (nice -10); needs root." }, { "role": "assistant", "content": "sudo nice -n -10 tar -czf backup.tar.gz ...
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show detailed per-device iostat, 3s apart, 20 times." }, { "role": "assistant", "content": "iostat -x 3 20" } ]
single
iostat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Grep the kernel ring buffer for usb." }, { "role": "assistant", "content": "dmesg -T | grep -i usb" } ]
single
dmesg
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List every fully-qualified name of the machine." }, { "role": "assistant", "content": "hostname -A" } ]
single
hostname
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show all TCP sockets touching port 5432." }, { "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": "Lower the priority of process 5893 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 5893" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print only lines 10 through 20 of catalog.md." }, { "role": "assistant", "content": "sed -n '10,20p' catalog.md" } ]
single
sed
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which sshd log lines mention 'failed'?" }, { "role": "assistant", "content": "journalctl -u sshd --no-pager | grep -i failed" } ]
pipeline
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show what PID 6846 has open." }, { "role": "assistant", "content": "lsof -p 6846" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Follow live logs for chronyd." }, { "role": "assistant", "content": "journalctl -u chronyd -f" } ]
single
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Report iostat throughput in megabytes, 10s interval, 10 rounds." }, { "role": "assistant", "content": "iostat -m 10 10" } ]
single
iostat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display the children of process 3554." }, { "role": "assistant", "content": "pstree -p 3554" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display the children of process 869." }, { "role": "assistant", "content": "pstree -p 869" } ]
single
pstree
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Lower the priority of process 2055 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 2055" } ]
single
renice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Report virtual-memory statistics every 5 seconds, 10 times." }, { "role": "assistant", "content": "vmstat 5 10" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "replace tabs with commas in credentials.tsv and write to credentials.tsv.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' credentials.tsv > credentials.ts...
pipeline
sed
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to count 'throttled' occurrences in the apache2 journal today." }, { "role": "assistant", "content": "journalctl -u apache2 --since today --no-pager | grep -c 'throttled'" } ]
pipeline
journalctl