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": "How many lines in ingest.log mention 'DEBUG'?"
},
{
"role": "assistant",
"content": "grep -c 'DEBUG' ingest.log | cat"
}
] | pipeline | grep | f0bb43e63fd82446 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How many lines in ingest.log mention 'DEBUG'?"
},
{
"role": "assistant",
"content": "grep --count 'DEBUG' ingest.log | cat"
}
] | pipeline | grep | f0bb43e63fd82446 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Translate the contents of a file to upper-case."
},
{
"role": "assistant",
"content": "tr < summary.zip \"[:lower:]\" \"[:upper:]\""
}
] | single | tr | 5b1b247b6759eb9f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Report virtual memory statistics every 5 seconds, 5 times."
},
{
"role": "assistant",
"content": "vmstat 5 5"
}
] | single | vmstat | f5231c34e0b0131c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Recursively copy the contents of a directory from a remote host to a local directory."
},
{
"role": "assistant",
"content": "scp -r cdn.example.org:dist dist"
}
] | single | scp | a54a56cd3163229e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show first 10 lines of multiple files."
},
{
"role": "assistant",
"content": "head results.txt"
}
] | single | head | 7bef6cd10f401886 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "give me a human-readable long listing of uploads"
},
{
"role": "assistant",
"content": "ls -lh uploads"
}
] | single | ls | 2d59751c3bf486b0 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "give me a human-readable long listing of uploads"
},
{
"role": "assistant",
"content": "ls -hl uploads"
}
] | single | ls | 2d59751c3bf486b0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "give me a human-readable long listing of uploads"
},
{
"role": "assistant",
"content": "ls -l -h uploads"
}
] | single | ls | 2d59751c3bf486b0 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List all files in src, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -la src"
}
] | single | ls | f3b43dc37b311b73 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List all files in src, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -al src"
}
] | single | ls | f3b43dc37b311b73 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List all files in src, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -l -a src"
}
] | single | ls | f3b43dc37b311b73 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a script that verifies the environment variables API_KEY, ENV and PORT are all set before running."
},
{
"role": "assistant",
"content": ... | script | env | af17d3a40d1c2231 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Generate a self-signed certificate valid for a specified number of days (365)."
},
{
"role": "assistant",
"content": "openssl req -new -x509 -key buil... | single | openssl | 5ac43a9327e5fd8c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fail fast if any of AWS_REGION, DB_HOST, DB_PASS is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\... | script | env | b87fafd8f316b076 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display the lastlog record of the specified user."
},
{
"role": "assistant",
"content": "lastlog --user ec2-user"
}
] | single | lastlog | 1a6af97f81a4d9f5 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Please show just the first line in audit.log."
},
{
"role": "assistant",
"content": "head -n 1 audit.log"
}
] | single | head | 2c510ec0a3ce15bb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Please show just the first line in audit.log."
},
{
"role": "assistant",
"content": "head --lines 1 audit.log"
}
] | single | head | 2c510ec0a3ce15bb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Please show just the first line in audit.log."
},
{
"role": "assistant",
"content": "head -1 audit.log"
}
] | single | head | 2c510ec0a3ce15bb |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find the 10 most common 'deprecated'-related lines in gc.log."
},
{
"role": "assistant",
"content": "grep 'deprecated' gc.log | sort | uniq -c | sort -nr | head -n ... | pipeline | grep | ce939c318f61de4a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common 'deprecated'-related lines in gc.log."
},
{
"role": "assistant",
"content": "grep 'deprecated' gc.log | sort | uniq --co... | pipeline | grep | ce939c318f61de4a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "copy the whole project folder to project_copy recursively"
},
{
"role": "assistant",
"content": "cp -r project project_copy"
}
] | single | cp | 1dd2e7b1d5f33857 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "copy the whole project folder to project_copy recursively"
},
{
"role": "assistant",
"content": "cp --recursive project project_copy"
}
] | single | cp | 1dd2e7b1d5f33857 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a bash script that makes a .bak copy of each file for all .zip files under backups."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\... | script | cp | ab9a793ab8d78ca3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Change the type of the key format (for example from OPENSSH format to PEM), the file will be rewritten in-place."
},
{
"role": "assistant",
"cont... | single | ssh-keygen | a88559bcd7826224 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Copy the contents of a file into an output file without buffering."
},
{
"role": "assistant",
"content": "cat -u event.csv > event.conf"
}
] | single | cat | 6d783c67c93ab302 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Randomize the order of lines in a file and output the result."
},
{
"role": "assistant",
"content": "shuf payload.py"
}
] | single | shuf | 95001ab7ce119c8d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the disk usage of /opt/scripts broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /opt/scripts 2>/dev/null | sort -rh"
}
... | pipeline | du | f4a23099a51bc43a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read servers.txt and for each host, report UP/DOWN based on whether it checks if port 22 is open."
},
{
"role": "assistant",
"content": "#!/usr/b... | script | ssh | 48d6fea913d3bf03 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print how long the system has been up in H:MM."
},
{
"role": "assistant",
"content": "awk '{printf \"%d:%02d\\n\", $1/3600, ($1%3600)/60}' /proc/... | single | uptime | 422d86c7bdc63104 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in server.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' server.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | 5c36285932eccc8d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in server.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' server.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | 5c36285932eccc8d |
[
{
"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 server.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEB... | pipeline | grep | 5c36285932eccc8d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://proxy.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl -s https://proxy.corp.net/api/us... | pipeline | curl | e4f7e51ce67cd88b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a one-liner to find the 20 processes with the most open files."
},
{
"role": "assistant",
"content": "lsof 2>/dev/null | awk '{print $1}' | sort... | pipeline | lsof | d36546caa629b570 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Read report.csv, then show the 20 longest lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat report.csv | awk '{ print length, $0 }' | ... | pipeline | awk | 67db0d251afe7b5e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Filter netstat for connections to or from backup.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep backup.example.org"
}
... | single | netstat | bd435de7beee3405 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Take changelog.md and count the lines."
},
{
"role": "assistant",
"content": "cat changelog.md | wc -l"
}
] | pipeline | wc | c61b66c04fab0285 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Take changelog.md and count the lines."
},
{
"role": "assistant",
"content": "wc -l < changelog.md"
}
] | pipeline | wc | c61b66c04fab0285 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many connections are there to port 3000?"
},
{
"role": "assistant",
"content": "ss -tn | grep ':3000' | wc -l"
}
] | pipeline | ss | dc6c2daccc25ba59 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List files opened by the given command or process."
},
{
"role": "assistant",
"content": "lsof -c mongod"
}
] | single | lsof | 620276d2ac8662a6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I/O stats in MB/s every 1s for 5 samples."
},
{
"role": "assistant",
"content": "iostat -m 1 5"
}
] | single | iostat | b26127697a36ecee |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show svc-app's sessions without the header."
},
{
"role": "assistant",
"content": "w -h svc-app"
}
] | single | w | 3b6b9ea053efac40 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Query for a mail server (MX record) of the domain, showing details of the transaction."
},
{
"role": "assistant",
"content": "nslookup -type=MX -... | single | nslookup | a4b01af34bc606f4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Short w listing for user tomcat."
},
{
"role": "assistant",
"content": "w -s tomcat"
}
] | single | w | 477d73deb954eb2e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "For every immediate subdirectory of /home/deploy, show how much disk it uses."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfor dir in /home/deploy/*/; do\n [ -d... | script | for | dc22f27f85b2b82a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run `sleep 10` and terminate it after 3 seconds."
},
{
"role": "assistant",
"content": "timeout 3s sleep 10"
}
] | single | timeout | b0c1d04ea96d94f0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the disk usage of scripts broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 scripts 2>/dev/null | sort ... | pipeline | du | 0bb99eb72d87f994 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the disk usage of scripts broken down one level deep."
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 scripts 2>/dev/null | sort -rh"
}
] | pipeline | du | 0bb99eb72d87f994 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Produce a line for each unpairable line for file1."
},
{
"role": "assistant",
"content": "join -a 1 debug.log customer.bak"
}
] | single | join | 2acad95ba18ac0ed |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a script that verifies the environment variables AWS_REGION, REDIS_URL and ENV are all set before running."
},
{
"role": "assistant",
"content": "#!/usr/bin/... | script | env | a56696904fbc8e97 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Recursively make everything in fixtures readable and writable by the owner only."
},
{
"role": "assistant",
"content": "chmod -R 600 fixtures"
}
] | single | chmod | 78a9696666fe2661 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Recursively make everything in fixtures readable and writable by the owner only."
},
{
"role": "assistant",
"content": "chmod --recursive 600 fix... | single | chmod | 78a9696666fe2661 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Convert tabs in each file to spaces, writing to `stdout`."
},
{
"role": "assistant",
"content": "expand summary.old"
}
] | single | expand | aa2f275b039300d5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch https://db01.example.com/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl -s -o /dev/null -w '%{http... | single | curl | fec2fa040513e49e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch https://db01.example.com/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl --silent -o /dev/null -w ... | single | curl | fec2fa040513e49e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in /opt/scripts."
},
{
"role": "assistant",
"content": "du -h /opt/scripts/* | sort -rh | head -n 10"
}
] | pipeline | du | 83e7c6960f3a9811 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in /opt/scripts."
},
{
"role": "assistant",
"content": "du --human-readable /opt/scripts/* | sort -rh | head -n 10"
}
] | pipeline | du | 83e7c6960f3a9811 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Loop through the .conf files in /data/uploads and compresses each file with gzip — write it as a proper script."
},
{
"role": "assistant",
"content": ... | script | gzip | e8dc259d2b471dc0 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print, beginning at page 2 up to page 5, with a given page length (including header and footer)."
},
{
"role": "assistant",
"content": "pr +2:5 5 10 payload.jpg"
}
] | single | pr | f46e4724a9e0283d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "count the bytes in output.csv"
},
{
"role": "assistant",
"content": "wc -c output.csv"
}
] | single | wc | 7413d8ae07d1f2e4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "count the bytes in output.csv"
},
{
"role": "assistant",
"content": "wc --bytes output.csv"
}
] | single | wc | 7413d8ae07d1f2e4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Report virtual-memory statistics every 10 seconds, 3 times."
},
{
"role": "assistant",
"content": "vmstat 10 3"
}
] | single | vmstat | c336b02ff7f57afe |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Ping a host."
},
{
"role": "assistant",
"content": "ping6 db02.service.io"
}
] | single | ping6 | 8ac05bffdae884a6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find all .old files under dist and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find dist -type f -name '*.old' -... | pipeline | find | 5e6361e600d4896a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Grep the kernel ring buffer for timeout."
},
{
"role": "assistant",
"content": "dmesg -T | grep -i timeout"
}
] | single | dmesg | 58504d1d38df28b1 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Print lines only found in second file, when the files aren't sorted."
},
{
"role": "assistant",
"content": "comm -13 <(sort request.png) <(sort ... | single | comm | 9ed23bdd3a723e8a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "send a GET request to https://db02.corp.net/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://db02.corp.net/api... | single | curl | 668885748820d2bc |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "send a GET request to https://db02.corp.net/api and show the response headers"
},
{
"role": "assistant",
"content": "curl --head https://db02.corp.net... | single | curl | 668885748820d2bc |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the disk usage of media broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 media 2>/dev/null | sort -rh"
}
] | pipeline | du | 43493f60d759432b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the disk usage of media broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 media 2>/dev/null | sort -rh"
... | pipeline | du | 43493f60d759432b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many lines in output.log mention 'SIGTERM'?"
},
{
"role": "assistant",
"content": "grep -c 'SIGTERM' output.log | cat"
}
] | pipeline | grep | e1817955c0282d6c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in output.log mention 'SIGTERM'?"
},
{
"role": "assistant",
"content": "grep --count 'SIGTERM' output.log | cat"
}
] | pipeline | grep | e1817955c0282d6c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create the fixtures directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p fixtures && cd fixtures"
}
] | pipeline | chain | 78b522ee8af18c90 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Create the fixtures directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir --parents fixtures && cd fixtures"
}... | pipeline | chain | 78b522ee8af18c90 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://api.local/api/items"
},
{
"role": "assistant",
"content": "curl -s https://api.local/api/items | ... | pipeline | curl | 852c9e89d42f3d91 |
[
{
"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://api.local/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://api.local/... | pipeline | curl | 852c9e89d42f3d91 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How do I count how many vim processes are running?"
},
{
"role": "assistant",
"content": "pgrep -c vim"
}
] | pipeline | pgrep | 448f12bd858906e3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How do I count how many vim processes are running?"
},
{
"role": "assistant",
"content": "pgrep --count vim"
}
] | pipeline | pgrep | 448f12bd858906e3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://api.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl -s https://api.corp.net/api/users | jq -... | pipeline | curl | 38b7cac0e9ae6895 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://api.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://api.corp.net/api/... | pipeline | curl | 38b7cac0e9ae6895 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print the contents of the file and display a progress bar."
},
{
"role": "assistant",
"content": "pv product.html"
}
] | single | pv | 89b2475b9def8f90 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "[c]reate a g[z]ipped (compressed) archive from a directory using relative paths."
},
{
"role": "assistant",
"content": "tar czf account.tmp dist... | single | tar | 70c5c3af15d1dd50 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Analyze the current working directory."
},
{
"role": "assistant",
"content": "ncdu"
}
] | single | ncdu | efbc5686120a7a38 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Use archive mode, resolve symlinks, and skip files that are newer on the destination."
},
{
"role": "assistant",
"content": "rsync 2026-03-01 customer.json request.... | single | rsync | e7123cf4eaac2ef5 |
[
{
"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 syslog.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG... | pipeline | grep | d2ef64448cf38a22 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in syslog.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBU... | pipeline | grep | d2ef64448cf38a22 |
[
{
"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 syslog.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' syslog.log | s... | pipeline | grep | d2ef64448cf38a22 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print uptime -p."
},
{
"role": "assistant",
"content": "uptime -p"
}
] | single | uptime | 729cef43b0c36589 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the systemd journal for the mysql service."
},
{
"role": "assistant",
"content": "journalctl -u mysql"
}
] | single | journalctl | cad913f5f40fe722 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the systemd journal for the mysql service."
},
{
"role": "assistant",
"content": "journalctl --unit mysql"
}
] | single | journalctl | cad913f5f40fe722 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the 20 biggest files under include."
},
{
"role": "assistant",
"content": "find include -type f -printf '%s %p\\n' 2>/dev/null | sort -rn |... | pipeline | find | 9b3a1fa1b98b2f7f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count all lines in a file."
},
{
"role": "assistant",
"content": "wc 50 event.md"
}
] | single | wc | 820e53e5aa9c14a0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "give the owner rwx and everyone else read on session.sql"
},
{
"role": "assistant",
"content": "chmod 744 session.sql"
}
] | single | chmod | 92654e82bd84da16 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Tally column 1 of sales.csv and print the 10 top values by count."
},
{
"role": "assistant",
"content": "cut -d, -f1 sales.csv | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | cut | 4cc11e18a59353bf |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print everything in kern.log except the last 100 lines."
},
{
"role": "assistant",
"content": "head -n -100 kern.log"
}
] | single | head | e20df1b6717286c2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print everything in kern.log except the last 100 lines."
},
{
"role": "assistant",
"content": "head --lines -100 kern.log"
}
] | single | head | e20df1b6717286c2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the ancestors of process 2935 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 2935"
}
] | single | pstree | 95125ed7434957dc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Give me a frequency tally of column 3 in api.log and show the 15 biggest."
},
{
"role": "assistant",
"content": "cut -d, -f3 api.log | sort | un... | pipeline | cut | 99ab2c94cc9dc89f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract all files/directories from specific archives into the current directory."
},
{
"role": "assistant",
"content": "unzip 172.16.0.20"
}
] | single | unzip | ac903f6f14ddf16d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.