messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Wrap each line to width \"5\" and break the line at spaces (puts each space separated word in a new line, words with length > 5 are wrapped)."
},
{
"role": "assistant",
"content": "fold -w5 -s au... | single | fold | d6a91d6af97136cc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a script that retries a git fetch from origin up to 10 times, sleeping 5s between attempts."
},
{
"role": "assistant",
"content": "#!/usr... | script | git | a3d49589952ae340 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a shell script that categorizes a filename by extension using case (is a .txt an image, archive, doc?)."
},
{
"role": "assistant",
"content": "#... | script | case | 0b9ec70212a6d0eb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of uploads broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 uploads 2>/dev/null | ... | pipeline | du | fa28fb79d622e686 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the disk usage of uploads broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 uploads 2... | pipeline | du | fa28fb79d622e686 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show all network interfaces and their IP addresses."
},
{
"role": "assistant",
"content": "ip addr show"
}
] | single | ip | 6be16b7657bfb62e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show all network interfaces and their IP addresses."
},
{
"role": "assistant",
"content": "ip addr"
}
] | single | ip | 6be16b7657bfb62e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show all network interfaces and their IP addresses."
},
{
"role": "assistant",
"content": "ip a"
}
] | single | ip | 6be16b7657bfb62e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show first 10 lines of multiple files."
},
{
"role": "assistant",
"content": "head credentials.yaml"
}
] | single | head | a64121808c064f4c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create multiple files with a letter range."
},
{
"role": "assistant",
"content": "touch backup.png}"
}
] | single | touch | a8b7402e6526b0cd |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Traceroute to a host and continuously ping all intermediary hops."
},
{
"role": "assistant",
"content": "mtr auth.js"
}
] | single | mtr | 397af970b61e0fc4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the exact boot timestamp."
},
{
"role": "assistant",
"content": "uptime -s"
}
] | single | uptime | e0e4b7f14ca980f0 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://staging.local/api/items"
},
{
"role": "assistant",
"content": "curl -s https://staging.local/api/items | jq 'le... | pipeline | curl | 828ae8aca7caa8c2 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://staging.local/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://staging.local/api/items | ... | pipeline | curl | 828ae8aca7caa8c2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Translate the contents of a file to upper-case."
},
{
"role": "assistant",
"content": "tr < manifest.conf \"[:lower:]\" \"[:upper:]\""
}
] | single | tr | fb8b681e92c9d188 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from metrics.csv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' metrics.csv | sort -u"
}
] | pipeline | sed | fae8715bf1f6275c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from metrics.csv."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' metrics.cs... | pipeline | sed | fae8715bf1f6275c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from metrics.csv."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' metrics.c... | pipeline | sed | fae8715bf1f6275c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write an if that checks connectivity to api.example.com with a single ping."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nhost=api.example.com\nif ping -c1 -W2 \"... | script | if | 8c4d2d5978a1da7f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the most recently modified file in reports."
},
{
"role": "assistant",
"content": "ls -t reports | head -n 1"
}
] | pipeline | ls | b5df1716872166fe |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Connect to a remote server on the default port (6379)."
},
{
"role": "assistant",
"content": "redis-cli -h www.example.com"
}
] | single | redis-cli | ba37b4e491e5cc3c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many lines in nginx-error.log mention 'refused'?"
},
{
"role": "assistant",
"content": "grep -c 'refused' nginx-error.log | cat"
}
] | pipeline | grep | 7b4722fb71128fe4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How many lines in nginx-error.log mention 'refused'?"
},
{
"role": "assistant",
"content": "grep --count 'refused' nginx-error.log | cat"
}
] | pipeline | grep | 7b4722fb71128fe4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "which directories under migrations are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 migrations | sort -rh"
}
] | pipeline | du | fb70943767ea31e8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Remove all rights from [o]thers."
},
{
"role": "assistant",
"content": "chmod o= request.sh"
}
] | single | chmod | a9e8d2108f043d9d |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of vendor broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 vendor 2>/dev/null | sort -rh... | pipeline | du | be86541b05a7d117 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the disk usage of vendor broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 vendor 2>/dev/null | sort -rh... | pipeline | du | be86541b05a7d117 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Include hidden files and entries listed in `.gitignore`."
},
{
"role": "assistant",
"content": "rg debug.tmp --no-ignore TODO"
}
] | single | rg | 2e00ad2013813398 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Display a 32-bit checksum, size in bytes and filename."
},
{
"role": "assistant",
"content": "cksum sales.yaml"
}
] | single | cksum | 4ad30168d0e93e08 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How many lines in error.log mention 'warning:'?"
},
{
"role": "assistant",
"content": "grep -c 'warning:' error.log | cat"
}
] | pipeline | grep | f2be7d3b644a930d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in error.log mention 'warning:'?"
},
{
"role": "assistant",
"content": "grep --count 'warning:' error.log | cat"
}
] | pipeline | grep | f2be7d3b644a930d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'DEBUG'-related lines in syslog."
},
{
"role": "assistant",
"content": "grep 'DEBUG' syslog | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | grep | 33026a9255f2a822 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'DEBUG'-related lines in syslog."
},
{
"role": "assistant",
"content": "grep 'DEBUG' syslog | sort | uniq --count | sort -nr | head -n 10"
}
] | pipeline | grep | 33026a9255f2a822 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run 'python train.py' at a lower priority (nice 15)."
},
{
"role": "assistant",
"content": "nice -n 15 python train.py"
}
] | single | nice | d0ba61f33160e2ef |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Use vmstat's wide output, 2s apart, 10 times."
},
{
"role": "assistant",
"content": "vmstat -w 2 10"
}
] | single | vmstat | dca79a78671db753 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in docs."
},
{
"role": "assistant",
"content": "du -h docs/* | sort -rh | head -n 10"
}
] | pipeline | du | 5d0e1456befc00d6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in docs."
},
{
"role": "assistant",
"content": "du --human-readable docs/* | sort -rh | head -n 10"
}
] | pipeline | du | 5d0e1456befc00d6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Calculate the SHA1 checksum for one or more files."
},
{
"role": "assistant",
"content": "sha1sum credentials.jpg"
}
] | single | sha1sum | 93e329dca019ed1c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Timestamped vmstat every 5s for 3 samples."
},
{
"role": "assistant",
"content": "vmstat -t 5 3"
}
] | single | vmstat | 8cb0d3b5f06eeb4a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 6264."
},
{
"role": "assistant",
"content": "pstree -s 6264"
}
] | single | pstree | 734ee268e1000bb5 |
[
{
"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://cache.corp.net/api/items"
},
{
"role": "assistant",
"content": "curl -s https://cache.corp.net/ap... | pipeline | curl | 49659549c887034c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://cache.corp.net/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://cache.corp.net/api/items ... | pipeline | curl | 49659549c887034c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How do I count how many rabbitmq processes are running?"
},
{
"role": "assistant",
"content": "pgrep -c rabbitmq"
}
] | pipeline | pgrep | d0493c7b45acb2cb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How do I count how many rabbitmq processes are running?"
},
{
"role": "assistant",
"content": "pgrep --count rabbitmq"
}
] | pipeline | pgrep | d0493c7b45acb2cb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "What are the 20 largest subdirectories of uploads?"
},
{
"role": "assistant",
"content": "du -h uploads/* 2>/dev/null | sort -rh | head -n 20"
}
] | pipeline | du | e897b56b05564ea7 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the 20 largest subdirectories of uploads?"
},
{
"role": "assistant",
"content": "du --human-readable uploads/* 2>/dev/null | sort -rh | head -n 20"
}
] | pipeline | du | e897b56b05564ea7 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need per-database MySQL backups written to /mnt/backup and pruned after 5 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset... | script | mysqldump | e2ee489a65e144b8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Use vmstat's wide output, 5s apart, 30 times."
},
{
"role": "assistant",
"content": "vmstat -w 5 30"
}
] | single | vmstat | 6f7817908e45481b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the biggest files under include."
},
{
"role": "assistant",
"content": "du -ah include | sort -rh | head -n 20"
}
] | pipeline | du | 3d5b29292467c50a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find the biggest files under include."
},
{
"role": "assistant",
"content": "du -ha include | sort -rh | head -n 20"
}
] | pipeline | du | 3d5b29292467c50a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the biggest files under include."
},
{
"role": "assistant",
"content": "du -a -h include | sort -rh | head -n 20"
}
] | pipeline | du | 3d5b29292467c50a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How do I count how many python3 processes are running?"
},
{
"role": "assistant",
"content": "pgrep -c python3"
}
] | pipeline | pgrep | 1d8976f6a5bbbecb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How do I count how many python3 processes are running?"
},
{
"role": "assistant",
"content": "pgrep --count python3"
}
] | pipeline | pgrep | 1d8976f6a5bbbecb |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "View the current security context of a file or directory."
},
{
"role": "assistant",
"content": "ls tmp lib"
}
] | single | ls | 21fb3ff0bf8e0369 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the subtree of processes under PID 4598."
},
{
"role": "assistant",
"content": "pstree -p 4598"
}
] | single | pstree | 85de516d719871fd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "show systemd-networkd logs from the last 60 days"
},
{
"role": "assistant",
"content": "journalctl -u systemd-networkd --since '60 days ago'"
}
] | single | journalctl | 5ac0252b26aa7802 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "show systemd-networkd logs from the last 60 days"
},
{
"role": "assistant",
"content": "journalctl --unit systemd-networkd --since '60 days ago'"
}
] | single | journalctl | 5ac0252b26aa7802 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Launch 'ffmpeg -i in.mp4 out.mp4' at reduced priority (10)."
},
{
"role": "assistant",
"content": "nice -n 10 ffmpeg -i in.mp4 out.mp4"
}
] | single | nice | 356494335c4bcecf |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Specify the line numbering's width (6 by default)."
},
{
"role": "assistant",
"content": "nl 20 2 audit.py"
}
] | single | nl | c304f173803d5040 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "From users.tsv, list the 10 most frequent field-7 entries with their counts."
},
{
"role": "assistant",
"content": "awk '{print $7}' users.tsv | sort | uniq -c | so... | pipeline | awk | db6bb16c5d659025 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List just the filenames under scripts that contain 'DEBUG'."
},
{
"role": "assistant",
"content": "grep -rl 'DEBUG' scripts"
}
] | single | grep | 1b457bcff5b6aecb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List just the filenames under scripts that contain 'DEBUG'."
},
{
"role": "assistant",
"content": "grep -lr 'DEBUG' scripts"
}
] | single | grep | 1b457bcff5b6aecb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List just the filenames under scripts that contain 'DEBUG'."
},
{
"role": "assistant",
"content": "grep -r -l 'DEBUG' scripts"
}
] | single | grep | 1b457bcff5b6aecb |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need to count 'FIXME' occurrences in the memcached journal today."
},
{
"role": "assistant",
"content": "journalctl -u memcached --since today --no-pager | grep -... | pipeline | journalctl | 3337739fa4571714 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to count 'FIXME' occurrences in the memcached journal today."
},
{
"role": "assistant",
"content": "journalctl --unit memcached --since today -... | pipeline | journalctl | 3337739fa4571714 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://cdn.local/api/items"
},
{
"role": "assistant",
"content": "curl -s https://cdn.local/api/ite... | pipeline | curl | 41f7be513d1399c7 |
[
{
"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://cdn.local/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://cdn.local/api/it... | pipeline | curl | 41f7be513d1399c7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common 'overflow'-related lines in ingest.log."
},
{
"role": "assistant",
"content": "grep 'overflow' ingest.log | sort | uniq -c | s... | pipeline | grep | c74681ffb9d305ff |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common 'overflow'-related lines in ingest.log."
},
{
"role": "assistant",
"content": "grep 'overflow' ingest.log | sort | uniq ... | pipeline | grep | c74681ffb9d305ff |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "print lines of inventory.csv where column 2 is greater than 100"
},
{
"role": "assistant",
"content": "awk '$2 > 100' inventory.csv"
}
] | single | awk | 0c5c257be16e3a44 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the most recently modified file in public."
},
{
"role": "assistant",
"content": "ls -t public | head -n 1"
}
] | pipeline | ls | c03d2ddd65f51d67 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the biggest files under docs."
},
{
"role": "assistant",
"content": "du -ah docs | sort -rh | head -n 20"
}
] | pipeline | du | 33a8fdd00a25f566 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under docs."
},
{
"role": "assistant",
"content": "du -ha docs | sort -rh | head -n 20"
}
] | pipeline | du | 33a8fdd00a25f566 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under docs."
},
{
"role": "assistant",
"content": "du -a -h docs | sort -rh | head -n 20"
}
] | pipeline | du | 33a8fdd00a25f566 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in error.log mention 'TODO'?"
},
{
"role": "assistant",
"content": "grep -c 'TODO' error.log | cat"
}
] | pipeline | grep | 661a70215a98c54f |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in error.log mention 'TODO'?"
},
{
"role": "assistant",
"content": "grep --count 'TODO' error.log | cat"
}
] | pipeline | grep | 661a70215a98c54f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Archive public and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar -czf - public | ssh git@proxy.example.o... | pipeline | tar | a9b2fc1dc63151e8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Archive public and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar czf - public | ssh git@proxy.example.org 'cat > /back... | pipeline | tar | a9b2fc1dc63151e8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Archive public and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar -zcf - public | ssh git@proxy.example.org 'cat > /bac... | pipeline | tar | a9b2fc1dc63151e8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Parse command-line flags -c (count), -l (level) and -i (input) using getopts and validate that -c is provided."
},
{
"role": "assistant",
"conten... | script | getopts | 649c7ebe01aedb4e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a one-liner to count connections grouped by their TCP state."
},
{
"role": "assistant",
"content": "ss -tan | awk 'NR>1 {print $1}' | sort ... | pipeline | ss | 26ebf276290a2534 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "In ingest.log, which 25 values of column 2 occur most often?"
},
{
"role": "assistant",
"content": "awk '{print $2}' ingest.log | sort | uniq -c... | pipeline | awk | f908cc3dec275847 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Display kernel messages colorized with timestamps."
},
{
"role": "assistant",
"content": "dmesg -TL"
}
] | single | dmesg | 8e193b71d0bd5df4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Unmount a filesystem, by passing the path to the source it is mounted from."
},
{
"role": "assistant",
"content": "sudo umount backup.json"
}
... | single | umount | 948587960a817dce |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in metrics.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' metrics.log | sort |... | pipeline | grep | b813397fd911044a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in metrics.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' metrics.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | b813397fd911044a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in metrics.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' metrics.log | sort... | pipeline | grep | b813397fd911044a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Remove e[x]ecutable rights from the [g]roup."
},
{
"role": "assistant",
"content": "chmod g-x debug.zip"
}
] | single | chmod | 7e51cb8eded73ae9 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Background 'dd if=/dev/zero of=test.img bs=1M count=1024' at nice level 5."
},
{
"role": "assistant",
"content": "nice -n 5 dd if=/dev/zero of=t... | single | nice | c5c9d27b606e875a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "locate files under vendor modified in the last 7 days"
},
{
"role": "assistant",
"content": "find vendor -type f -mtime -7"
}
] | single | find | c45c7c948948ad52 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "locate files under vendor modified in the last 7 days"
},
{
"role": "assistant",
"content": "find vendor -mtime -7 -type f"
}
] | single | find | c45c7c948948ad52 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Force IPv4 or IPv6."
},
{
"role": "assistant",
"content": "mtr -4 access.txt"
}
] | single | mtr | d7e65511ac81e216 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "give me 10 vmstat readings spaced 5 seconds apart"
},
{
"role": "assistant",
"content": "vmstat 5 10"
}
] | single | vmstat | 0bc72a18d0570470 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of /srv/data broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /srv/data 2>/dev/nul... | pipeline | du | 8241a924f40fc7bf |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of /srv/data broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 /srv/data 2>... | pipeline | du | 8241a924f40fc7bf |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Download the contents of a URL to a file (named \"foo\" in this case)."
},
{
"role": "assistant",
"content": "wget session.log"
}
] | single | wget | 2c642c4ae2918d84 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Report virtual-memory statistics every 10 seconds, 20 times."
},
{
"role": "assistant",
"content": "vmstat 10 20"
}
] | single | vmstat | 419904059bb16259 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "replace tabs with commas in product.log and write to product.log.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' product.log > produc... | pipeline | sed | 04b91b66f31a9810 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 4371 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 4371"
}
] | single | renice | 82655ecb1b34e9d1 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the 10 largest subdirectories of tmp."
},
{
"role": "assistant",
"content": "du -h tmp/* 2>/dev/null | sort -rh | head -n 10"
}
] | pipeline | du | c702c25d6925565c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.