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": "Count the number of lines in response.png."
},
{
"role": "assistant",
"content": "wc -l response.png"
}
] | single | wc |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in output.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' output.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "From nginx-access.log, list the 25 most frequent field-2 entries with their counts."
},
{
"role": "assistant",
"content": "awk '{print $2}' ngin... | pipeline | awk |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a start/stop/restart control script for the ssh service using a case statement."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\... | script | case |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write me a script that checks whether session.png exists and is non-empty, printing an appropriate message."
},
{
"role": "assistant",
"content": "#!/... | script | if |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How do I count how many mysqld processes are running?"
},
{
"role": "assistant",
"content": "pgrep -c mysqld"
}
] | pipeline | pgrep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "From invoice.json, convert everything to uppercase."
},
{
"role": "assistant",
"content": "cat invoice.json | tr 'a-z' 'A-Z'"
}
] | pipeline | tr |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "give me a human-readable long listing of migrations"
},
{
"role": "assistant",
"content": "ls -lh migrations"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "send a GET request to https://backup.internal/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://backup.in... | single | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Copy release.py to docs/ but keep the original timestamps and permissions."
},
{
"role": "assistant",
"content": "cp -p release.py docs/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Check whether memcached is running and exit 0 if so, 1 otherwise, with a message."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset... | script | if |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How do I total the resident memory of all postgres processes in MB?"
},
{
"role": "assistant",
"content": "ps -C postgres -o rss= | awk '{s+=$1}... | pipeline | ps |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a start/stop/restart/status control script for ssh using a case statement."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nsvc=... | script | case |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Parse transactions.csv as comma-separated id,name,email using while read and print each name."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo p... | script | while |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "list only the .css files in /var/log"
},
{
"role": "assistant",
"content": "ls /var/log | grep '\\.css$'"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Please determine what kind of file it is in auth.gz."
},
{
"role": "assistant",
"content": "file auth.gz"
}
] | single | file |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Recursively set owner and group of config to ec2-user:operators."
},
{
"role": "assistant",
"content": "sudo chown -R ec2-user:operators config"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count total lines across all .png files in tmp."
},
{
"role": "assistant",
"content": "find tmp -type f -name '*.png' -print0 | xargs -0 cat | wc -l"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a Bash script that dumps every PostgreSQL database into its own gzip file under /backup, keeping 3 days."
},
{
"role": "assistant",
"conten... | script | pg_dump |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Print only lines 10 through 20 of build.csv."
},
{
"role": "assistant",
"content": "sed -n '10,20p' build.csv"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in nginx-access.log mention 'Connection refused'?"
},
{
"role": "assistant",
"content": "grep -c 'Connection refused' nginx-access.log | cat"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Process all .zip files under backups with optipng using 4 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\... | script | xargs |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "gzip every .log file under scripts"
},
{
"role": "assistant",
"content": "find scripts -type f -name '*.log' -print0 | xargs -0 gzip"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find all .md files under /srv/www."
},
{
"role": "assistant",
"content": "find /srv/www -type f -name '*.md'"
}
] | single | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write me a script that retries a connection to proxy.corp.net:5432 up to 5 times, sleeping 1s between attempts."
},
{
"role": "assistant",
"conte... | script | bash |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Mirror scripts to mail.corp.net:/backup deleting files that no longer exist locally."
},
{
"role": "assistant",
"content": "rsync -avz --delete scripts/ bob@mail.corp.net:/backup/"
}
] | single | rsync |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a small script that runs checksum with sha256sum on every .conf file in /data/uploads, 8 jobs in parallel."
},
{
"role": "assistant",
"content":... | script | xargs |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me the disk usage of src broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 src 2>/dev/null | sort -rh"
... | pipeline | du |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Back up data to /backup as a dated bzip2 archive, pruning all but the last 30 backups."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail... | script | tar |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Loop over every .log file in build and gzip any that are larger than 10MB."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo ... | script | for |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need a bash script that compresses each file with gzip for all .md files under /data/uploads."
},
{
"role": "assistant",
"content": "#!/usr/bin... | script | gzip |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Set migration.yaml to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 migration.yaml"
}
] | single | chmod |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "send a GET request to https://api.internal/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://api.internal/api"
... | single | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "give the owner rwx and everyone else read on debug.jpg"
},
{
"role": "assistant",
"content": "chmod 744 debug.jpg"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common 'dropped'-related lines in dmesg.log."
},
{
"role": "assistant",
"content": "grep 'dropped' dmesg.log | sort | uniq -c |... | pipeline | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How do I total the resident memory of all systemd processes in MB?"
},
{
"role": "assistant",
"content": "ps -C systemd -o rss= | awk '{s+=$1} END{print s/1024 \" M... | pipeline | ps |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How do I list files in /home/alice sorted by size?"
},
{
"role": "assistant",
"content": "ls -lS /home/alice"
}
] | single | ls |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Get the bare PID that holds port 25565."
},
{
"role": "assistant",
"content": "lsof -i :25565 -t"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List just the filenames under releases that contain 'disk full'."
},
{
"role": "assistant",
"content": "grep -rl 'disk full' releases"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Loop through the .cache files in /home/alice and prints the line count of each file — write it as a proper script."
},
{
"role": "assistant",
"content": "#!/usr/bin... | script | wc |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "compress build.log but keep the original file too"
},
{
"role": "assistant",
"content": "gzip -k build.log"
}
] | single | gzip |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count total lines across all .md files in migrations."
},
{
"role": "assistant",
"content": "find migrations -type f -name '*.md' -print0 | xargs -0 cat | wc -l"
... | pipeline | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need per-database MySQL backups written to /backup and pruned after 30 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/... | script | mysqldump |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that accepts --input (-i), --name (-n) and --dir (-d) via getopts, with a usage message."
},
{
"role": "assistant",
"content... | script | getopts |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Parse inventory.tsv as comma-separated id,name,email using while read and print each name."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipe... | script | while |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Rename access.tar.gz to access.tar.gz.old without overwriting if the target already exists."
},
{
"role": "assistant",
"content": "mv -n access.tar.gz access.tar.gz.old"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find all .tmp files under /home/alice and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find /home/alice -type f -n... | pipeline | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "On the file report.conf, show just the first line."
},
{
"role": "assistant",
"content": "head -n 1 report.conf"
}
] | single | head |
[
{
"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, DB_HOST and AWS_REGION are all set before running?"
},
{
"role": "assistant",... | script | env |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of migrations broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 migrations 2>/dev/n... | pipeline | du |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Kill all containerd processes by name."
},
{
"role": "assistant",
"content": "pkill containerd"
}
] | single | pkill |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a script that accepts --dir (-d), --level (-l) and --port (-p) via getopts, with a usage message."
},
{
"role": "assistant",
"content": "#!/usr... | script | getopts |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "download /var/log/metrics.log from 10.0.0.5 to the current dir"
},
{
"role": "assistant",
"content": "scp www-data@10.0.0.5:/var/log/metrics.log ."
}
] | single | scp |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "download https://app01.corp.net/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://app01.corp.net/list.txt | wc -l"
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Rename invoice.json to invoice.json.old"
},
{
"role": "assistant",
"content": "mv invoice.json invoice.json.old"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I want a cleanup script for /var/cache that purges .old files older than 30 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=/var/cache\nage=30\n[ -d \"... | script | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 10 largest subdirectories of /opt/app."
},
{
"role": "assistant",
"content": "du -h /opt/app/* 2>/dev/null | sort -rh | head -n 10"
}
... | pipeline | du |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Restart the mysql service."
},
{
"role": "assistant",
"content": "sudo systemctl restart mysql"
}
] | single | systemctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://auth.internal/api/items"
},
{
"role": "assistant",
"content": "curl -s https://auth.internal/api/items | jq 'length'"
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Read urls.txt line by line, skipping comments and blanks, and echo each entry numbered."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ba... | script | while |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://app01.internal/api/users"
},
{
"role": "assistant",
"content": "curl -s https://app01.internal/api/users | jq -r '.[].nam... | pipeline | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Given profile.json, show the last 15 lines."
},
{
"role": "assistant",
"content": "cat profile.json | tail -n 15"
}
] | pipeline | tail |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of build"
},
{
"role": "assistant",
"content": "tar -cjf build.tar.bz2 build"
}
] | single | tar |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "list only the .zip files in artifacts"
},
{
"role": "assistant",
"content": "ls artifacts | grep '\\.zip$'"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "From metrics.log, list the 5 most frequent field-2 entries with their counts."
},
{
"role": "assistant",
"content": "awk '{print $2}' metrics.log | sort | uniq -c | sort -nr | head -n 5"
}
] | pipeline | awk |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show a recursive listing of templates."
},
{
"role": "assistant",
"content": "ls -R templates"
}
] | single | ls |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a rotating backup: archive /home/deploy into /mnt/backup with gzip, retain 5 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash... | script | tar |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the systemd journal for the grafana-server service."
},
{
"role": "assistant",
"content": "journalctl -u grafana-server"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need per-database PostgreSQL backups written to /srv/backup and pruned after 3 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/srv/backup\nkeep=3\nmkd... | script | pg_dump |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Delete the first line of event.txt in place."
},
{
"role": "assistant",
"content": "sed -i '1d' event.txt"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Rename server.zip to server.zip.old without overwriting if the target already exists."
},
{
"role": "assistant",
"content": "mv -n server.zip server.zip.old"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find files in data owned by backup."
},
{
"role": "assistant",
"content": "find data -type f -user backup"
}
] | single | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "change permissions to 644 on all files under modules"
},
{
"role": "assistant",
"content": "find modules -type f -print0 | xargs -0 chmod 644"
... | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "replace tabs with commas in schema.ini and write to schema.ini.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' schema.ini > schema.ini.csv"... | pipeline | sed |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Move response.csv into the fixtures folder."
},
{
"role": "assistant",
"content": "mv response.csv fixtures/"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "replace tabs with commas in metrics.json and write to metrics.json.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' metrics.json > metrics.json.csv"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Rename payload.json to payload.json.old"
},
{
"role": "assistant",
"content": "mv payload.json payload.json.old"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Can you write a script that requires exactly two arguments (source and destination) and errors out otherwise?"
},
{
"role": "assistant",
"content... | script | args |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to show the last 50 lines containing 'disk full' in nginx-error.log."
},
{
"role": "assistant",
"content": "grep 'disk full' nginx-error.log | tail -n 50"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How do I list files in images sorted by size?"
},
{
"role": "assistant",
"content": "ls -lS images"
}
] | single | ls |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need getopts handling for three options: -o, -c and -d; print usage on bad input."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | getopts |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Read targets.txt line by line, skipping comments and blanks, and echo each entry numbered."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | while |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://backup.local/api/items"
},
{
"role": "assistant",
"content": "curl -s https://backup.local/a... | pipeline | curl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need per-database MySQL backups written to /mnt/backup and pruned after 3 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndes... | script | mysqldump |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a preflight check that API_KEY, PORT and DB_PASS exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo... | script | env |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Search nginx-access.log for lines containing 'panic'."
},
{
"role": "assistant",
"content": "grep 'panic' nginx-access.log"
}
] | single | grep |
[
{
"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 30 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefai... | script | pg_dump |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Read access.log, then convert everything to uppercase — as a pipeline."
},
{
"role": "assistant",
"content": "cat access.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": "Run 'npm run build' niced to 5 in the background."
},
{
"role": "assistant",
"content": "nice -n 5 npm run build &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Mirror fixtures to db01.service.io:/backup deleting files that no longer exist locally."
},
{
"role": "assistant",
"content": "rsync -avz --dele... | single | rsync |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://web01.service.io/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://web01.ser... | pipeline | curl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fetch JSON from https://auth.example.com/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://auth.example.com/api/users | ... | pipeline | curl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show open files for the elasticsearch process."
},
{
"role": "assistant",
"content": "lsof -c elasticsearch"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the unique '404' messages in syslog.log."
},
{
"role": "assistant",
"content": "grep '404' syslog.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Retry git fetch from origin at most 3 times with a 2-second backoff, failing loudly if it never succeeds."
},
{
"role": "assistant",
"content": "... | script | git |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of tests"
},
{
"role": "assistant",
"content": "tar -cjf tests.tar.bz2 tests"
}
] | single | tar |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print just the octal permission bits of dump.md."
},
{
"role": "assistant",
"content": "stat -c '%a' dump.md"
}
] | single | stat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Move users.sh into the docs folder."
},
{
"role": "assistant",
"content": "mv users.sh docs/"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Take index.conf and show the 20 longest lines."
},
{
"role": "assistant",
"content": "cat index.conf | awk '{ print length, $0 }' | sort -rn | he... | pipeline | awk |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List processes in a tree/hierarchy format."
},
{
"role": "assistant",
"content": "ps -ef --forest"
}
] | single | ps |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.