messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "copy the whole static folder to static_copy recursively"
},
{
"role": "assistant",
"content": "cp -r static static_copy"
}
] | single | cp | 18d765596850db9c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "copy the whole static folder to static_copy recursively"
},
{
"role": "assistant",
"content": "cp --recursive static static_copy"
}
] | single | cp | 18d765596850db9c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to follow the sshd journal but only show lines mentioning 'warning:'."
},
{
"role": "assistant",
"content": "journalctl -u sshd -f | grep ... | pipeline | journalctl | 02e185fdf2884a80 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me how to follow the sshd journal but only show lines mentioning 'warning:'."
},
{
"role": "assistant",
"content": "journalctl --unit sshd -f | grep --line-buf... | pipeline | journalctl | 02e185fdf2884a80 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Sum the response sizes (column 10) in access.log."
},
{
"role": "assistant",
"content": "awk '{s+=$10} END{print s}' access.log"
}
] | pipeline | awk | a435131c9a641ecd |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Calculate the parent directory of a given path."
},
{
"role": "assistant",
"content": "dirname tmp"
}
] | single | dirname | 9f22b47f87c69382 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a script that verifies it is run with at least one argument, else prints usage."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | if | 6176d1a19e54caa8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the last 20 warning entries for postgresql."
},
{
"role": "assistant",
"content": "journalctl -u postgresql -p warning -n 20 --no-pager"
... | pipeline | journalctl | 3d1d6f2eb6f0f6b8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the last 20 warning entries for postgresql."
},
{
"role": "assistant",
"content": "journalctl --unit postgresql -p warning -n 20 --no-pager"... | pipeline | journalctl | 3d1d6f2eb6f0f6b8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me how to show the last 10 lines containing 'expired' in worker.log."
},
{
"role": "assistant",
"content": "grep 'expired' worker.log | tail... | pipeline | grep | 24e9167ca2bf2c0d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Set invoice.html to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 invoice.html"
}
] | single | chmod | a888af55bca610ca |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Set invoice.html to permissions 644."
},
{
"role": "assistant",
"content": "chmod u=rw,go=r invoice.html"
}
] | single | chmod | a888af55bca610ca |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of backup"
},
{
"role": "assistant",
"content": "tar -cjf backup.tar.bz2 backup"
}
] | single | tar | 3657894589a189df |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of backup"
},
{
"role": "assistant",
"content": "tar cjf backup.tar.bz2 backup"
}
] | single | tar | 3657894589a189df |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of backup"
},
{
"role": "assistant",
"content": "tar -jcf backup.tar.bz2 backup"
}
] | single | tar | 3657894589a189df |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find files in tmp owned by tomcat."
},
{
"role": "assistant",
"content": "find tmp -type f -user tomcat"
}
] | single | find | 1eccb311cd456e2c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find files in tmp owned by tomcat."
},
{
"role": "assistant",
"content": "find tmp -user tomcat -type f"
}
] | single | find | 1eccb311cd456e2c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a script that refuses to run unless it's executed as root."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nif [ ... | script | if | c9b810376dd1a5b3 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show error-level dmesg lines mentioning tcp."
},
{
"role": "assistant",
"content": "dmesg --level=err | grep -i tcp"
}
] | single | dmesg | 3d28990a834398ac |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the last 20 warning entries for systemd-networkd."
},
{
"role": "assistant",
"content": "journalctl -u systemd-networkd -p warning -n 20 --... | pipeline | journalctl | eee1760cee9f9a40 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the last 20 warning entries for systemd-networkd."
},
{
"role": "assistant",
"content": "journalctl --unit systemd-networkd -p warning -n 2... | pipeline | journalctl | eee1760cee9f9a40 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 4403 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 4403"
}
] | single | renice | 280068f40079eefd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How do I list files in /etc/nginx sorted by size?"
},
{
"role": "assistant",
"content": "ls -lS /etc/nginx"
}
] | single | ls | afaadde7f281f9ba |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How do I list files in /etc/nginx sorted by size?"
},
{
"role": "assistant",
"content": "ls -Sl /etc/nginx"
}
] | single | ls | afaadde7f281f9ba |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How do I list files in /etc/nginx sorted by size?"
},
{
"role": "assistant",
"content": "ls -l -S /etc/nginx"
}
] | single | ls | afaadde7f281f9ba |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "POST a JSON body to https://cdn.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl -X POST -H 'Content-Type: application/json' -d '{\... | single | curl | 224c5a1392f86500 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "POST a JSON body to https://cdn.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl --request POST -H 'Content-Type: application/json'... | single | curl | 224c5a1392f86500 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Use extended `regex`es (supports `?`, `+`, `{}`, `()`, and `|`), in case-insensitive mode."
},
{
"role": "assistant",
"content": "grep failed \"SIGTERM\" build.txt"... | single | grep | 2abdba4a03cb6aff |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Connect using a predefined host (in `~/.ssh/config`)."
},
{
"role": "assistant",
"content": "sftp proxy.example.org"
}
] | single | sftp | 8a79b89ebf145422 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How many lines in gateway.log mention 'rejected'?"
},
{
"role": "assistant",
"content": "grep -c 'rejected' gateway.log | cat"
}
] | pipeline | grep | f4f745824f74dae9 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Tally how many times each log level appears in debug.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' debug.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | cf5fa437e1070a3b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to count 'failed' occurrences in the elasticsearch journal today."
},
{
"role": "assistant",
"content": "journalctl -u elasticsearch --since to... | pipeline | journalctl | 9ac4fb30d3de475c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to count 'failed' occurrences in the elasticsearch journal today."
},
{
"role": "assistant",
"content": "journalctl --unit elasticsearch -... | pipeline | journalctl | 9ac4fb30d3de475c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Give a description of the type of the specified file."
},
{
"role": "assistant",
"content": "file event.conf"
}
] | single | file | 85056190c9694f13 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Ping a host, specifying the interval in seconds between requests (default is 1 second)."
},
{
"role": "assistant",
"content": "ping6 -i 3 db02.ex... | single | ping6 | f91cc821b0ac672e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from dump.tsv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' dump.tsv | sort -u"
}
] | pipeline | sed | 1745a30772a39a24 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from dump.tsv."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' dump.tsv | sort -u"
}
] | pipeline | sed | 1745a30772a39a24 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from dump.tsv."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' dump.tsv | s... | pipeline | sed | 1745a30772a39a24 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run vmstat every 10s and stop after 30 samples."
},
{
"role": "assistant",
"content": "vmstat 10 30"
}
] | single | vmstat | 16d4c3c7ac46b774 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Clean up cache: remove .tmp files not modified in 30 days, recording each deletion."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | find | 1f60d46d3b284a58 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Query a given name server for the whole zone file (zone transfer) of the domain using TCP protocol."
},
{
"role": "assistant",
"content": "nslookup -v... | single | nslookup | 707ba0a49c4b0f05 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Sample free 3 times at 5-second intervals in megabytes."
},
{
"role": "assistant",
"content": "free -m -s 5 -c 3"
}
] | single | free | 12f02d7644b08d47 |
[
{
"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 request.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' r... | pipeline | grep | ee805c262698af6a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in request.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' reques... | pipeline | grep | ee805c262698af6a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in request.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)... | pipeline | grep | ee805c262698af6a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find files matching a given pattern, excluding specific paths."
},
{
"role": "assistant",
"content": "find uploads -name 'event.tar.gz' -not -pat... | single | find | 4edf8e12fb6dace8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from order.csv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' order.csv | sort -u"
}
] | pipeline | sed | 520877bbe0d658dc |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from order.csv."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' order.csv | sort -u"
}
] | pipeline | sed | 520877bbe0d658dc |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from order.csv."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' order.csv |... | pipeline | sed | 520877bbe0d658dc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a script that categorizes a filename by extension using case (is a .gif an image, archive, doc?)."
},
{
"role": "assistant",
"content": "#... | script | case | eda07282eaa4db50 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find files in /etc/apache2 larger than 100M."
},
{
"role": "assistant",
"content": "find /etc/apache2 -type f -size +100M"
}
] | single | find | 7b6ad75f2133ee5a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find files in /etc/apache2 larger than 100M."
},
{
"role": "assistant",
"content": "find /etc/apache2 -size +100M -type f"
}
] | single | find | 7b6ad75f2133ee5a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the subtree of processes under PID 7905."
},
{
"role": "assistant",
"content": "pstree -p 7905"
}
] | single | pstree | 8bb17297e0948b27 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in nginx-error.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|... | pipeline | grep | 24487b2f03100a5a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in nginx-error.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' nginx-error.log | sort | uniq -c | sort -n... | pipeline | grep | 24487b2f03100a5a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in nginx-error.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' nginx-err... | pipeline | grep | 24487b2f03100a5a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a shell script that runs checksum with sha256sum on every .xml file in /srv/data, 4 jobs in parallel."
},
{
"role": "assistant",
"content":... | script | xargs | 964c761c41943fa2 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fetch JSON from https://localhost/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://localhost/api/users | jq ."
}
] | pipeline | curl | 30b902d230ca914c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://localhost/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://localhost/api/users | jq ."
}
] | pipeline | curl | 30b902d230ca914c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Change the password of a key."
},
{
"role": "assistant",
"content": "ssh-keygen -f metrics.txt -p"
}
] | single | ssh-keygen | 0f502a295e5cf3a4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me the disk usage of downloads broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 downloads 2>/dev/null | sor... | pipeline | du | 67aee539170e0009 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "[c]reate a g[z]ipped archive and write it to a [f]ile."
},
{
"role": "assistant",
"content": "tar czf auth.zip inventory.yaml"
}
] | single | tar | ebae26eb2693b03a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How many connections are there to port 25565?"
},
{
"role": "assistant",
"content": "ss -tn | grep ':25565' | wc -l"
}
] | pipeline | ss | d0fab4e560ac36b2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "download https://cdn.example.com/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://cdn.example.com/list.txt | wc -l"
}
] | pipeline | curl | be0be8d09e43ea07 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://app01.internal/api/users"
},
{
"role": "assistant",
"content": "curl -s https://app01.internal/api/us... | pipeline | curl | ce87b87c6b8f0caa |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://app01.internal/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://app01.internal/api/users | jq -r '.[].name'"
}
] | pipeline | curl | ce87b87c6b8f0caa |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Loop over every .log file in scripts and gzip any that are larger than 10MB."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo... | script | for | 02cd7632a0ca9fab |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display file using default settings: octal format, 8 bytes per line, byte offsets in octal, and duplicate lines replaced with `*`."
},
{
"role": "assistant",
"content": "od users.old"
}
] | single | od | 49d19935b469f760 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extended disk I/O stats every 2s, 10 samples."
},
{
"role": "assistant",
"content": "iostat -x 2 10"
}
] | single | iostat | b9a3f29d1d6781ba |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show vmstat in megabytes, 3s interval, 5 samples."
},
{
"role": "assistant",
"content": "vmstat -S M 3 5"
}
] | single | vmstat | 3e84fb1e10d335e6 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print a float number with the Unicode Euro sign."
},
{
"role": "assistant",
"content": "printf \"index.md\" inventory.old"
}
] | single | printf | 6bdaea0950ef7ee6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Perform a topological sort consistent with a partial sort per line of input separated by blanks."
},
{
"role": "assistant",
"content": "tsort man... | single | tsort | 4bf0afb465a590b7 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need a script that runs optipng on every .js file in /data/uploads, 2 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env b... | script | xargs | df172603507cc164 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a Bash script that loops over every .py file in /home/alice and moves each file into an archive/ subfolder."
},
{
"role": "assistant",
"content": "#!/usr/bin/... | script | mv | df754d03564cae5e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "which directories under assets are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 assets | sort -rh"
}
] | pipeline | du | 74c90e88f0f0bf1e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "which directories under assets are eating the most space?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 assets | sort... | pipeline | du | 74c90e88f0f0bf1e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in access.log mention 'WARNING'?"
},
{
"role": "assistant",
"content": "grep -c 'WARNING' access.log | cat"
}
] | pipeline | grep | 8af29af1283b7e91 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in access.log mention 'WARNING'?"
},
{
"role": "assistant",
"content": "grep --count 'WARNING' access.log | cat"
}
] | pipeline | grep | 8af29af1283b7e91 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find kernel errors related to nvme."
},
{
"role": "assistant",
"content": "dmesg --level=err | grep -i nvme"
}
] | single | dmesg | 8247e6a1f4cde290 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Compress a file, replacing it with a `gzip` archive."
},
{
"role": "assistant",
"content": "gzip users.tar.gz"
}
] | single | gzip | cd4ad79d0765d9d2 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Remove specific directories."
},
{
"role": "assistant",
"content": "rmdir static"
}
] | single | rmdir | d0433161e88b04e4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the 10 largest subdirectories of /etc/apache2."
},
{
"role": "assistant",
"content": "du -h /etc/apache2/* 2>/dev/null | sort -rh | head -n 10"
}
] | pipeline | du | e90193af2841487f |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the 10 largest subdirectories of /etc/apache2."
},
{
"role": "assistant",
"content": "du --human-readable /etc/apache2/* 2>/dev/null | sort -rh | head -n 10"
... | pipeline | du | e90193af2841487f |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fetch https://cdn.example.com/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl -s -o /dev/null -w '%{http_code}' https://cdn.... | single | curl | 18c2c934af6b9c10 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch https://cdn.example.com/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl --silent -o /dev/null -w '... | single | curl | 18c2c934af6b9c10 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Follow api.log live as new lines are appended."
},
{
"role": "assistant",
"content": "tail -f api.log"
}
] | single | tail | 58a6794f117ab1e4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Follow api.log live as new lines are appended."
},
{
"role": "assistant",
"content": "tail --follow api.log"
}
] | single | tail | 58a6794f117ab1e4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show vmstat in megabytes, 2s interval, 30 samples."
},
{
"role": "assistant",
"content": "vmstat -S M 2 30"
}
] | single | vmstat | 6134044039aab849 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in kern.log mention 'fatal'?"
},
{
"role": "assistant",
"content": "grep -c 'fatal' kern.log | cat"
}
] | pipeline | grep | f3e35ce8be5b0330 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read request.tsv, then sort it and drop duplicate lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat request.tsv | sort -u"
}
] | pipeline | sort | 759e0e1582613e49 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Search for processes run by a specific [u]ser (effective UID)."
},
{
"role": "assistant",
"content": "pgrep -u jenkins celery"
}
] | single | pgrep | fc3dd6bafef57628 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Search for processes run by a specific [u]ser (effective UID)."
},
{
"role": "assistant",
"content": "pgrep --euid jenkins celery"
}
] | single | pgrep | fc3dd6bafef57628 |
[
{
"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 'WARNING'."
},
{
"role": "assistant",
"content": "journalctl -u mysql -f | grep... | pipeline | journalctl | 201c699da61864e2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to follow the mysql journal but only show lines mentioning 'WARNING'."
},
{
"role": "assistant",
"content": "journalctl --unit mysql -f | grep --line-buffered -i 'WARNING'"
}
] | pipeline | journalctl | 201c699da61864e2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a one-liner to find the 5 processes with the most open files."
},
{
"role": "assistant",
"content": "lsof 2>/dev/null | awk '{print $1}' | sort ... | pipeline | lsof | 5058ae424bffd60d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run the backup script, sending stdout and stderr to scheduler.log."
},
{
"role": "assistant",
"content": "./backup.sh > scheduler.log 2>&1"
}
] | pipeline | redirection | e5588df313124aa2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Use a specific proxy when connecting to the remote host."
},
{
"role": "assistant",
"content": "scp -J ubuntu@cdn.example.org release.log auth.se... | single | scp | f88f5994a09a3905 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in cron.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' cron.log | sort | uniq -c | sor... | pipeline | grep | ffd131e82a4ed71a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Help me show the top 10 processes by memory."
},
{
"role": "assistant",
"content": "ps aux --sort=-%mem | head -n 11"
}
] | pipeline | ps | 4680448013ca198a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a specific directory if it does not exist and mount a device to it."
},
{
"role": "assistant",
"content": "mount uploads release.jpg dist"
}
] | single | mount | 4d9be7269421d74e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.