messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "follow redirects when fetching https://web01.example.com"
},
{
"role": "assistant",
"content": "curl -L https://web01.example.com"
}
] | single | curl | 3690e19be4ca872c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "follow redirects when fetching https://web01.example.com"
},
{
"role": "assistant",
"content": "curl --location https://web01.example.com"
}
] | single | curl | 3690e19be4ca872c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how many files are in reports."
},
{
"role": "assistant",
"content": "ls -1 reports | wc -l"
}
] | pipeline | ls | 34dd4e825e4d21e4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "follow redirects when fetching https://proxy.corp.net"
},
{
"role": "assistant",
"content": "curl -L https://proxy.corp.net"
}
] | single | curl | 4f41b6d1a0d4c638 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "follow redirects when fetching https://proxy.corp.net"
},
{
"role": "assistant",
"content": "curl --location https://proxy.corp.net"
}
] | single | curl | 4f41b6d1a0d4c638 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Output the first 5 lines of a file."
},
{
"role": "assistant",
"content": "head 1 results.conf"
}
] | single | head | dc4e776d7d5acb77 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to count '403' occurrences in the elasticsearch journal today."
},
{
"role": "assistant",
"content": "journalctl -u elasticsearch --since... | pipeline | journalctl | 02414ad4c39649e8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to count '403' occurrences in the elasticsearch journal today."
},
{
"role": "assistant",
"content": "journalctl --unit elasticsearch --since t... | pipeline | journalctl | 02414ad4c39649e8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://auth.internal/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://auth.interna... | pipeline | curl | fb0cdbc5b3d1bedb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://auth.internal/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://auth.i... | pipeline | curl | fb0cdbc5b3d1bedb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I want a cleanup script for cache that purges .tmp files older than 3 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipef... | script | find | f5bc94bf3481a22d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create a script that verifies the environment variables AWS_REGION, ENV and PORT are all set before running."
},
{
"role": "assistant",
"content"... | script | env | 03ca05f738d2610c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find any socket using port 8000 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :8000"
}
] | single | netstat | f0b431664642c00c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Open an interactive shell against an existing database."
},
{
"role": "assistant",
"content": "sqlite3 users"
}
] | single | sqlite3 | 16177a96dd001ecd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "copy the whole tmp folder to tmp_copy recursively"
},
{
"role": "assistant",
"content": "cp -r tmp tmp_copy"
}
] | single | cp | 277872814159d73c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "copy the whole tmp folder to tmp_copy recursively"
},
{
"role": "assistant",
"content": "cp --recursive tmp tmp_copy"
}
] | single | cp | 277872814159d73c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a bash script that moves each file into an archive/ subfolder for all .log files under data."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset ... | script | mv | 6f38bbd2f672fd92 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Refresh memory usage every 3 seconds."
},
{
"role": "assistant",
"content": "free -h -s 3"
}
] | single | free | d4549c98db539c93 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Refresh memory usage every 3 seconds."
},
{
"role": "assistant",
"content": "free --human -s 3"
}
] | single | free | d4549c98db539c93 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "From error.tsv, count the lines."
},
{
"role": "assistant",
"content": "cat error.tsv | wc -l"
}
] | pipeline | wc | 340b297175f164f4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "From error.tsv, count the lines."
},
{
"role": "assistant",
"content": "wc -l < error.tsv"
}
] | pipeline | wc | 340b297175f164f4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Delete the first line of data.txt in place."
},
{
"role": "assistant",
"content": "sed -i '1d' data.txt"
}
] | single | sed | 3f2b90e766f82503 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to show the last 50 lines containing 'WARNING' in dmesg.log."
},
{
"role": "assistant",
"content": "grep 'WARNING' dmesg.log | tail -n 50"... | pipeline | grep | 944408b467113173 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "POST a JSON body to https://backup.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl -X POST -H 'Content-Type: application/json' -d... | single | curl | 67192bb48c19d52b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "POST a JSON body to https://backup.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl --request POST -H 'Content-Type: application/js... | single | curl | 67192bb48c19d52b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the lastlog record of the specified user."
},
{
"role": "assistant",
"content": "lastlog --user bob"
}
] | single | lastlog | a34970abd7a46019 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fetch JSON from https://backup.example.org/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://backup.example.org/api/user... | pipeline | curl | 1786631821fec1f2 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://backup.example.org/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://b... | pipeline | curl | 1786631821fec1f2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in gateway.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' gateway.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | 571219e0d559d0f6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of media"
},
{
"role": "assistant",
"content": "tar -cjf media.tar.bz2 media"
}
] | single | tar | c0376e825831e904 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of media"
},
{
"role": "assistant",
"content": "tar cjf media.tar.bz2 media"
}
] | single | tar | c0376e825831e904 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of media"
},
{
"role": "assistant",
"content": "tar -jcf media.tar.bz2 media"
}
] | single | tar | c0376e825831e904 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that deletes .log files older than 1 days from /tmp and logs what it removed."
},
{
"role": "assistant",
"content": "#!/usr/... | script | find | 65beb03559c349d5 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Ping db02.service.io once and branch: print reachable or unreachable based on the result."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\n... | script | if | 48555274e27d02bd |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "For metrics.zip, show the last 20 lines."
},
{
"role": "assistant",
"content": "tail -n 20 metrics.zip"
}
] | single | tail | c39c5389db4e0565 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "For metrics.zip, show the last 20 lines."
},
{
"role": "assistant",
"content": "tail --lines 20 metrics.zip"
}
] | single | tail | c39c5389db4e0565 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "For metrics.zip, show the last 20 lines."
},
{
"role": "assistant",
"content": "tail -20 metrics.zip"
}
] | single | tail | c39c5389db4e0565 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to count 'rejected' occurrences in the ssh journal today."
},
{
"role": "assistant",
"content": "journalctl -u ssh --since today --no-pager | g... | pipeline | journalctl | 8216756b83f3df04 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to count 'rejected' occurrences in the ssh journal today."
},
{
"role": "assistant",
"content": "journalctl --unit ssh --since today --no... | pipeline | journalctl | 8216756b83f3df04 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 20 largest subdirectories of docs."
},
{
"role": "assistant",
"content": "du -h docs/* 2>/dev/null | sort -rh | head -n 20"
}
] | pipeline | du | ed7371c8df346504 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 20 largest subdirectories of docs."
},
{
"role": "assistant",
"content": "du --human-readable docs/* 2>/dev/null | sort -rh | head -n 20... | pipeline | du | ed7371c8df346504 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "which directories under tmp are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 tmp | sort -rh"
}
] | pipeline | du | 88294159e2a985c9 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "which directories under tmp are eating the most space?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 tmp | sort -rh"
}
] | pipeline | du | 88294159e2a985c9 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Copy a file to another location."
},
{
"role": "assistant",
"content": "cp transaction.tar.gz order.sh"
}
] | single | cp | 4697ea971239208e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the top 5 most frequent values in field 1 of the comma-separated file transactions.csv."
},
{
"role": "assistant",
"content": "cut -d, -f1 ... | pipeline | cut | 627193245ad21755 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a script that requires exactly two arguments (source and destination) and errors out otherwise."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nif [ \"$#\" -... | script | args | b78836f93cbb40e1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Check if profile.csv exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f profile.csv ] && cat profile.csv || echo 'not found'... | pipeline | chain | 2210bdfe655b349d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "keep watching dmesg.log for new entries and start from the last 10 lines"
},
{
"role": "assistant",
"content": "tail -n 10 -f dmesg.log"
}
] | single | tail | 6f3c5a9cd54ec119 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "keep watching dmesg.log for new entries and start from the last 10 lines"
},
{
"role": "assistant",
"content": "tail --lines 10 -f dmesg.log"
}
] | single | tail | 6f3c5a9cd54ec119 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Rank the values of column 1 in orders.csv by frequency, highest first, top 15 only."
},
{
"role": "assistant",
"content": "awk '{print $1}' order... | pipeline | awk | db1bfeaa021619fe |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Please show the last 20 lines in session.py."
},
{
"role": "assistant",
"content": "tail -n 20 session.py"
}
] | single | tail | 959ff9ac9eaa473a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Please show the last 20 lines in session.py."
},
{
"role": "assistant",
"content": "tail --lines 20 session.py"
}
] | single | tail | 959ff9ac9eaa473a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Please show the last 20 lines in session.py."
},
{
"role": "assistant",
"content": "tail -20 session.py"
}
] | single | tail | 959ff9ac9eaa473a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "View jobs spawned by the current shell."
},
{
"role": "assistant",
"content": "jobs"
}
] | single | jobs | 79124006ef67732f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Only list matched files (useful when piping to other commands)."
},
{
"role": "assistant",
"content": "rg release.zip TODO"
}
] | single | rg | 7b907cad00d67771 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Take dump.json and strip trailing whitespace."
},
{
"role": "assistant",
"content": "cat dump.json | sed 's/[[:space:]]*$//'"
}
] | pipeline | sed | 974c5593daa1c6f4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find all .conf files under /var/www and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find /var/www -type f -name '*.con... | pipeline | find | 2738cf36e7ea1d29 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Give me a script that iterates over backups/*.sql and changes the owner of each file to deploy."
},
{
"role": "assistant",
"content": "#!/usr/bin... | script | chown | 2c7a18dad87e62b1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://cdn.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl -s https://cdn.corp.net/api/users | jq -r '.[].name'"
... | pipeline | curl | 28202292c407b215 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Give me a frequency tally of column 4 in server.log and show the 25 biggest."
},
{
"role": "assistant",
"content": "awk '{print $4}' server.log | sort... | pipeline | awk | 178b647b4f23b193 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Convert tabs in each file to spaces, writing to `stdout`."
},
{
"role": "assistant",
"content": "expand output.json"
}
] | single | expand | dd2dba42f5f35644 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show only kernel error and warning level messages"
},
{
"role": "assistant",
"content": "dmesg --level=err,warn"
}
] | single | dmesg | f60f480347ed4cba |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Ping host and ring the bell when a packet is received (if your terminal supports it)."
},
{
"role": "assistant",
"content": "ping -a monitor.int... | single | ping | 43322182ac76ac3b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in nginx-error.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' nginx-error.log | s... | pipeline | grep | bbe4a45712120fa3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "From payload.csv, show the 20 longest lines."
},
{
"role": "assistant",
"content": "cat payload.csv | awk '{ print length, $0 }' | sort -rn | hea... | pipeline | awk | 7e5debc1dc60ccab |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "From schema.txt, count the lines."
},
{
"role": "assistant",
"content": "cat schema.txt | wc -l"
}
] | pipeline | wc | dc70ad4e4473a987 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "From schema.txt, count the lines."
},
{
"role": "assistant",
"content": "wc -l < schema.txt"
}
] | pipeline | wc | dc70ad4e4473a987 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the last 40 lines of access.log."
},
{
"role": "assistant",
"content": "tail -n 40 access.log"
}
] | single | tail | 50dda98f981bd938 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the last 40 lines of access.log."
},
{
"role": "assistant",
"content": "tail --lines 40 access.log"
}
] | single | tail | 50dda98f981bd938 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the last 40 lines of access.log."
},
{
"role": "assistant",
"content": "tail -40 access.log"
}
] | single | tail | 50dda98f981bd938 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://web01.example.com/api/users"
},
{
"role": "assistant",
"content": "curl -s https://web01.example.com/api/users | jq -r '.[].name'"
}
] | pipeline | curl | 0156864e52e2230a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show TCP connections involving 172.16.0.20."
},
{
"role": "assistant",
"content": "netstat -tn | grep 172.16.0.20"
}
] | single | netstat | 4202026f923dbd86 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving cdn.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep cdn.example.org"
}
] | single | netstat | 324b25e46faf1abd |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show PCI vendor and device codes as both [n]umbers and [n]ames."
},
{
"role": "assistant",
"content": "lspci -nn"
}
] | single | lspci | c8e834becea3255f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a script that retries a git fetch from origin up to 4 times, sleeping 2s between attempts."
},
{
"role": "assistant",
"content": "#!/usr/bin/en... | script | git | e280824049fd7cc7 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Change the owner of a file/directory to match a reference file."
},
{
"role": "assistant",
"content": "sudo chown --reference auth.pdf artifacts... | single | chown | b6de3e365a828a51 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Get the actual file to which the symlink points."
},
{
"role": "assistant",
"content": "readlink request.bak"
}
] | single | readlink | b4b61c327154c415 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Generate a hexdump from a binary file and save it as a text file."
},
{
"role": "assistant",
"content": "xxd changelog.js notes.md"
}
] | single | xxd | 37d33b22c8c944b0 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "strip leading whitespace from every line of schema.csv and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' schema.csv > clean.txt"
}
] | pipeline | sed | 74fa5e4249ce8461 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many lines in error.log mention 'ERROR'?"
},
{
"role": "assistant",
"content": "grep -c 'ERROR' error.log | cat"
}
] | pipeline | grep | 43c7ec5787476cf0 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many lines in error.log mention 'ERROR'?"
},
{
"role": "assistant",
"content": "grep --count 'ERROR' error.log | cat"
}
] | pipeline | grep | 43c7ec5787476cf0 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Take invoice.conf and count each unique line, most common first."
},
{
"role": "assistant",
"content": "cat invoice.conf | sort | uniq -c | sort... | pipeline | uniq | d33a9fcecb11d256 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'denied'-related lines in debug.log."
},
{
"role": "assistant",
"content": "grep 'denied' debug.log | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | grep | e44def5b97105191 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'denied'-related lines in debug.log."
},
{
"role": "assistant",
"content": "grep 'denied' debug.log | sort | uniq --count | sort -nr | head -n 10"
}
] | pipeline | grep | e44def5b97105191 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "search all .sh files under /opt/app for the word TODO"
},
{
"role": "assistant",
"content": "find /opt/app -name '*.sh' -print0 | xargs -0 grep ... | pipeline | find | 7dc9da885a8a7a3f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "copy the whole modules folder to modules_copy recursively"
},
{
"role": "assistant",
"content": "cp -r modules modules_copy"
}
] | single | cp | 77c86d698ea5c507 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "copy the whole modules folder to modules_copy recursively"
},
{
"role": "assistant",
"content": "cp --recursive modules modules_copy"
}
] | single | cp | 77c86d698ea5c507 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Recursively copy the contents of a directory from a remote host to a local directory."
},
{
"role": "assistant",
"content": "scp -r api.internal... | single | scp | 9b7d0f8bf88985f9 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from audit.csv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' audit.csv | sort -... | pipeline | sed | 777dea42512ee2ff |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from audit.csv."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' audit.csv | sort -u"
}
] | pipeline | sed | 777dea42512ee2ff |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from audit.csv."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' audit.csv ... | pipeline | sed | 777dea42512ee2ff |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Tally how many times each log level appears in cron.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' cron.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | e3ccdce513537411 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Tally how many times each log level appears in cron.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' cron.log | sort | uniq -c | sort ... | pipeline | grep | e3ccdce513537411 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Tally how many times each log level appears in cron.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' cron.log | ... | pipeline | grep | e3ccdce513537411 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to show the last 20 lines containing 'timeout' in nginx-error.log."
},
{
"role": "assistant",
"content": "grep 'timeout' nginx-error.log | tail -n 20"
}
] | pipeline | grep | b7eb6074f71f2d80 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Specify an alternate DNS server to query."
},
{
"role": "assistant",
"content": "host db01.internal schema.sql"
}
] | single | host | 91c7bee7c9ac7256 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show connections on port 9000."
},
{
"role": "assistant",
"content": "netstat -anp | grep :9000"
}
] | single | netstat | 3a2f655f33da829e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a script that accepts --level (-l), --port (-p) and --output (-o) via getopts, with a usage message."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nlevel=\"... | script | getopts | 3f057fce0fd68c8e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to follow the rabbitmq journal but only show lines mentioning 'TODO'."
},
{
"role": "assistant",
"content": "journalctl -u rabbitmq -f | grep -... | pipeline | journalctl | 02d434823ea0c1fa |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "On this box, find the 20 processes with the most open files."
},
{
"role": "assistant",
"content": "lsof 2>/dev/null | awk '{print $1}' | sort | uniq -c | sort -nr ... | pipeline | lsof | 41a24c57b3a1ffc4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.