messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show vmstat in megabytes, 1s interval, 10 samples."
},
{
"role": "assistant",
"content": "vmstat -S M 1 10"
}
] | single | vmstat | 112d44f71d59cac2 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Can you write a script that dumps every PostgreSQL database into its own gzip file under /mnt/backup, keeping 7 days?"
},
{
"role": "assistant",
... | script | pg_dump | 267b92ee22ecfd8e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "E[x]tract a (compressed) archive [f]ile into the current directory [v]erbosely."
},
{
"role": "assistant",
"content": "tar xvf index.log"
}
] | single | tar | 9abcd182344a216d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Number only the body lines that match a basic `regex` (BRE) [p]attern."
},
{
"role": "assistant",
"content": "nl 50 p'FooBar[0-9]' schema.gz"
... | single | nl | f58cb761f08a8b87 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read nodes.txt line by line, skipping comments and blanks, and echo each entry numbered."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ba... | script | while | f74ea66b8b3a25c7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Calculate the parent directory of multiple paths."
},
{
"role": "assistant",
"content": "dirname include"
}
] | single | dirname | e75516df0c170c4d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the home directory contents of another user."
},
{
"role": "assistant",
"content": "ls ~erin"
}
] | single | ls | 7fa584db2538beca |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Unmount a filesystem, by passing the path to the source it is mounted from."
},
{
"role": "assistant",
"content": "umount payload.pdf"
}
] | single | umount | ee6c3537b4e57951 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How do I list files in media sorted by size?"
},
{
"role": "assistant",
"content": "ls -lS media"
}
] | single | ls | 167eb8a760431911 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How do I list files in media sorted by size?"
},
{
"role": "assistant",
"content": "ls -Sl media"
}
] | single | ls | 167eb8a760431911 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How do I list files in media sorted by size?"
},
{
"role": "assistant",
"content": "ls -l -S media"
}
] | single | ls | 167eb8a760431911 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the system's hostname."
},
{
"role": "assistant",
"content": "hostname"
}
] | single | hostname | ba750ba112031f60 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "On the file event.old, print it with line numbers."
},
{
"role": "assistant",
"content": "nl event.old"
}
] | single | nl | 13d610a7151d5186 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Select only the [n]ewest (most recently started) matching process."
},
{
"role": "assistant",
"content": "pgrep -n mysqld"
}
] | single | pgrep | adab578b74aeee5f |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a Bash 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 | e2e5c184c609e9cd |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "SSH [J]umping: Connect through a jumphost to a remote server (Multiple jump hops may be specified separated by comma characters)."
},
{
"role": "assistant",
"content": "ssh alice@192.168.1.10 -J ... | single | ssh | 6c5f21afe3992a30 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the disk usage of downloads broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 downloads 2>/dev/null | sort -rh"
}
] | pipeline | du | e9d1c5e5709a7b40 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the 20 largest subdirectories of downloads?"
},
{
"role": "assistant",
"content": "du -h downloads/* 2>/dev/null | sort -rh | head -n 20"
}
] | pipeline | du | d83da91fff4e25cc |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "What are the 20 largest subdirectories of downloads?"
},
{
"role": "assistant",
"content": "du --human-readable downloads/* 2>/dev/null | sort -rh | h... | pipeline | du | d83da91fff4e25cc |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://proxy.example.org/api/items"
},
{
"role": "assistant",
"content": "curl -s https://proxy.example.org/api/items | jq 'length'"
}
] | pipeline | curl | 65a464215d038ed5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://proxy.example.org/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://pr... | pipeline | curl | 65a464215d038ed5 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find files in /var/www owned by erin."
},
{
"role": "assistant",
"content": "find /var/www -type f -user erin"
}
] | single | find | 853c78643ee914ac |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find files in /var/www owned by erin."
},
{
"role": "assistant",
"content": "find /var/www -user erin -type f"
}
] | single | find | 853c78643ee914ac |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Wrap each line to default width (80 characters)."
},
{
"role": "assistant",
"content": "fold config.old"
}
] | single | fold | 1400965bfe70c4c2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the 20 largest subdirectories of bin?"
},
{
"role": "assistant",
"content": "du -h bin/* 2>/dev/null | sort -rh | head -n 20"
}
] | pipeline | du | 0aed6f9816c22f77 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Recursively copy the contents of a directory from a remote host to a local directory."
},
{
"role": "assistant",
"content": "scp -r db02.service.io:uploads project"
}
] | single | scp | 398b84588e3cf94d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Change the owner of dump.log to jenkins."
},
{
"role": "assistant",
"content": "sudo chown jenkins dump.log"
}
] | single | chown | fc18d702d6c516c1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find empty files in project."
},
{
"role": "assistant",
"content": "find project -type f -empty"
}
] | single | find | deb31dade679562a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find empty files in project."
},
{
"role": "assistant",
"content": "find project -empty -type f"
}
] | single | find | deb31dade679562a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the top 20 most frequent values in field 3 of the comma-separated file gateway.log."
},
{
"role": "assistant",
"content": "cut -d, -f3 gateway.log | sort | uni... | pipeline | cut | 9e7bb37b16d9c515 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List www-data's activity, headerless."
},
{
"role": "assistant",
"content": "w -h www-data"
}
] | single | w | cde50796f799889c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Copy changelog.js to backup/ but keep the original timestamps and permissions."
},
{
"role": "assistant",
"content": "cp -p changelog.js backup/"... | single | cp | f52aa78e2cc600a7 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Take data.md and strip trailing whitespace."
},
{
"role": "assistant",
"content": "cat data.md | sed 's/[[:space:]]*$//'"
}
] | pipeline | sed | b9571da156dbb97b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Recursively find files matching a specific pattern in the current directory."
},
{
"role": "assistant",
"content": "fd \"expired\""
}
] | single | fd | 2319c83fa11d120a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display information about a specific user."
},
{
"role": "assistant",
"content": "w redis"
}
] | single | w | 91ed9b399de305b6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write me a script that checks whether celery is running and starts it if not."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -eu... | script | if | 43c085883bcb9300 |
[
{
"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, DB_HOST is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset... | script | env | dcc63712d8ec1708 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://backup.service.io/api/users"
},
{
"role": "assistant",
"content": "curl -s https://backup.service.io/api/users | jq -r '.... | pipeline | curl | 56091bb0ad00a295 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://backup.service.io/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://backup.servic... | pipeline | curl | 56091bb0ad00a295 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "From metrics.tsv, list the 15 most frequent field-3 entries with their counts."
},
{
"role": "assistant",
"content": "awk '{print $3}' metrics.tsv | sort | uniq -c | sort -nr | head -n 15"
}
] | pipeline | awk | 4603d8cfefc0f066 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from auth.yaml."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' auth.yaml | sort -u"
}
] | pipeline | sed | c56ab390c463f815 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from auth.yaml."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' auth.yaml | sort -... | pipeline | sed | c56ab390c463f815 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from auth.yaml."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' auth.yaml | sort -u"
}
] | pipeline | sed | c56ab390c463f815 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "what's the size of output.conf in bytes?"
},
{
"role": "assistant",
"content": "stat -c '%s' output.conf"
}
] | single | stat | c33b52f7057abd8f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "what's the size of output.conf in bytes?"
},
{
"role": "assistant",
"content": "stat --format='%s' output.conf"
}
] | single | stat | c33b52f7057abd8f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "what's the size of output.conf in bytes?"
},
{
"role": "assistant",
"content": "stat --printf='%s' output.conf"
}
] | single | stat | c33b52f7057abd8f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from catalog.yaml."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' catalog.ya... | pipeline | sed | 5dca1c49d2e45696 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from catalog.yaml."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' catalog.yaml | sort -u"
}
] | pipeline | sed | 5dca1c49d2e45696 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from catalog.yaml."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' catalog.yaml | sort -u"
}... | pipeline | sed | 5dca1c49d2e45696 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from config.yaml."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' config.yaml | sort -u"
}
] | pipeline | sed | 54a81d1f7e08e967 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Give me a script that iterates over /home/deploy/*.conf and removes each matching file."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/home/deploy\nfor f in \... | script | rm | 356d6e69fec09e6a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"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 | fc9ef1ec64b54cb4 |
[
{
"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 --ignore-case error nginx-error.log | sort -u"
}
] | pipeline | grep | fc9ef1ec64b54cb4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write me a script that dumps every MySQL database into its own gzip file under /var/backups, keeping 7 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/v... | script | mysqldump | 1ccc20e1fdb83165 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Get the bare PID that holds port 22."
},
{
"role": "assistant",
"content": "lsof -i :22 -t"
}
] | single | lsof | b8e330dffcf9df39 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show connections on port 27017."
},
{
"role": "assistant",
"content": "netstat -anp | grep :27017"
}
] | single | netstat | fa32e0eee0792d0c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://mail.example.com/api/users"
},
{
"role": "assistant",
"content": "curl -s https://mail.example.com/api/users | jq -r '.[].name'"
}
] | pipeline | curl | c2eeccea2397460a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /data/backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -eu... | script | pg_dump | fd7abd40730869f2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Query your system's default name server for an IP address (A record) of the domain."
},
{
"role": "assistant",
"content": "nslookup server.sh"
... | single | nslookup | 2dd4cc766cb5ec6c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Parse command-line flags -n (name), -t (tag) and -p (port) using getopts and validate that -n is provided."
},
{
"role": "assistant",
"content":... | script | getopts | d604ff19cd4dcdeb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that verifies the environment variables DB_HOST, AWS_REGION and API_KEY are all set before running."
},
{
"role": "assistant",
... | script | env | 1dde77eff07022b6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that creates a temp working directory and cleans it up on exit using a trap."
},
{
"role": "assistant",
"content": "#!/usr/b... | script | trap | ff2e78b534aab878 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the input offset in hexadecimal and its ASCII representation in two columns."
},
{
"role": "assistant",
"content": "hexdump -C order.js"
}
] | single | hexdump | e74bc36f2a901161 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Give the [u]ser rights to [r]ead and [w]rite to a file/directory."
},
{
"role": "assistant",
"content": "chmod u+rw uploads"
}
] | single | chmod | 4c6e46b126b54254 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the first 500 lines of debug.log."
},
{
"role": "assistant",
"content": "head -n 500 debug.log"
}
] | single | head | 02fd793cdcda86fd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the first 500 lines of debug.log."
},
{
"role": "assistant",
"content": "head --lines 500 debug.log"
}
] | single | head | 02fd793cdcda86fd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the first 500 lines of debug.log."
},
{
"role": "assistant",
"content": "head -500 debug.log"
}
] | single | head | 02fd793cdcda86fd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need per-database MySQL backups written to /var/backups and pruned after 3 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | mysqldump | 7dbbbc0b9a91c721 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find kernel errors related to link."
},
{
"role": "assistant",
"content": "dmesg --level=err | grep -i link"
}
] | single | dmesg | b1c1d9ad5517f053 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "See the members of a group."
},
{
"role": "assistant",
"content": "getent group operators"
}
] | single | getent | 4f5d6c0c04a610c0 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Sort a file using numeric rather than alphabetic order."
},
{
"role": "assistant",
"content": "sort 100 output.pdf"
}
] | single | sort | 316dee337a5dd041 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a script that checks whether product.tar.gz exists and is non-empty, printing an appropriate message."
},
{
"role": "assistant",
"content"... | script | if | bd2d0cb2617f56d7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Check whether systemd is running and exit 0 if so, 1 otherwise, with a message."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo p... | script | if | a5995d8d73bac6b2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "replace tabs with commas in notes.tsv and write to notes.tsv.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' notes.tsv > notes.tsv.csv"
}... | pipeline | sed | 3b9e2796134f52ce |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show all TCP IPv4 sockets locally connected on the subnet 192.168.0.0/16."
},
{
"role": "assistant",
"content": "ss db02.corp.net src 192.168/16"
}
... | single | ss | 6ac94c04937d231e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create multiple files with a letter range."
},
{
"role": "assistant",
"content": "touch transaction.zip}"
}
] | single | touch | beede64de295ea2c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how often each column-7 value appears in scheduler.log; show the 20 most common."
},
{
"role": "assistant",
"content": "cut -d, -f7 schedu... | pipeline | cut | f37a8bac4a3ddc63 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Ping git.corp.net once and branch: print reachable or unreachable based on the result."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nhost=git.corp.net\nif ping -c... | script | if | 325a28f00370b333 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Recursively make everything in tmp readable and writable by the owner only."
},
{
"role": "assistant",
"content": "chmod -R 600 tmp"
}
] | single | chmod | a7068b210053419d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Recursively make everything in tmp readable and writable by the owner only."
},
{
"role": "assistant",
"content": "chmod --recursive 600 tmp"
}... | single | chmod | a7068b210053419d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://db01.example.com/api/users"
},
{
"role": "assistant",
"content": "curl -s https://db01.example.com/ap... | pipeline | curl | e839794728db3dd8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What is git running right now?"
},
{
"role": "assistant",
"content": "w git"
}
] | single | w | dc54f535dcd3d665 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Calculate and save the list of BLAKE2 checksums to a file."
},
{
"role": "assistant",
"content": "b2sum request.gz > results.yaml"
}
] | single | b2sum | ebf3d9df749e56d7 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run the backup script, sending stdout and stderr to request.log."
},
{
"role": "assistant",
"content": "./backup.sh > request.log 2>&1"
}
] | pipeline | redirection | b6ac1fc693f5a160 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Use extended `regex` (supports `?`, `+`, `{}`, `()`, and `|`)."
},
{
"role": "assistant",
"content": "zgrep overflow warning: release.css"
}
] | single | zgrep | 124115f81ba7826b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Calculate and save the list of SHA512 checksums to a file."
},
{
"role": "assistant",
"content": "sha512sum index.sql > e4f5a6b"
}
] | single | sha512sum | 43b7fb312caa4a12 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from index.ini."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.ini | sort -u"
}
] | pipeline | sed | e617c24428f8cc29 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from index.ini."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.ini | ... | pipeline | sed | e617c24428f8cc29 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from index.ini."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.ini | sort -u"
}
] | pipeline | sed | e617c24428f8cc29 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "send a GET request to https://cache.example.com/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://cache.example.com/api"
}
... | single | curl | aa3066929bd8864d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "send a GET request to https://cache.example.com/api and show the response headers"
},
{
"role": "assistant",
"content": "curl --head https://cach... | single | curl | aa3066929bd8864d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under logs."
},
{
"role": "assistant",
"content": "du -ah logs | sort -rh | head -n 20"
}
] | pipeline | du | ef1391f1a71f28fd |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print lines only found in second file, when the files aren't sorted."
},
{
"role": "assistant",
"content": "comm -13 <(sort debug.log) <(sort order.tar.gz)"
}
] | single | comm | 7c07fb64fb458911 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show only the rightmost directory name from a path."
},
{
"role": "assistant",
"content": "basename bin"
}
] | single | basename | 43bc4c04e4293217 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show TCP connections involving cache.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep cache.service.io"
}
] | single | netstat | 41df92b2b62f64e5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "[Interactive] Dump raw bytes of current block to a file."
},
{
"role": "assistant",
"content": "pr > changelog.sql"
}
] | single | pr | 1f17c96a96b91349 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "From report.csv, list the 15 most frequent field-7 entries with their counts."
},
{
"role": "assistant",
"content": "cut -d, -f7 report.csv | sort | uniq -c | sort -nr | head -n 15"
}
] | pipeline | cut | ada9a4bbe70568f0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 10 largest subdirectories of /var/www."
},
{
"role": "assistant",
"content": "du -h /var/www/* 2>/dev/null | sort -rh | head -n 10"
}
... | pipeline | du | 333b060d03be6a8c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the 10 largest subdirectories of /var/www."
},
{
"role": "assistant",
"content": "du --human-readable /var/www/* 2>/dev/null | sort -rh | h... | pipeline | du | 333b060d03be6a8c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://proxy.service.io/api/items"
},
{
"role": "assistant",
"content": "curl -s https://proxy.service.io/api/items | jq 'length'"
}
] | pipeline | curl | 74903588bb2c5518 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.