messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 89
values |
|---|---|---|
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find all .csv files under /srv/www and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find /srv/www -type f -name '*.csv' -print0 | xargs -0 rm -f"
}
] | pipeline | 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 deletes .log files older than 30 days from /var/tmp and logs what it removed?"
},
{
"role": "assistant",
"content": "... | script | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Delete the first line of results.txt in place."
},
{
"role": "assistant",
"content": "sed -i '1d' results.txt"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Total the resident memory of all dockerd processes in MB."
},
{
"role": "assistant",
"content": "ps -C dockerd -o rss= | awk '{s+=$1} END{print s/1024 \" MB\"}'"
... | pipeline | ps |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Rank the values of column 2 in products.csv by frequency, highest first, top 15 only."
},
{
"role": "assistant",
"content": "awk '{print $2}' pro... | pipeline | awk |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Mirror the site https://github.io recursively."
},
{
"role": "assistant",
"content": "wget -r -np https://github.io"
}
] | single | wget |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Rename profile.zip to profile.zip.old without overwriting if the target already exists."
},
{
"role": "assistant",
"content": "mv -n profile.zip profile.zip.old"
... | single | mv |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Help me show the top 10 processes by memory."
},
{
"role": "assistant",
"content": "ps aux --sort=-%mem | head -n 11"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in audit.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' aud... | pipeline | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read package names from packages.txt and install them all with apt."
},
{
"role": "assistant",
"content": "xargs -a packages.txt sudo apt install... | pipeline | xargs |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a shell script that prints a small system report: hostname, uptime, disk and memory usage."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nmem=$(free -h | awk... | script | report |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Help me list the PIDs of elasticsearch sorted by memory use."
},
{
"role": "assistant",
"content": "ps -C elasticsearch -o pid=,rss= --sort=-rss"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "enable mongod to start on boot"
},
{
"role": "assistant",
"content": "sudo systemctl enable mongod"
}
] | single | systemctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show a recursive listing of /etc/nginx."
},
{
"role": "assistant",
"content": "ls -R /etc/nginx"
}
] | single | ls |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under fixtures."
},
{
"role": "assistant",
"content": "du -ah fixtures | sort -rh | head -n 20"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run 'python train.py' niced to 10 in the background."
},
{
"role": "assistant",
"content": "nice -n 10 python train.py &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find empty files in reports."
},
{
"role": "assistant",
"content": "find reports -type f -empty"
}
] | single | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Iterate the hosts in nodes.txt; the script curls the /health endpoint and marks each reachable or not."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nwhile IFS= re... | script | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the 5 largest subdirectories of downloads."
},
{
"role": "assistant",
"content": "du -h downloads/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Loop over every .json file in /opt/app and append its sha256 checksum to checksums.txt."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | for |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Rename product.old to product.old.old"
},
{
"role": "assistant",
"content": "mv product.old product.old.old"
}
] | single | mv |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I want a cleanup script for /tmp that purges .old files older than 2 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefa... | script | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the disk usage of /home/deploy broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /home/deploy 2>/dev/null | sort -rh"
}
... | pipeline | du |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How do I list files in artifacts sorted by size?"
},
{
"role": "assistant",
"content": "ls -lS artifacts"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show TCP connections involving monitor.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep monitor.internal"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "extract unique domains from the second field of emails.txt"
},
{
"role": "assistant",
"content": "cut -d@ -f2 emails.txt | sort -u"
}
] | pipeline | cut |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Help me list the PIDs of mongod sorted by memory use."
},
{
"role": "assistant",
"content": "ps -C mongod -o pid=,rss= --sort=-rss"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Check if results.sql exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f results.sql ] && cat results.sql || ec... | pipeline | chain |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need getopts handling for three options: -i, -c and -o; print usage on bad input."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | getopts |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Give me the one-line uptime summary."
},
{
"role": "assistant",
"content": "uptime"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show a recursive listing of project."
},
{
"role": "assistant",
"content": "ls -R project"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Use vmstat's wide output, 1s apart, 5 times."
},
{
"role": "assistant",
"content": "vmstat -w 1 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Display the ancestors of process 3691 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 3691"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display the ancestors of process 8020 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 8020"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "strip leading whitespace from every line of users.ini and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' users.ini > clean.txt"
... | pipeline | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Take customer.md and count the lines."
},
{
"role": "assistant",
"content": "cat customer.md | wc -l"
}
] | pipeline | wc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Give me a script that iterates over /opt/app/*.sql and prints the line count of each file."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | wc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a shell script that retries a curl to https://192.168.1.10/health up to 3 times, sleeping 2s between attempts."
},
{
"role": "assistant",
... | script | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /var/backups as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | pg_dump |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count total lines across all .conf files in artifacts."
},
{
"role": "assistant",
"content": "find artifacts -type f -name '*.conf' -print0 | xargs -0 cat | wc -l"
... | pipeline | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show the machine hardware architecture"
},
{
"role": "assistant",
"content": "uname -m"
}
] | single | uname |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "POST a JSON body to https://monitor.internal/api/users"
},
{
"role": "assistant",
"content": "curl -X POST -H 'Content-Type: application/json' -d '{\"name\":\"alice\"}' https://monitor.internal/a... | single | curl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "change just the group of export.json to deploy"
},
{
"role": "assistant",
"content": "sudo chgrp deploy export.json"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Delete the first line of payment.tsv in place."
},
{
"role": "assistant",
"content": "sed -i '1d' payment.tsv"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find all .js files under releases and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find releases -type f -name '*.js' -print0 | xargs -0 rm -f"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find 'ERROR' in nginx-error.log plus 3 lines of context around each match."
},
{
"role": "assistant",
"content": "grep -C 3 'ERROR' nginx-error.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find files in /mnt/data owned by www-data."
},
{
"role": "assistant",
"content": "find /mnt/data -type f -user www-data"
}
] | single | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print column 3 of the comma-separated file inventory.csv."
},
{
"role": "assistant",
"content": "awk -F, '{print $3}' inventory.csv"
}
] | single | awk |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List the disk usage of templates broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 templates 2>/dev/null | sort -... | pipeline | du |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Print column 1 of the comma-separated file access.log."
},
{
"role": "assistant",
"content": "awk -F, '{print $1}' access.log"
}
] | single | awk |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "From inventory.tsv, list the 5 most frequent field-7 entries with their counts."
},
{
"role": "assistant",
"content": "cut -d, -f7 inventory.tsv ... | pipeline | cut |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Given manifest.conf, count each unique line, most common first."
},
{
"role": "assistant",
"content": "cat manifest.conf | sort | uniq -c | sort... | pipeline | uniq |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "list the distinct error messages in nginx-error.log"
},
{
"role": "assistant",
"content": "grep -i error nginx-error.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find directories named reports anywhere under cache."
},
{
"role": "assistant",
"content": "find cache -type d -name 'reports'"
}
] | single | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Edit payment.txt in place, replacing 'success' with 'password'."
},
{
"role": "assistant",
"content": "sed -i 's/success/password/g' payment.txt"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need per-database PostgreSQL backups written to /srv/backup and pruned after 5 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail... | script | pg_dump |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read test.tsv, then sort it and drop duplicate lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat test.tsv | sort -u"
}
] | pipeline | sort |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Change the owner of server.sql to backup."
},
{
"role": "assistant",
"content": "sudo chown backup server.sql"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "list the distinct error messages in syslog.log"
},
{
"role": "assistant",
"content": "grep -i error syslog.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "reload nginx without a full restart"
},
{
"role": "assistant",
"content": "sudo systemctl reload nginx"
}
] | single | systemctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the 15 most common entries in column 4 of mail.log?"
},
{
"role": "assistant",
"content": "cut -d, -f4 mail.log | sort | uniq -c | sort -nr | head -n 15"
}
] | pipeline | cut |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a rotating backup: archive /opt/app into /mnt/backup with gzip, retain 14 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefa... | script | tar |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the 10 most common entries in column 5 of api.log?"
},
{
"role": "assistant",
"content": "awk '{print $5}' api.log | sort | uniq -c | sort -nr | head -n 10... | pipeline | awk |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "From customer.conf, count each unique line, most common first."
},
{
"role": "assistant",
"content": "cat customer.conf | sort | uniq -c | sort -nr"
}
] | pipeline | uniq |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "On the file migration.js, show just the first line."
},
{
"role": "assistant",
"content": "head -n 1 migration.js"
}
] | single | head |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fail fast if any of ENV, AWS_REGION, API_KEY is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset... | script | env |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Take release.conf and convert everything to uppercase."
},
{
"role": "assistant",
"content": "cat release.conf | tr 'a-z' 'A-Z'"
}
] | pipeline | tr |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Take profile.md and strip trailing whitespace."
},
{
"role": "assistant",
"content": "cat profile.md | sed 's/[[:space:]]*$//'"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find all .py files under build."
},
{
"role": "assistant",
"content": "find build -type f -name '*.py'"
}
] | single | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Remove write permission for group and others on access.json."
},
{
"role": "assistant",
"content": "chmod go-w access.json"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "search all .cache files under /home/alice for the word TODO"
},
{
"role": "assistant",
"content": "find /home/alice -name '*.cache' -print0 | xa... | pipeline | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Sum up the values in column 3 of inventory.csv."
},
{
"role": "assistant",
"content": "awk '{sum+=$3} END{print sum}' inventory.csv"
}
] | single | awk |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a backup script that xz-compresses /var/www into a timestamped tarball under /backup and keeps only the 7 newest."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefa... | script | tar |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Remove write permission for group and others on config.gz."
},
{
"role": "assistant",
"content": "chmod go-w config.gz"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Help me list the PIDs of php-fpm sorted by memory use."
},
{
"role": "assistant",
"content": "ps -C php-fpm -o pid=,rss= --sort=-rss"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Download https://registry.local/file.zip and save it with its remote name."
},
{
"role": "assistant",
"content": "curl -O https://registry.local/file.... | single | curl |
[
{
"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 templates"
},
{
"role": "assistant",
"content": "ls -lh templates"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in server.log mention 'WARNING'?"
},
{
"role": "assistant",
"content": "grep -c 'WARNING' server.log | cat"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Given account.tsv, strip trailing whitespace."
},
{
"role": "assistant",
"content": "cat account.tsv | sed 's/[[:space:]]*$//'"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a preflight check that DB_HOST, PORT and REDIS_URL exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\n... | script | env |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Clean up /var/log: remove .bak files not modified in 5 days, recording each deletion."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset ... | script | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find files in /mnt/data owned by admin."
},
{
"role": "assistant",
"content": "find /mnt/data -type f -user admin"
}
] | single | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Back up all MySQL databases individually to /mnt/backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo... | script | mysqldump |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Report virtual-memory statistics every 5 seconds, 30 times."
},
{
"role": "assistant",
"content": "vmstat 5 30"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Squeeze repeated spaces into a single space in transaction.txt."
},
{
"role": "assistant",
"content": "tr -s ' ' < transaction.txt"
}
] | single | tr |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Copy manifest.pdf to uploads/ but keep the original timestamps and permissions."
},
{
"role": "assistant",
"content": "cp -p manifest.pdf uploads/"
}
] | single | cp |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find empty files in docs."
},
{
"role": "assistant",
"content": "find docs -type f -empty"
}
] | single | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Check the status of mysql."
},
{
"role": "assistant",
"content": "systemctl status mysql"
}
] | single | systemctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create a script that retries a curl to https://proxy.service.io/health up to 3 times, sleeping 5s between attempts."
},
{
"role": "assistant",
"content": "#!/usr/bi... | script | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the 20 most common entries in column 7 of syslog.log?"
},
{
"role": "assistant",
"content": "awk '{print $7}' syslog.log | sort | uniq -c | sort -nr | head -n 20"
}
] | pipeline | awk |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a loop that restarts these services in order: redis apache2 postgresql."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfor svc in redis apache2 postgresql; d... | script | for |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Set metrics.js to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 metrics.js"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the 15 most common entries in column 5 of scheduler.log?"
},
{
"role": "assistant",
"content": "awk '{print $5}' scheduler.log | sort | uniq -c | sort -nr ... | pipeline | awk |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "extract backup.tar.gz into the static folder"
},
{
"role": "assistant",
"content": "tar -xzf backup.tar.gz -C static"
}
] | single | tar |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "download https://cdn.internal/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://cdn.internal/list.txt | wc -l"
... | pipeline | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count error lines in the fail2ban journal since yesterday."
},
{
"role": "assistant",
"content": "journalctl -u fail2ban --since yesterday | grep -ic error"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Search dmesg.log for lines containing '502'."
},
{
"role": "assistant",
"content": "grep '502' dmesg.log"
}
] | single | grep |
[
{
"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 build.py."
},
{
"role": "assistant",
"content": "file build.py"
}
] | single | file |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from migration.tsv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' migratio... | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show every open file under /etc/nginx."
},
{
"role": "assistant",
"content": "lsof +D /etc/nginx"
}
] | single | lsof |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.