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": "delete all blank lines from transaction.conf"
},
{
"role": "assistant",
"content": "sed '/^$/d' transaction.conf"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Create a script that runs checksum with sha256sum on every .sh file in logs, 8 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/b... | script | xargs |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the 5 hottest values in column 7 of report.tsv (by frequency)."
},
{
"role": "assistant",
"content": "awk '{print $7}' report.tsv | sort | u... | pipeline | awk |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show what PID 5662 has open."
},
{
"role": "assistant",
"content": "lsof -p 5662"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show open files for the containerd process."
},
{
"role": "assistant",
"content": "lsof -c containerd"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Recursively set owner and group of lib to svc-app:www-data."
},
{
"role": "assistant",
"content": "sudo chown -R svc-app:www-data lib"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read hosts.txt and for each host, report UP/DOWN based on whether it pings each host once."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ... | script | ping |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the first 20 lines of error.xml."
},
{
"role": "assistant",
"content": "head -n 20 error.xml"
}
] | single | head |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show postgresql logs from the last 90 days"
},
{
"role": "assistant",
"content": "journalctl -u postgresql --since '90 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Given auth.csv, convert everything to uppercase."
},
{
"role": "assistant",
"content": "cat auth.csv | tr 'a-z' 'A-Z'"
}
] | pipeline | tr |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Poll disk usage every 10 seconds; warn a single time when it first exceeds 90%."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nlimit=90\nalerted=0\nwhile true; do\... | script | while |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I/O stats in MB/s every 10s for 3 samples."
},
{
"role": "assistant",
"content": "iostat -m 10 3"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show postgres's process tree with PIDs."
},
{
"role": "assistant",
"content": "pstree -p postgres"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find all .html files under /data/uploads and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find /data/uploads -type f -name '*.html' -... | pipeline | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract backup.tar.gz into the public folder"
},
{
"role": "assistant",
"content": "tar -xzf backup.tar.gz -C public"
}
] | single | tar |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Report virtual memory statistics every 1 seconds, 10 times."
},
{
"role": "assistant",
"content": "vmstat 1 10"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from backup.md."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' backup.md | sort -u"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the process tree for user backup."
},
{
"role": "assistant",
"content": "pstree backup"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Iterate the hosts in targets.txt; the script checks if port 22 is open and marks each reachable or not."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\n... | script | ssh |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List the files opened by process 4518."
},
{
"role": "assistant",
"content": "lsof -p 4518"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Check if sales.gz exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f sales.gz ] && cat sales.gz || echo 'not found'"
}
] | pipeline | chain |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "For results.log, determine what kind of file it is."
},
{
"role": "assistant",
"content": "file results.log"
}
] | single | file |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving 8.8.8.8."
},
{
"role": "assistant",
"content": "netstat -tn | grep 8.8.8.8"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the children of process 5175."
},
{
"role": "assistant",
"content": "pstree -p 5175"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List sessions with destination auth.service.io."
},
{
"role": "assistant",
"content": "ss -tn dst auth.service.io"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a small script that categorizes a filename by extension using case (is a .gif an image, archive, doc?)."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ... | script | case |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Make a backup copy of dump.txt called dump.txt.bak"
},
{
"role": "assistant",
"content": "cp dump.txt dump.txt.bak"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the listener on port 3000."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :3000"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write an if that checks connectivity to db01.example.org with a single ping."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nhost=db01.example.org\nif ping -c1 -W2 ... | script | if |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "From invoice.ini, sort it and drop duplicate lines."
},
{
"role": "assistant",
"content": "cat invoice.ini | sort -u"
}
] | pipeline | sort |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find all .png files under modules."
},
{
"role": "assistant",
"content": "find modules -type f -name '*.png'"
}
] | single | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Loop over every .txt file in /home/deploy and append its sha256 checksum to checksums.txt."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipe... | script | for |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /srv/backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo... | script | pg_dump |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show vmstat in megabytes, 10s interval, 20 samples."
},
{
"role": "assistant",
"content": "vmstat -S M 10 20"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show disk space usage of all mounted filesystems in human-readable form."
},
{
"role": "assistant",
"content": "df -h"
}
] | single | df |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the process tree for user carol."
},
{
"role": "assistant",
"content": "pstree carol"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 1104."
},
{
"role": "assistant",
"content": "pstree -s 1104"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a small script that dumps every PostgreSQL database into its own gzip file under /var/backups, keeping 7 days."
},
{
"role": "assistant",
"... | script | pg_dump |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run iostat every 1s for 5 reports."
},
{
"role": "assistant",
"content": "iostat 1 5"
}
] | single | iostat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Convert the contents of response.conf to uppercase."
},
{
"role": "assistant",
"content": "tr 'a-z' 'A-Z' < response.conf"
}
] | single | tr |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a watchdog loop that checks every 10s and only alerts once when disk passes 85%."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nlimit=85\nalerted=0\nwhile tr... | script | while |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'tar -czf backup.tar.gz /home/deploy' niced to 10 in the background."
},
{
"role": "assistant",
"content": "nice -n 10 tar -czf backup.tar.gz... | single | nice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 5 biggest files under modules."
},
{
"role": "assistant",
"content": "find modules -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | h... | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Abbreviated session info for ec2-user."
},
{
"role": "assistant",
"content": "w -s ec2-user"
}
] | single | w |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "For every immediate subdirectory of /mnt/storage, show how much disk it uses."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pip... | script | for |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the process tree for user ec2-user."
},
{
"role": "assistant",
"content": "pstree ec2-user"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show TCP connections involving cache.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep cache.example.org"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show all TCP sockets touching port 5672."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :5672 or dport = :5672'"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving mail.local."
},
{
"role": "assistant",
"content": "netstat -tn | grep mail.local"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Check what holds port 8080 with ss."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :8080"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "delete all blank lines from server.yaml"
},
{
"role": "assistant",
"content": "sed '/^$/d' server.yaml"
}
] | single | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count how many files are in reports."
},
{
"role": "assistant",
"content": "ls -1 reports | wc -l"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show every open file under src."
},
{
"role": "assistant",
"content": "lsof +D src"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://db02.example.com/api/items"
},
{
"role": "assistant",
"content": "curl -s https://db02.example.com/api/items | ... | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Given metrics.tsv, strip trailing whitespace."
},
{
"role": "assistant",
"content": "cat metrics.tsv | sed 's/[[:space:]]*$//'"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show bob's process tree with PIDs."
},
{
"role": "assistant",
"content": "pstree -p bob"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List active (established) sessions on port 27017."
},
{
"role": "assistant",
"content": "lsof -i :27017 -sTCP:ESTABLISHED"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Grep out the load averages from the uptime line."
},
{
"role": "assistant",
"content": "uptime | grep -o 'load average.*'"
}
] | single | uptime |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Is anything listening on port 3000?"
},
{
"role": "assistant",
"content": "ss -tlnp sport = :3000"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "strip leading whitespace from every line of audit.conf and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' audit.conf > clean.txt"
... | pipeline | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the systemd journal for the mongod service."
},
{
"role": "assistant",
"content": "journalctl -u mongod"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write an if that checks connectivity to monitor.example.com with a single ping."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -... | script | if |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many connections are there to port 5000?"
},
{
"role": "assistant",
"content": "ss -tn | grep ':5000' | 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 proxy.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep proxy.internal"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "From invoice.ini, show the last 15 lines."
},
{
"role": "assistant",
"content": "cat invoice.ini | tail -n 15"
}
] | pipeline | tail |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display current memory usage nicely formatted."
},
{
"role": "assistant",
"content": "free -h"
}
] | single | free |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Loop through the .log files in /srv/data and moves each file into an archive/ subfolder — write it as a proper script."
},
{
"role": "assistant",
... | script | mv |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "From syslog.log, list the 10 most frequent field-5 entries with their counts."
},
{
"role": "assistant",
"content": "cut -d, -f5 syslog.log | sort | uniq -c | sort ... | pipeline | cut |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "give me a human-readable long listing of releases"
},
{
"role": "assistant",
"content": "ls -lh releases"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List deploy's activity, headerless."
},
{
"role": "assistant",
"content": "w -h deploy"
}
] | single | w |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show every open file under build."
},
{
"role": "assistant",
"content": "lsof +D build"
}
] | single | lsof |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that categorizes a filename by extension using case (is a .png an image, archive, doc?)."
},
{
"role": "assistant",
"content": "#!... | script | case |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the children of process 2059."
},
{
"role": "assistant",
"content": "pstree -p 2059"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Run the backup script, sending stdout and stderr to access.log."
},
{
"role": "assistant",
"content": "./backup.sh > access.log 2>&1"
}
] | pipeline | redirection |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List sessions with destination www.corp.net."
},
{
"role": "assistant",
"content": "ss -tn dst www.corp.net"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "replace tabs with commas in payment.tsv and write to payment.tsv.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' payment.tsv > payment... | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write me a script that accepts --dir (-d), --output (-o) and --name (-n) 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": "Can you write a script that verifies the environment variables DB_PASS, AWS_REGION and PORT are all set before running?"
},
{
"role": "assistant",
... | script | env |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "change permissions to 644 on all files under /srv/www"
},
{
"role": "assistant",
"content": "find /srv/www -type f -print0 | xargs -0 chmod 644"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Wide-format vmstat every 5s, 30 samples."
},
{
"role": "assistant",
"content": "vmstat -w 5 30"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to follow the memcached journal but only show lines mentioning 'rejected'."
},
{
"role": "assistant",
"content": "journalctl -u memcached... | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving web01.corp.net."
},
{
"role": "assistant",
"content": "netstat -tn | grep web01.corp.net"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Delete the first line of server.ini in place."
},
{
"role": "assistant",
"content": "sed -i '1d' server.ini"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find any socket using port 8080 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :8080"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count total lines across all .tmp files in /home/deploy."
},
{
"role": "assistant",
"content": "find /home/deploy -type f -name '*.tmp' -print0 ... | pipeline | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Tally column 4 of users.tsv and print the 15 top values by count."
},
{
"role": "assistant",
"content": "awk '{print $4}' users.tsv | sort | uni... | pipeline | awk |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show which process is using port 3306."
},
{
"role": "assistant",
"content": "lsof -i :3306"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Given credentials.log, convert everything to uppercase."
},
{
"role": "assistant",
"content": "cat credentials.log | tr 'a-z' 'A-Z'"
}
] | pipeline | tr |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "search all .jpg files under tests for the word TODO"
},
{
"role": "assistant",
"content": "find tests -name '*.jpg' -print0 | xargs -0 grep -l T... | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run iostat every 10s for 20 reports."
},
{
"role": "assistant",
"content": "iostat 10 20"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Given debug.yaml, keep only non-empty lines."
},
{
"role": "assistant",
"content": "cat debug.yaml | grep -v '^$'"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Back up all MySQL databases individually to /mnt/backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/mnt/backup\nkeep=14\nmkdir -p \"$... | script | mysqldump |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Filter netstat for connections to or from app01.example.com."
},
{
"role": "assistant",
"content": "netstat -tn | grep app01.example.com"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show CPU and disk I/O stats every 5 seconds, 10 times."
},
{
"role": "assistant",
"content": "iostat 5 10"
}
] | single | iostat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the children of process 726."
},
{
"role": "assistant",
"content": "pstree -p 726"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how many lines in output.log match 'Connection refused'."
},
{
"role": "assistant",
"content": "grep -c 'Connection refused' output.log"
... | single | grep |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find all .png files under migrations and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find migrations -type f -na... | pipeline | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Change the owner of request.png to www-data."
},
{
"role": "assistant",
"content": "sudo chown www-data request.png"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need per-database PostgreSQL backups written to /data/backup and pruned after 5 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/data/backup\nkeep=5\nm... | script | pg_dump |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a script that watches fixtures and prints a message whenever the file count changes."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | while |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.