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": "Unmount a filesystem, by passing the path to the source it is mounted from." }, { "role": "assistant", "content": "umount data.png" } ]
single
umount
d977b3e8bc684fd7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to follow the rabbitmq journal but only show lines mentioning 'WARNING'." }, { "role": "assistant", "content": "journalctl -u rabbitmq -f ...
pipeline
journalctl
48918dc057106300
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show me how to follow the rabbitmq journal but only show lines mentioning 'WARNING'." }, { "role": "assistant", "content": "journalctl --unit rab...
pipeline
journalctl
48918dc057106300
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me the disk usage of /var/log broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 /var/log 2>/dev/null |...
pipeline
du
b2856382ad0a1b13
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the disk usage of /var/log broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 /var/log 2>/dev/null | sort -rh" } ]
pipeline
du
b2856382ad0a1b13
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "replace tabs with commas in profile.yaml and write to profile.yaml.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' profile.yaml > profile.y...
pipeline
sed
e5ce7d27a631d642
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list only the .png files in /opt/app" }, { "role": "assistant", "content": "ls /opt/app | grep '\\.png$'" } ]
pipeline
ls
441bd44e99efdb57
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show connections on port 3000." }, { "role": "assistant", "content": "netstat -anp | grep :3000" } ]
single
netstat
6297b6c3cd3c255c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "replace tabs with commas in export.md and write to export.md.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' export.md > export.md.csv" } ]
pipeline
sed
d7e81952c27695bb
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to follow the mariadb journal but only show lines mentioning 'null'." }, { "role": "assistant", "content": "journalctl -u mariadb -f | gre...
pipeline
journalctl
fe3b726aaca62ece
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to follow the mariadb journal but only show lines mentioning 'null'." }, { "role": "assistant", "content": "journalctl --unit mariad...
pipeline
journalctl
fe3b726aaca62ece
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "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"...
single
fold
3e7bc791bf122a76
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fail fast if any of PORT, AWS_REGION, ENV is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pi...
script
env
0b72b46d891e2340
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show TCP connections involving cache.example.com." }, { "role": "assistant", "content": "netstat -tn | grep cache.example.com" } ]
single
netstat
47067b7ab65790bd
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "search all .sql files under /srv/data for the word TODO" }, { "role": "assistant", "content": "find /srv/data -name '*.sql' -print0 | xargs -0 g...
pipeline
find
7def11b398171c93
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "On the file account.png, show just the first line." }, { "role": "assistant", "content": "head -n 1 account.png" } ]
single
head
db148218240aa75b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "On the file account.png, show just the first line." }, { "role": "assistant", "content": "head --lines 1 account.png" } ]
single
head
db148218240aa75b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "On the file account.png, show just the first line." }, { "role": "assistant", "content": "head -1 account.png" } ]
single
head
db148218240aa75b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given dump.txt, count each unique line, most common first." }, { "role": "assistant", "content": "cat dump.txt | sort | uniq -c | sort -nr" } ]
pipeline
uniq
40bc99e214172b41
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Rename payment.conf to payment.conf.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n payment.conf pa...
single
mv
c6bbb84ce1fc404e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Rename payment.conf to payment.conf.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobber payment.conf paymen...
single
mv
c6bbb84ce1fc404e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a script that deletes .gz files older than 14 days from /tmp and logs what it removed." }, { "role": "assistant", "content": "#!/usr/bin/...
script
find
35a6e489c7a64911
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from api.corp.net." }, { "role": "assistant", "content": "netstat -tn | grep api.corp.net" } ]
single
netstat
f4dbd15b02dc4124
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Parse export.csv as comma-separated id,name,email using while read and print each name." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nwhile IFS=, read -r id name ...
script
while
0a41acc813ee80e9
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Change the owner of summary.json to alice." }, { "role": "assistant", "content": "sudo chown alice summary.json" } ]
single
chown
841e31ce36fb00f2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list the distinct error messages in messages" }, { "role": "assistant", "content": "grep -i error messages | sort -u" } ]
pipeline
grep
5e15efeea3bb949a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list the distinct error messages in messages" }, { "role": "assistant", "content": "grep --ignore-case error messages | sort -u" } ]
pipeline
grep
5e15efeea3bb949a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "For users.tmp, show just the first line." }, { "role": "assistant", "content": "head -n 1 users.tmp" } ]
single
head
ecc7fdf66e1d24a5
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "For users.tmp, show just the first line." }, { "role": "assistant", "content": "head --lines 1 users.tmp" } ]
single
head
ecc7fdf66e1d24a5
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "For users.tmp, show just the first line." }, { "role": "assistant", "content": "head -1 users.tmp" } ]
single
head
ecc7fdf66e1d24a5
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Give me an init-style dispatcher for the containerd service with case on $1." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsvc=cont...
script
case
b965d81889b6ad3d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Output the first few lines of a file." }, { "role": "assistant", "content": "head 20 50 debug.tmp" } ]
single
head
a436f9af0a1ff702
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Rename a file or directory when the target is not an existing directory." }, { "role": "assistant", "content": "mv test.csv config.png" } ]
single
mv
1f1ad376cee23efa
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Create an empty file named product.tar.gz." }, { "role": "assistant", "content": "touch product.tar.gz" } ]
single
touch
4b8faeba0d6afb90
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Compress a file, replacing it with a `gzip` archive." }, { "role": "assistant", "content": "gzip data.xml" } ]
single
gzip
9bf848b070f3ccb7
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the 10 most common 'rejected'-related lines in build.log." }, { "role": "assistant", "content": "grep 'rejected' build.log | sort | uniq -c...
pipeline
grep
8d5e83f705410d13
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the 10 most common 'rejected'-related lines in build.log." }, { "role": "assistant", "content": "grep 'rejected' build.log | sort | uniq --...
pipeline
grep
8d5e83f705410d13
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display an arbitrary user's ID (UID), group ID (GID), and groups to which they belong." }, { "role": "assistant", "content": "id git" } ]
single
id
b951f592b02d2bcd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sum up the values in column 2 of data.csv." }, { "role": "assistant", "content": "awk '{sum+=$2} END{print sum}' data.csv" } ]
single
awk
a19640dbd7360af3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need to count '500' occurrences in the prometheus journal today." }, { "role": "assistant", "content": "journalctl -u prometheus --since today...
pipeline
journalctl
d256de46698f577d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need to count '500' occurrences in the prometheus journal today." }, { "role": "assistant", "content": "journalctl --unit prometheus --since t...
pipeline
journalctl
d256de46698f577d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find files in /etc/apache2 owned by redis." }, { "role": "assistant", "content": "find /etc/apache2 -type f -user redis" } ]
single
find
02b4169cfbb5f0b8
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in /etc/apache2 owned by redis." }, { "role": "assistant", "content": "find /etc/apache2 -user redis -type f" } ]
single
find
02b4169cfbb5f0b8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the disk usage of /srv/www broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 /srv/www 2>/dev/null | sort -rh" } ]
pipeline
du
90dc360d2d8ff627
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the disk usage of /srv/www broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 /srv/www 2>/dev/null | sort ...
pipeline
du
90dc360d2d8ff627
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of lib" }, { "role": "assistant", "content": "ls -lh lib" } ]
single
ls
b8d65b2fc4de3bef
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "give me a human-readable long listing of lib" }, { "role": "assistant", "content": "ls -hl lib" } ]
single
ls
b8d65b2fc4de3bef
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of lib" }, { "role": "assistant", "content": "ls -l -h lib" } ]
single
ls
b8d65b2fc4de3bef
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a watchdog loop that checks every 10s and only alerts once when disk passes 85%." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nlimit=85\nalerted=0\nwhile tr...
script
while
10c56efe4ca1e75d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "change permissions to 644 on all files under project" }, { "role": "assistant", "content": "find project -type f -print0 | xargs -0 chmod 644" } ]
pipeline
find
a223cf8497033997
[ { "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 index.jpg" } ]
single
sha1sum
87e4e5d4f19c2c45
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from config.txt." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' config.txt | sort -u" } ]
pipeline
sed
9fa224429a64e4b6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print group memberships for a list of users." }, { "role": "assistant", "content": "groups ec2-user" } ]
single
groups
27286a80998ed0f8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "strip leading whitespace from every line of request.txt and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' req...
pipeline
sed
e87ead33811a47b4
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Follow the nginx journal but only show lines mentioning 'segfault'." }, { "role": "assistant", "content": "journalctl -u nginx -f | grep --line-buffered -i 'segfaul...
pipeline
journalctl
fea6d772092dc9cf
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Follow the nginx journal but only show lines mentioning 'segfault'." }, { "role": "assistant", "content": "journalctl --unit nginx -f | grep --li...
pipeline
journalctl
fea6d772092dc9cf
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Open an interactive shell against an existing database." }, { "role": "assistant", "content": "sqlite3 metrics" } ]
single
sqlite3
84419bbee126a42c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "E[x]tract a (compressed) archive [f]ile into the target directory." }, { "role": "assistant", "content": "tar xf event.css vendor uploads" } ]
single
tar
9073d08759507986
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "resume an interrupted download of https://monitor.local/big.iso" }, { "role": "assistant", "content": "wget -c https://monitor.local/big.iso" } ]
single
wget
114e2b00dbfcbca6
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "resume an interrupted download of https://monitor.local/big.iso" }, { "role": "assistant", "content": "wget --continue https://monitor.local/big.iso" } ]
single
wget
114e2b00dbfcbca6
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show TCP connections involving git.local." }, { "role": "assistant", "content": "netstat -tn | grep git.local" } ]
single
netstat
63492562c0e86e62
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Download all URLs stored in a text file to a specific directory." }, { "role": "assistant", "content": "wget tests uploads debug.conf staging.lo...
single
wget
c510393631c7e166
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from auth.local." }, { "role": "assistant", "content": "netstat -tn | grep auth.local" } ]
single
netstat
5ab1091ad0e49ffe
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 25 hottest values in column 9 of inventory.tsv (by frequency)." }, { "role": "assistant", "content": "cut -d, -f9 inventory.tsv | sort | uniq -c | sort -nr...
pipeline
cut
79f6ebb06a45aa6a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Start a new part at every 5th line (will fail if number of lines is not divisible by 5)." }, { "role": "assistant", "content": "csplit migration.json ...
single
csplit
f86b2976d51304f7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Poll memory in MB every 5s, 3 times." }, { "role": "assistant", "content": "free -m -s 5 -c 3" } ]
single
free
6cebbedf2bcc46d8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "follow redirects when fetching https://proxy.local" }, { "role": "assistant", "content": "curl -L https://proxy.local" } ]
single
curl
cc004a6121b60234
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "follow redirects when fetching https://proxy.local" }, { "role": "assistant", "content": "curl --location https://proxy.local" } ]
single
curl
cc004a6121b60234
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Unmount a filesystem, by passing the path to the target where it is mounted." }, { "role": "assistant", "content": "umount media" } ]
single
umount
aceab623f351e664
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print all environment variables." }, { "role": "assistant", "content": "env" } ]
single
env
a088d18eba17714a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to follow the chronyd journal but only show lines mentioning 'retry'." }, { "role": "assistant", "content": "journalctl -u chronyd -f | gr...
pipeline
journalctl
dc9dd6d2f28a6415
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From invoice.json, show the last 15 lines." }, { "role": "assistant", "content": "cat invoice.json | tail -n 15" } ]
pipeline
tail
7f326a09c871dec6
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Rename debug.xml to debug.xml.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n debug.xml debug.xml.o...
single
mv
4ef4e1230b002b28
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rename debug.xml to debug.xml.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobber debug.xml debug.xml.old" } ]
single
mv
4ef4e1230b002b28
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Poll memory in MB every 1s, 3 times." }, { "role": "assistant", "content": "free -m -s 1 -c 3" } ]
single
free
6175c543215534f7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a retry wrapper around curl to https://monitor.example.org/health: 6 attempts, 3s apart." }, { "role": "assistant", "content": "#!/usr/bin...
script
curl
0ca69a5a4640c65d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Follow the grafana-server journal but only show lines mentioning 'denied'." }, { "role": "assistant", "content": "journalctl -u grafana-server -f | gr...
pipeline
journalctl
1bdf7eb270991533
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow the grafana-server journal but only show lines mentioning 'denied'." }, { "role": "assistant", "content": "journalctl --unit grafana-server -f | grep --line-buffered -i 'denied'" } ]
pipeline
journalctl
1bdf7eb270991533
[ { "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 dave" } ]
single
lastlog
c9a58349a435128b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display the current user identity." }, { "role": "assistant", "content": "id nginx" } ]
single
id
5a619b4dfbc906e8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find files in /var/cache larger than 10k." }, { "role": "assistant", "content": "find /var/cache -type f -size +10k" } ]
single
find
97c6379b1aa97033
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find files in /var/cache larger than 10k." }, { "role": "assistant", "content": "find /var/cache -size +10k -type f" } ]
single
find
97c6379b1aa97033
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Rank the values of column 3 in nginx-access.log by frequency, highest first, top 5 only." }, { "role": "assistant", "content": "cut -d, -f3 nginx...
pipeline
cut
e830fcf4d8ff67e0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write `stdin` to a file." }, { "role": "assistant", "content": "cat - > archive.tmp" } ]
single
cat
ba82fb012b35f41a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from manifest.txt." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manifest.txt | sort -u" } ]
pipeline
sed
8a6642913f47a1e6
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from manifest.txt." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manifest.txt | ...
pipeline
sed
8a6642913f47a1e6
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from manifest.txt." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manifes...
pipeline
sed
8a6642913f47a1e6
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "What are the 20 biggest files under lib?" }, { "role": "assistant", "content": "find lib -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 2...
pipeline
find
731acfe9e3f4d120
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count how many files are in /var/lib/mysql." }, { "role": "assistant", "content": "ls -1 /var/lib/mysql | wc -l" } ]
pipeline
ls
eaedf449c4f1da56
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show TCP connections involving db01.example.com." }, { "role": "assistant", "content": "netstat -tn | grep db01.example.com" } ]
single
netstat
d619b90725ad65c8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Sort a file in ascending order." }, { "role": "assistant", "content": "sort output.json" } ]
single
sort
23da9cba2a5aaa3a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display the input offset in hexadecimal and its ASCII representation in two columns." }, { "role": "assistant", "content": "hexdump -C config.tm...
single
hexdump
6a7fde31d8763a65
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the top 15 most frequent values in field 2 of the comma-separated file build.log." }, { "role": "assistant", "content": "cut -d, -f2 build.log | sort | uniq -c | sort -nr | head -n 15" } ]
pipeline
cut
b0983a47c32f87fc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "On this box, list the top 20 remote IPs by number of connections." }, { "role": "assistant", "content": "ss -tn | awk 'NR>1 {print $5}' | cut -d...
pipeline
ss
7c43a265185018cc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Give me a frequency tally of column 1 in app.log and show the 15 biggest." }, { "role": "assistant", "content": "awk '{print $1}' app.log | sort | uniq -c | sort -n...
pipeline
awk
191f10add93284ae
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show TCP connections involving backup.corp.net." }, { "role": "assistant", "content": "netstat -tn | grep backup.corp.net" } ]
single
netstat
1ffd61dc7072e8ba
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Join two files on the first (default) field." }, { "role": "assistant", "content": "join catalog.tar.gz output.tar.gz" } ]
single
join
955cec18eb3335d7
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write me a script that uses a lock file so only one instance can run at a time, releasing it on exit." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nlock=/tmp/myjo...
script
trap
9cc0a33bace22341
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Rename dump.pdf to dump.pdf.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n dump.pdf dump.pdf.old" ...
single
mv
9eb4dcb61f882554
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Rename dump.pdf to dump.pdf.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobber dump.pdf...
single
mv
9eb4dcb61f882554