messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Recursively make everything in src readable and writable by the owner only."
},
{
"role": "assistant",
"content": "chmod --recursive 600 src"
}
] | single | chmod | 7b4091e98f6f1fb2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create a hard link to a file."
},
{
"role": "assistant",
"content": "ln /server.yaml build.jpg"
}
] | single | ln | 98de0852149638fb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that alerts if the root filesystem is more than 95% full."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | if | 94cce1d28b7a771a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Output the first few lines of a file."
},
{
"role": "assistant",
"content": "head -n 20 output.css"
}
] | single | head | c8b85abad84264a2 |
[
{
"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 /srv/backup with xz, retain 30 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail... | script | tar | e5c06eaf0db01c6d |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Copy the given public key to the remote with specific port."
},
{
"role": "assistant",
"content": "ssh-copy-id -i users.conf -p 53 ubuntu@cdn.corp.net... | single | ssh-copy-id | 3f112c1d079446bf |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Compress a file."
},
{
"role": "assistant",
"content": "bzip2 archive.old"
}
] | single | bzip2 | 380c75f4a22b2f54 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Use a specific port when connecting to the remote host."
},
{
"role": "assistant",
"content": "scp -P 5672 index.xml 172.16.0.20:changelog.tar.gz"
}... | single | scp | eb2f625494edb0bb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Refresh memory usage every 2 seconds."
},
{
"role": "assistant",
"content": "free -h -s 2"
}
] | single | free | 076fadd8913cc48f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List the 5 largest subdirectories of static."
},
{
"role": "assistant",
"content": "du -h static/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du | 9c9b0ed445c01cf1 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show what user ec2-user is currently doing."
},
{
"role": "assistant",
"content": "w ec2-user"
}
] | single | w | a65d6011c2fdb117 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the disk usage of tmp broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 tmp 2>/dev/null | sort -rh"
}
] | pipeline | du | e535be60ca92d93e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the disk usage of tmp broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 tmp 2>/dev/nu... | pipeline | du | e535be60ca92d93e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the disk usage of /mnt/data broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /mnt/data 2>/dev/null | sort -rh"
}
] | pipeline | du | cbfad22a937d7d9b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the disk usage of /mnt/data broken down one level deep."
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 /mnt/data 2>/dev/null | sort -rh"
}
] | pipeline | du | cbfad22a937d7d9b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Save results to a file."
},
{
"role": "assistant",
"content": "ncdu -o sales.csv"
}
] | single | ncdu | dd8f234525087a79 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the most recently modified file in scripts."
},
{
"role": "assistant",
"content": "ls -t scripts | head -n 1"
}
] | pipeline | ls | ffe5137dfb64c82e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find directories named data anywhere under scripts."
},
{
"role": "assistant",
"content": "find scripts -type d -name 'data'"
}
] | single | find | 58eb556f0f4306d9 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find directories named data anywhere under scripts."
},
{
"role": "assistant",
"content": "find scripts -name 'data' -type d"
}
] | single | find | 58eb556f0f4306d9 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://registry.internal/api/users"
},
{
"role": "assistant",
"content": "curl -s https://registry.internal/api/us... | pipeline | curl | 1f6447565a175408 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://registry.internal/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://registry.internal/api/users | jq... | pipeline | curl | 1f6447565a175408 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to show the last 50 lines containing 'not found' in worker.log."
},
{
"role": "assistant",
"content": "grep 'not found' worker.log | tail -n 50"
}
] | pipeline | grep | 7e166e9ea7d8467b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the top 10 most frequent values in field 4 of the comma-separated file inventory.csv."
},
{
"role": "assistant",
"content": "cut -d, -f4 inventor... | pipeline | cut | adf42f4697771059 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from manifest.csv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manifest.csv | sort -u"
}
] | pipeline | sed | d7f0b4fa6dba1beb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from manifest.csv."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manifest.c... | pipeline | sed | d7f0b4fa6dba1beb |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from manifest.csv."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manifest.csv | sort -u"
}... | pipeline | sed | d7f0b4fa6dba1beb |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Disable IP address and host name mapping."
},
{
"role": "assistant",
"content": "traceroute -n event.tar.gz"
}
] | single | traceroute | c0783db43bce2b16 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Sum the values in the first column of a file and print the total."
},
{
"role": "assistant",
"content": "awk '{s+=$1} END {print s}' auth.xml"
}
] | single | awk | 7056f8c3390d3b70 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Take error.csv and count the lines."
},
{
"role": "assistant",
"content": "cat error.csv | wc -l"
}
] | pipeline | wc | 8dc099402fa02e97 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find the biggest files under /etc/apache2."
},
{
"role": "assistant",
"content": "du -ah /etc/apache2 | sort -rh | head -n 20"
}
] | pipeline | du | be4ff52e7a795ef4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the biggest files under /etc/apache2."
},
{
"role": "assistant",
"content": "du -ha /etc/apache2 | sort -rh | head -n 20"
}
] | pipeline | du | be4ff52e7a795ef4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find the biggest files under /etc/apache2."
},
{
"role": "assistant",
"content": "du -a -h /etc/apache2 | sort -rh | head -n 20"
}
] | pipeline | du | be4ff52e7a795ef4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List files opened by the given user."
},
{
"role": "assistant",
"content": "lsof -u tomcat"
}
] | single | lsof | 9826a668464da618 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read server.log, then count the lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat server.log | wc -l"
}
] | pipeline | wc | 574dd94b3236b4b2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Read server.log, then count the lines — as a pipeline."
},
{
"role": "assistant",
"content": "wc -l < server.log"
}
] | pipeline | wc | 574dd94b3236b4b2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /mnt/backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset... | script | pg_dump | fb17f59bb674c132 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "In debug.log, which 15 values of column 2 occur most often?"
},
{
"role": "assistant",
"content": "cut -d, -f2 debug.log | sort | uniq -c | sort -nr | head -n 15"
}
] | pipeline | cut | 1bc0743ff99bd012 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "For account.csv, count the lines."
},
{
"role": "assistant",
"content": "wc -l account.csv"
}
] | single | wc | eb8a9c1e4edfb36f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "For account.csv, count the lines."
},
{
"role": "assistant",
"content": "wc --lines account.csv"
}
] | single | wc | eb8a9c1e4edfb36f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "For account.csv, count the lines."
},
{
"role": "assistant",
"content": "wc -l < account.csv"
}
] | single | wc | eb8a9c1e4edfb36f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the 10 most common 'refused'-related lines in access.log."
},
{
"role": "assistant",
"content": "grep 'refused' access.log | sort | uniq -c ... | pipeline | grep | 1c4548a9282f3499 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the contents of the dist directory sorted by modification time, newest first."
},
{
"role": "assistant",
"content": "ls -lt dist"
}
] | single | ls | f07b90e8ae58ae68 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the contents of the dist directory sorted by modification time, newest first."
},
{
"role": "assistant",
"content": "ls -tl dist"
}
] | single | ls | f07b90e8ae58ae68 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the contents of the dist directory sorted by modification time, newest first."
},
{
"role": "assistant",
"content": "ls -l -t dist"
}
] | single | ls | f07b90e8ae58ae68 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find all .old files under /srv/data and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find /srv/data -type f -name ... | pipeline | find | 34538cc152870753 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many words are in request.log?"
},
{
"role": "assistant",
"content": "wc -w request.log"
}
] | single | wc | ccd763c5db0424c4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How many words are in request.log?"
},
{
"role": "assistant",
"content": "wc --words request.log"
}
] | single | wc | ccd763c5db0424c4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write me a script that loops over every .zip file in /var/www and compresses each file with gzip."
},
{
"role": "assistant",
"content": "#!/usr/... | script | gzip | c42473e0d15263f3 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from config.tsv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' config.tsv ... | pipeline | sed | 55f22bca970d7fb8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from config.tsv."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' config.tsv | sort... | pipeline | sed | 55f22bca970d7fb8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from config.tsv."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' config.tsv | sort -u"
}
] | pipeline | sed | 55f22bca970d7fb8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Calculate the SHA256 checksum for one or more files."
},
{
"role": "assistant",
"content": "sha256sum session.jpg"
}
] | single | sha256sum | 975c3a81fe565582 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Concatenate several files into the target file."
},
{
"role": "assistant",
"content": "bat export.jpg > export.log"
}
] | single | bat | 32574da34739986b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "download https://app01.example.com/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://app01.example.com/list.tx... | pipeline | curl | ddb6c332df103099 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "download https://app01.example.com/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl --silent https://app01.example.com/list.txt | wc -l"
}
] | pipeline | curl | ddb6c332df103099 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to follow the mysql journal but only show lines mentioning 'unreachable'."
},
{
"role": "assistant",
"content": "journalctl -u mysql -f | ... | pipeline | journalctl | b112454efb50c246 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to follow the mysql journal but only show lines mentioning 'unreachable'."
},
{
"role": "assistant",
"content": "journalctl --unit mysql -... | pipeline | journalctl | b112454efb50c246 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Ping host and ring the bell when a packet is received (if your terminal supports it)."
},
{
"role": "assistant",
"content": "ping -a 8.8.8.8"
}
] | single | ping | 55e81350b9209b87 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Archive templates and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar -czf - templates | ssh admin@git.corp.net 'cat > /backup/templates.tar.gz'"
}
] | pipeline | tar | 9db11b7566961dcb |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Archive templates and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar czf - templates | ssh admin@git.corp.net 'cat > /b... | pipeline | tar | 9db11b7566961dcb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Archive templates and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar -zcf - templates | ssh admin@git.cor... | pipeline | tar | 9db11b7566961dcb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://8.8.8.8/api/users"
},
{
"role": "assistant",
"content": "curl -s https://8.8.8.8/api/users | jq -r '.... | pipeline | curl | 65850766ef7ddaf8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://8.8.8.8/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://8.8.8.8/api/users | jq... | pipeline | curl | 65850766ef7ddaf8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in /opt/app."
},
{
"role": "assistant",
"content": "du -h /opt/app/* | sort -rh | head -n 10"
}
] | pipeline | du | c1014ec5faa0c273 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Change the owner of inventory.css to backup."
},
{
"role": "assistant",
"content": "sudo chown backup inventory.css"
}
] | single | chown | 903ca1733c82c2d7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Follow the prometheus journal but only show lines mentioning 'panic'."
},
{
"role": "assistant",
"content": "journalctl -u prometheus -f | grep --line... | pipeline | journalctl | 5ededc06d4fb9b5b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Follow the prometheus journal but only show lines mentioning 'panic'."
},
{
"role": "assistant",
"content": "journalctl --unit prometheus -f | g... | pipeline | journalctl | 5ededc06d4fb9b5b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Append the current date to api.log."
},
{
"role": "assistant",
"content": "date >> api.log"
}
] | pipeline | redirection | 34de0a84b34c1c98 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Compress a file using the fastest compression."
},
{
"role": "assistant",
"content": "xz -0 event.sh"
}
] | single | xz | 79d93d472b53da17 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Rename audit.sql to audit.sql.old"
},
{
"role": "assistant",
"content": "mv audit.sql audit.sql.old"
}
] | single | mv | c4d680930ed234b8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Test if access.sql is present and has content; report missing, empty, or its line count."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ba... | script | if | 1e8dded800cbbe87 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Include hidden files and entries listed in `.gitignore`."
},
{
"role": "assistant",
"content": "rg migration.xml --no-ignore stale"
}
] | single | rg | 9b6bdc20c59633bc |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many lines in messages match 'stale'."
},
{
"role": "assistant",
"content": "grep -c 'stale' messages"
}
] | single | grep | cca7737166cd504b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many lines in messages match 'stale'."
},
{
"role": "assistant",
"content": "grep --count 'stale' messages"
}
] | single | grep | cca7737166cd504b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count how many lines in messages match 'stale'."
},
{
"role": "assistant",
"content": "grep 'stale' messages | wc -l"
}
] | single | grep | cca7737166cd504b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://web01.local/api/users"
},
{
"role": "assistant",
"content": "curl -s https://web01.local/api/users | jq -r '.[].name'"
... | pipeline | curl | a31c9522c81b3494 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://web01.local/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://web01.local/api/users | jq -r '.[].nam... | pipeline | curl | a31c9522c81b3494 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a rotating backup: archive /home/alice into /var/backups with gzip, retain 7 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nsrc=/home/alice\ndest=/v... | script | tar | 6ee14521a7f3af43 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Kill all processes which match."
},
{
"role": "assistant",
"content": "pkill \"java\""
}
] | single | pkill | a83c07a2f5255d01 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Give me a script that iterates over /opt/app/*.old and changes the owner of each file to deploy."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/opt/app\nfor f... | script | chown | 12a4c4892e059da6 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count how many gunicorn processes are running."
},
{
"role": "assistant",
"content": "pgrep -c gunicorn"
}
] | pipeline | pgrep | dd322ae7c29910e4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count how many gunicorn processes are running."
},
{
"role": "assistant",
"content": "pgrep --count gunicorn"
}
] | pipeline | pgrep | dd322ae7c29910e4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Loop through the .pdf files in /var/www and changes the owner of each file to deploy — write it as a proper script."
},
{
"role": "assistant",
"c... | script | chown | de115b1045c10e60 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Refresh the output every 2 seconds."
},
{
"role": "assistant",
"content": "free 100 2"
}
] | single | free | aa2866da4d7aa51f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "move all .zip files into the vendor directory"
},
{
"role": "assistant",
"content": "mv *.zip vendor/"
}
] | single | mv | a70f2b62c8cc6cf1 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://app01.example.com/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://app01.example.com/api/users | jq ."
}
] | pipeline | curl | 9d12044482dc5da6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show ec2-user's sessions without the header."
},
{
"role": "assistant",
"content": "w -h ec2-user"
}
] | single | w | 019a452f6063f2e7 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read data.conf, then strip trailing whitespace — as a pipeline."
},
{
"role": "assistant",
"content": "cat data.conf | sed 's/[[:space:]]*$//'"
... | pipeline | sed | b54670b274aaf14e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Read export.conf, then show the 20 longest lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat export.conf | awk '{ print length, ... | pipeline | awk | c8aab2982f9dee46 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fetch JSON from https://git.example.com/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://git.example.com/api/users | jq... | pipeline | curl | 9e7d1a08c9426538 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fetch JSON from https://git.example.com/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://git.example.com/api/user... | pipeline | curl | 9e7d1a08c9426538 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a script that alerts if the root filesystem is more than 80% full."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefai... | script | if | c4f08b62812fbe86 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find all .txt files under /home/deploy."
},
{
"role": "assistant",
"content": "find /home/deploy -type f -name '*.txt'"
}
] | single | find | 12543145656aed17 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find all .txt files under /home/deploy."
},
{
"role": "assistant",
"content": "find /home/deploy -name '*.txt' -type f"
}
] | single | find | 12543145656aed17 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Parse command-line flags -d (dir), -n (name) and -t (tag) using getopts and validate that -d is provided."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash... | script | getopts | b9346c2e2d1e4977 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Generate a certificate signing request to be sent to a certificate authority."
},
{
"role": "assistant",
"content": "openssl req -new -sha256 -key product.sh -out settings.md"
}
] | single | openssl | 62fdbafbee002999 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under /var/log."
},
{
"role": "assistant",
"content": "du -ah /var/log | sort -rh | head -n 20"
}
] | pipeline | du | 9a40ea0345ba830f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under /var/log."
},
{
"role": "assistant",
"content": "du -ha /var/log | sort -rh | head -n 20"
}
] | pipeline | du | 9a40ea0345ba830f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under /var/log."
},
{
"role": "assistant",
"content": "du -a -h /var/log | sort -rh | head -n 20"
}
] | pipeline | du | 9a40ea0345ba830f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List just the filenames under reports that contain '500'."
},
{
"role": "assistant",
"content": "grep -rl '500' reports"
}
] | single | grep | b1a42bb7df27ce2c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.