messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "search your command history for anything with 'docker'" }, { "role": "assistant", "content": "history | grep docker" } ]
pipeline
history
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count total lines across all .cache files in /mnt/data." }, { "role": "assistant", "content": "find /mnt/data -type f -name '*.cache' -print0 | ...
pipeline
find
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list the distinct error messages in debug.log" }, { "role": "assistant", "content": "grep -i error debug.log | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Use a while loop to print the numbers 1 to 100, but only the even ones." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ni=2\nmax=100\...
script
while
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Print dmesg with the facility/level prefix." }, { "role": "assistant", "content": "dmesg -x" } ]
single
dmesg
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Retry curl to https://db02.example.org/health at most 5 times with a 3-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pi...
script
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display the children of process 3265." }, { "role": "assistant", "content": "pstree -p 3265" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Start 'tar -czf backup.tar.gz /home/deploy' with nice value 10 so it doesn't hog the CPU." }, { "role": "assistant", "content": "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": "Extract the number of seconds the system has been up." }, { "role": "assistant", "content": "awk '{print $1}' /proc/uptime" } ]
single
uptime
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run vmstat with MB units every 3 seconds for 3 rounds." }, { "role": "assistant", "content": "vmstat -S M 3 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the most recently modified file in images." }, { "role": "assistant", "content": "ls -t images | head -n 1" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Is anything listening on port 6379?" }, { "role": "assistant", "content": "ss -tlnp sport = :6379" } ]
single
ss
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Lower the priority of process 9927 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 9927" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show what PID 4941 has open." }, { "role": "assistant", "content": "lsof -p 4941" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Parse users.csv as comma-separated id,name,email using while read and print each name." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nwhile IFS=, read -r id name e...
script
while
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the children of process 7239." }, { "role": "assistant", "content": "pstree -p 7239" } ]
single
pstree
[ { "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 -5." }, { "role": "assistant", "content": "sudo nice -n -5 ffmpeg -i in.mp4 out.mp4" ...
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 25 hottest values in column 3 of debug.log (by frequency)." }, { "role": "assistant", "content": "cut -d, -f3 debug.log | sort | uniq -c | so...
pipeline
cut
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Grep the kernel ring buffer for timeout." }, { "role": "assistant", "content": "dmesg -T | grep -i timeout" } ]
single
dmesg
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the most recently modified file in templates." }, { "role": "assistant", "content": "ls -t templates | head -n 1" } ]
pipeline
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Report iostat throughput in megabytes, 3s interval, 3 rounds." }, { "role": "assistant", "content": "iostat -m 3 3" } ]
single
iostat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many lines in syslog.log mention 'deprecated'?" }, { "role": "assistant", "content": "grep -c 'deprecated' syslog.log | cat" } ]
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the 50 most recent apache2 log lines, newest last." }, { "role": "assistant", "content": "journalctl -u apache2 -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow live logs for mysql." }, { "role": "assistant", "content": "journalctl -u mysql -f" } ]
single
journalctl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Launch 'npm run build' at reduced priority (5)." }, { "role": "assistant", "content": "nice -n 5 npm run build" } ]
single
nice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Convert the contents of credentials.md to uppercase." }, { "role": "assistant", "content": "tr 'a-z' 'A-Z' < credentials.md" } ]
single
tr
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show admin's process tree with PIDs." }, { "role": "assistant", "content": "pstree -p admin" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "In metrics.tsv, which 15 values of column 1 occur most often?" }, { "role": "assistant", "content": "cut -d, -f1 metrics.tsv | sort | uniq -c | sort -nr | head -n 15" } ]
pipeline
cut
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "visualize the child processes of celery as a tree" }, { "role": "assistant", "content": "pstree -p $(pgrep -o celery)" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Get the bare PID that holds port 27017." }, { "role": "assistant", "content": "lsof -i :27017 -t" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display ec2-user's processes as a tree." }, { "role": "assistant", "content": "pstree ec2-user" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the parent chain leading to PID 3070." }, { "role": "assistant", "content": "pstree -s 3070" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List sessions with destination monitor.service.io." }, { "role": "assistant", "content": "ss -tn dst monitor.service.io" } ]
single
ss
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Can you write a script that deletes .old files older than 21 days from uploads and logs what it removed?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=uplo...
script
find
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Short w listing for user admin." }, { "role": "assistant", "content": "w -s admin" } ]
single
w
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Follow the apache2 journal but only show lines mentioning 'panic'." }, { "role": "assistant", "content": "journalctl -u apache2 -f | grep --line-...
pipeline
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Abbreviated session info for redis." }, { "role": "assistant", "content": "w -s redis" } ]
single
w
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show which process is using port 15672." }, { "role": "assistant", "content": "lsof -i :15672" } ]
single
lsof
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Lower the priority of process 9743 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 9743" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List open files owned by alice." }, { "role": "assistant", "content": "lsof -u alice" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a script that prints a small system report: hostname, uptime, disk and memory usage." }, { "role": "assistant", "content": "#!/usr/bin/env bash...
script
report
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Set access.log to permissions 644." }, { "role": "assistant", "content": "chmod 644 access.log" } ]
single
chmod
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show what user postgres is currently doing." }, { "role": "assistant", "content": "w postgres" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print column 3 of the comma-separated file access.log." }, { "role": "assistant", "content": "awk -F, '{print $3}' access.log" } ]
single
awk
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Launch 'gzip huge.log' at reduced priority (10)." }, { "role": "assistant", "content": "nice -n 10 gzip huge.log" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Follow live logs for firewalld." }, { "role": "assistant", "content": "journalctl -u firewalld -f" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count error lines in the cron journal since yesterday." }, { "role": "assistant", "content": "journalctl -u cron --since yesterday | grep -ic err...
pipeline
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me the wide free output splitting buffers and cache." }, { "role": "assistant", "content": "free -w" } ]
single
free
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a health-check loop over targets.txt that curls the /health endpoint and prints the status of each." }, { "role": "assistant", "content": "#!/usr/bin/env bash...
script
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show a recursive listing of /etc/apache2." }, { "role": "assistant", "content": "ls -R /etc/apache2" } ]
single
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How much space is left on the root filesystem?" }, { "role": "assistant", "content": "df -h /" } ]
single
df
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of reports" }, { "role": "assistant", "content": "ls -lh reports" } ]
single
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me the 10 largest subdirectories of /srv/www." }, { "role": "assistant", "content": "du -h /srv/www/* 2>/dev/null | sort -rh | head -n 10" ...
pipeline
du
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Use vmstat's wide output, 1s apart, 10 times." }, { "role": "assistant", "content": "vmstat -w 1 10" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From report.csv, list the 5 most frequent field-7 entries with their counts." }, { "role": "assistant", "content": "awk '{print $7}' report.csv | sort...
pipeline
awk
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Pull latest code and restart the app service." }, { "role": "assistant", "content": "git pull && sudo systemctl restart myapp" } ]
pipeline
chain
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Iterate the hosts in nodes.txt; the script checks if port 22 is open and marks each reachable or not." }, { "role": "assistant", "content": "#!/usr/bi...
script
ssh
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Back up /opt/app to /var/backups as a dated xz archive, pruning all but the last 30 backups." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsrc=/opt/app\ndest=/var...
script
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a script that checks whether release.csv exists and is non-empty, printing an appropriate message." }, { "role": "assistant", "content": "...
script
if
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run the backup script, sending stdout and stderr to error.log." }, { "role": "assistant", "content": "./backup.sh > error.log 2>&1" } ]
pipeline
redirection
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "What groups does the current user belong to?" }, { "role": "assistant", "content": "id -Gn" } ]
single
id
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Give 'dd if=/dev/zero of=test.img bs=1M count=1024' a boosted CPU priority of -10." }, { "role": "assistant", "content": "sudo nice -n -10 dd if=/dev/...
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count how many unique IP-like first fields appear in build.log." }, { "role": "assistant", "content": "awk '{print $1}' build.log | sort | uniq ...
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Recursively make everything in images readable and writable by the owner only." }, { "role": "assistant", "content": "chmod -R 600 images" } ]
single
chmod
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Lower the priority of process 7548 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 7548" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show which process is using port 2379." }, { "role": "assistant", "content": "lsof -i :2379" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show vmstat in megabytes, 2s interval, 20 samples." }, { "role": "assistant", "content": "vmstat -S M 2 20" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show what PID 6965 has open." }, { "role": "assistant", "content": "lsof -p 6965" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Change the owner of account.pdf to admin." }, { "role": "assistant", "content": "sudo chown admin account.pdf" } ]
single
chown
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of /var/lib/mysql" }, { "role": "assistant", "content": "ls -lh /var/lib/mysql" } ]
single
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Background 'tar -czf backup.tar.gz /home/deploy' at nice level 15." }, { "role": "assistant", "content": "nice -n 15 tar -czf backup.tar.gz /hom...
single
nice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List connections using port 8080 as source or destination." }, { "role": "assistant", "content": "ss -tn 'sport = :8080 or dport = :8080'" } ]
single
ss
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List sessions with destination 1.1.1.1." }, { "role": "assistant", "content": "ss -tn dst 1.1.1.1" } ]
single
ss
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find all .md files under static." }, { "role": "assistant", "content": "find static -type f -name '*.md'" } ]
single
find
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Parse command-line flags -d (dir), -l (level) and -t (tag) using getopts and validate that -d is provided." }, { "role": "assistant", "content":...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How many lines in build.log mention '502'?" }, { "role": "assistant", "content": "grep -c '502' build.log | cat" } ]
pipeline
grep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List open files owned by admin." }, { "role": "assistant", "content": "lsof -u admin" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give me iostat -x with human-readable units." }, { "role": "assistant", "content": "iostat -xh" } ]
single
iostat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show connections on port 8443." }, { "role": "assistant", "content": "netstat -anp | grep :8443" } ]
single
netstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the last 20 warning entries for sshd." }, { "role": "assistant", "content": "journalctl -u sshd -p warning -n 20 --no-pager" } ]
pipeline
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a rotating backup: archive /home/deploy into /data/backup with bzip2, retain 7 copies." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo p...
script
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Background 'find / -name '*.core'' at nice level 10." }, { "role": "assistant", "content": "nice -n 10 find / -name '*.core' &" } ]
single
nice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a rotating backup: archive /srv/data into /srv/backup with xz, retain 10 copies." }, { "role": "assistant", "content": "#!/usr/bin/env bas...
script
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "give me 10 vmstat readings spaced 3 seconds apart" }, { "role": "assistant", "content": "vmstat 3 10" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show ubuntu's sessions without the header." }, { "role": "assistant", "content": "w -h ubuntu" } ]
single
w
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run 'find / -name '*.core'' at higher priority (nice -5); needs root." }, { "role": "assistant", "content": "sudo nice -n -5 find / -name '*.core...
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "show ssh logs from the last 14 days" }, { "role": "assistant", "content": "journalctl -u ssh --since '14 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 25 hottest values in column 9 of cron.log (by frequency)." }, { "role": "assistant", "content": "awk '{print $9}' cron.log | sort | uniq -c | sort -nr | head -n 25" } ]
pipeline
awk
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "show chronyd logs from the last 3 days" }, { "role": "assistant", "content": "journalctl -u chronyd --since '3 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Report virtual-memory statistics every 1 seconds, 30 times." }, { "role": "assistant", "content": "vmstat 1 30" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Retry git fetch from origin at most 5 times with a 3-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": "#!/usr/bin/env bash...
script
git
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show connections on port 11211." }, { "role": "assistant", "content": "netstat -anp | grep :11211" } ]
single
netstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list PIDs and names of processes matching systemd" }, { "role": "assistant", "content": "pgrep -a systemd" } ]
single
pgrep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Loop over every .html file in /data/uploads and append its sha256 checksum to checksums.txt." }, { "role": "assistant", "content": "#!/usr/bin/e...
script
for
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Watch memory continuously, updating every 1s." }, { "role": "assistant", "content": "free -h -s 1" } ]
single
free
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "show mongod logs from the last 30 days" }, { "role": "assistant", "content": "journalctl -u mongod --since '30 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count total lines across all .pdf files in /home/alice." }, { "role": "assistant", "content": "find /home/alice -type f -name '*.pdf' -print0 | xargs -0 cat | wc -l" } ]
pipeline
find
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Short w listing for user backup." }, { "role": "assistant", "content": "w -s backup" } ]
single
w
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show connections on port 80." }, { "role": "assistant", "content": "netstat -anp | grep :80" } ]
single
netstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List 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