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": "Can you write a script that loops over every .old file in /home/alice and makes a .bak copy of each file?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/home/...
script
cp
8df7e91ae63e435e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the unique 'FIXME' messages in worker.log." }, { "role": "assistant", "content": "grep 'FIXME' worker.log | sort -u" } ]
pipeline
grep
8476a841d94f2655
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many files are in project." }, { "role": "assistant", "content": "ls -1 project | wc -l" } ]
pipeline
ls
c2c9bc35da1aaf84
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from test.md." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' test.md | sort...
pipeline
sed
2692250ecb65ef1f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find empty files in src." }, { "role": "assistant", "content": "find src -type f -empty" } ]
single
find
1f313942e6e86bdd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find empty files in src." }, { "role": "assistant", "content": "find src -empty -type f" } ]
single
find
1f313942e6e86bdd
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Process all .xml files under /var/www with checksum with sha256sum using 2 parallel workers via xargs." }, { "role": "assistant", "content": "#!...
script
xargs
033d265fcd23c5c9
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Edit payload.yaml in place, replacing 'success' with 'warning'." }, { "role": "assistant", "content": "sed -i 's/success/warning/g' payload.yaml"...
single
sed
7a5f38a3aadb04bc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Recursively set owner and group of logs to git:admin." }, { "role": "assistant", "content": "sudo chown -R git:admin logs" } ]
single
chown
8571576b7d256ff1
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show a recursive listing of fixtures." }, { "role": "assistant", "content": "ls -R fixtures" } ]
single
ls
cf965711105ec3cd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 10 most common 'null'-related lines in syslog." }, { "role": "assistant", "content": "grep 'null' syslog | sort | uniq -c | sort -nr | head -...
pipeline
grep
ddc79f6273eb0919
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 10 most common 'null'-related lines in syslog." }, { "role": "assistant", "content": "grep 'null' syslog | sort | uniq --count | sort -nr | h...
pipeline
grep
ddc79f6273eb0919
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to show the last 20 lines containing '502' in debug.log." }, { "role": "assistant", "content": "grep '502' debug.log | tail -n 20" } ]
pipeline
grep
b7315967c6e13244
[ { "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." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' ...
pipeline
grep
d088edf8a4ad9312
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in syslog." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' syslog...
pipeline
grep
d088edf8a4ad9312
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in syslog." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' syslog | sort | uniq -c | sort -nr" } ]
pipeline
grep
d088edf8a4ad9312
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find files in assets owned by operator." }, { "role": "assistant", "content": "find assets -type f -user operator" } ]
single
find
a594bccbb352178c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find files in assets owned by operator." }, { "role": "assistant", "content": "find assets -user operator -type f" } ]
single
find
a594bccbb352178c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Launch an interactive process monitor sorted by CPU." }, { "role": "assistant", "content": "top" } ]
single
top
8d0f24004117dcb2
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Remove write permission for group and others on credentials.conf." }, { "role": "assistant", "content": "chmod go-w credentials.conf" } ]
single
chmod
c7aed62b27bd4dd5
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show what changed but hasn't been staged yet." }, { "role": "assistant", "content": "git diff" } ]
single
git
1380fbc24ee62154
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a gzip-compressed archive of the src directory." }, { "role": "assistant", "content": "tar -czf src.tar.gz src" } ]
single
tar
0baf47f874005eed
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create a gzip-compressed archive of the src directory." }, { "role": "assistant", "content": "tar czf src.tar.gz src" } ]
single
tar
0baf47f874005eed
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a gzip-compressed archive of the src directory." }, { "role": "assistant", "content": "tar -zcf src.tar.gz src" } ]
single
tar
0baf47f874005eed
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List all files in tmp, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -la tmp" } ]
single
ls
40b6e7076e624433
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List all files in tmp, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -al tmp" } ]
single
ls
40b6e7076e624433
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List all files in tmp, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -l -a tmp" } ]
single
ls
40b6e7076e624433
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Is the haproxy service currently active?" }, { "role": "assistant", "content": "systemctl is-active haproxy" } ]
single
systemctl
0ddc03195f7bf246
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sort transaction.json and remove duplicate lines." }, { "role": "assistant", "content": "sort -u transaction.json" } ]
single
sort
8aa00d0a7e9fda78
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many connections are there to port 5000?" }, { "role": "assistant", "content": "ss -tn | grep ':5000' | wc -l" } ]
pipeline
ss
cd405fad327b7247
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "locate files under static modified in the last 21 days" }, { "role": "assistant", "content": "find static -type f -mtime -21" } ]
single
find
73c7b61c464ca8e8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Remove write permission for group and others on catalog.sh." }, { "role": "assistant", "content": "chmod go-w catalog.sh" } ]
single
chmod
5abb24ec5d889cb0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a script that deletes .cache files older than 21 days from cache and logs what it removed." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -eu...
script
find
acb6f9f6078c0267
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read the CSV products.tsv field by field (id,name,email) with a while loop and print a greeting." }, { "role": "assistant", "content": "#!/usr/bi...
script
while
b10506590914e6de
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in bin owned by nginx." }, { "role": "assistant", "content": "find bin -type f -user nginx" } ]
single
find
31c57568202aa320
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I show the top 15 processes by CPU usage?" }, { "role": "assistant", "content": "ps aux --sort=-%cpu | head -n 16" } ]
pipeline
ps
709d8fc61076fe32
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Copy schema.old into the data directory." }, { "role": "assistant", "content": "cp schema.old data/" } ]
single
cp
7ab9f969153d044c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run the backup script, sending stdout and stderr to auth.log." }, { "role": "assistant", "content": "./backup.sh > auth.log 2>&1" } ]
pipeline
redirection
3e3f0af108400cd2
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count the lines of sales.tar.gz." }, { "role": "assistant", "content": "wc -l sales.tar.gz" } ]
single
wc
addae1eead23e15b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count the lines of sales.tar.gz." }, { "role": "assistant", "content": "wc --lines sales.tar.gz" } ]
single
wc
addae1eead23e15b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count the lines of sales.tar.gz." }, { "role": "assistant", "content": "wc -l < sales.tar.gz" } ]
single
wc
addae1eead23e15b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Remove write permission for group and others on manifest.js." }, { "role": "assistant", "content": "chmod go-w manifest.js" } ]
single
chmod
5f43d67c02f68e5e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from account.tsv." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' account.ts...
pipeline
sed
c08d5a5a99261714
[ { "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://db01.service.io/api/items" }, { "role": "assistant", "content": "curl -s https://db01.service.io/...
pipeline
curl
26674c647281101d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "get the number of items in the JSON array at https://db01.service.io/api/items" }, { "role": "assistant", "content": "curl --silent https://db01.service.io/api/items | jq 'length'" } ]
pipeline
curl
26674c647281101d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Back up data to /var/backups as a dated gzip archive, pruning all but the last 14 backups." }, { "role": "assistant", "content": "#!/usr/bin/env...
script
tar
8b5141a73b4e9b5a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list PIDs and names of processes matching java" }, { "role": "assistant", "content": "pgrep -a java" } ]
single
pgrep
e0da7fcefafd9f9d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list PIDs and names of processes matching java" }, { "role": "assistant", "content": "pgrep --list-full java" } ]
single
pgrep
e0da7fcefafd9f9d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Loop through the .pdf files in backups and moves each file into an archive/ subfolder — write it as a proper script." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\...
script
mv
f2b54051a78e4a94
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "locate files under fixtures modified in the last 2 days" }, { "role": "assistant", "content": "find fixtures -type f -mtime -2" } ]
single
find
efb1ed008596d827
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Can you write a script that generates an nginx config file for example.com using a here-document?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndomain=example.com...
script
heredoc
a445f098d121badf
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How many lines in cron.log mention 'denied'?" }, { "role": "assistant", "content": "grep -c 'denied' cron.log | cat" } ]
pipeline
grep
8eba510a41fee1f9
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many lines in cron.log mention 'denied'?" }, { "role": "assistant", "content": "grep --count 'denied' cron.log | cat" } ]
pipeline
grep
8eba510a41fee1f9
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the last 30 kernel log lines with timestamps." }, { "role": "assistant", "content": "dmesg -T | tail -n 30" } ]
single
dmesg
6f67413014d8789f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Discard all uncommitted changes in the working tree. (Destructive.)" }, { "role": "assistant", "content": "git checkout -- ." } ]
single
git
f96fa3e42a9e86e0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many files are in logs." }, { "role": "assistant", "content": "ls -1 logs | wc -l" } ]
pipeline
ls
8a284be66dd20ff8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a small script that dumps every PostgreSQL database into its own gzip file under /data/backup, keeping 14 days." }, { "role": "assistant", "cont...
script
pg_dump
f7ec381211efa697
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Make output.conf executable." }, { "role": "assistant", "content": "chmod +x output.conf" } ]
single
chmod
ff26812f49111a66
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a script that verifies the environment variables API_KEY, REDIS_URL and ENV are all set before running." }, { "role": "assistant", "conten...
script
env
f16ff5e981852f4c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I show the top 10 processes by CPU usage?" }, { "role": "assistant", "content": "ps aux --sort=-%cpu | head -n 11" } ]
pipeline
ps
d0e92074511092a3
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find files in cache larger than 10k." }, { "role": "assistant", "content": "find cache -type f -size +10k" } ]
single
find
07573930ba4d8e94
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find files in cache larger than 10k." }, { "role": "assistant", "content": "find cache -size +10k -type f" } ]
single
find
07573930ba4d8e94
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many lines in access.log match 'OutOfMemory'." }, { "role": "assistant", "content": "grep -c 'OutOfMemory' access.log" } ]
single
grep
322bce6705e8bfa2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count how many lines in access.log match 'OutOfMemory'." }, { "role": "assistant", "content": "grep --count 'OutOfMemory' access.log" } ]
single
grep
322bce6705e8bfa2
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count how many lines in access.log match 'OutOfMemory'." }, { "role": "assistant", "content": "grep 'OutOfMemory' access.log | wc -l" } ]
single
grep
322bce6705e8bfa2
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Replace every occurrence of 'https' with 'false' in index.txt and print the result." }, { "role": "assistant", "content": "sed 's/https/false/g' ...
single
sed
17df57df3972b55d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List only directories inside tests." }, { "role": "assistant", "content": "ls -d tests/*/" } ]
single
ls
698860b73735853d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "In dmesg.log, which 25 values of column 1 occur most often?" }, { "role": "assistant", "content": "cut -d, -f1 dmesg.log | sort | uniq -c | sort...
pipeline
cut
7ab490c23e939459
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the first 20 lines of metrics.conf." }, { "role": "assistant", "content": "head -n 20 metrics.conf" } ]
single
head
f8e3ce7b35b67c7a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the first 20 lines of metrics.conf." }, { "role": "assistant", "content": "head --lines 20 metrics.conf" } ]
single
head
f8e3ce7b35b67c7a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the first 20 lines of metrics.conf." }, { "role": "assistant", "content": "head -20 metrics.conf" } ]
single
head
f8e3ce7b35b67c7a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List just the filenames under lib that contain 'retry'." }, { "role": "assistant", "content": "grep -rl 'retry' lib" } ]
single
grep
bcf1d584afb94bcd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List just the filenames under lib that contain 'retry'." }, { "role": "assistant", "content": "grep -lr 'retry' lib" } ]
single
grep
bcf1d584afb94bcd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List just the filenames under lib that contain 'retry'." }, { "role": "assistant", "content": "grep -r -l 'retry' lib" } ]
single
grep
bcf1d584afb94bcd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many files are in /var/www." }, { "role": "assistant", "content": "ls -1 /var/www | wc -l" } ]
pipeline
ls
699e7fb9c87d2960
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "What are the disk usage of scripts broken down one level deep?" }, { "role": "assistant", "content": "du -h --max-depth=1 scripts 2>/dev/null | sort -rh" } ]
pipeline
du
346207c4334b3cbc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "What are the disk usage of scripts broken down one level deep?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 scripts 2...
pipeline
du
346207c4334b3cbc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Sum up the values in column 3 of metrics.log." }, { "role": "assistant", "content": "awk '{sum+=$3} END{print sum}' metrics.log" } ]
single
awk
9dd419d58ff703ad
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a small script that loops over every .old file in /opt/app and prints the line count of each file." }, { "role": "assistant", "content": "#...
script
wc
372446845190f843
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Can you write a script that loops over every .txt file in /srv/data and prints the line count of each file?" }, { "role": "assistant", "content": "#!/...
script
wc
9d4d14f41d704565
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from product.conf." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' product.conf | ...
pipeline
sed
d9f56a2971f454ba
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the email addresses from product.conf." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' product.co...
pipeline
sed
d9f56a2971f454ba
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from product.conf." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' product.conf | sort -u" } ]
pipeline
sed
d9f56a2971f454ba
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I list the PIDs of apache2 sorted by memory use?" }, { "role": "assistant", "content": "ps -C apache2 -o pid=,rss= --sort=-rss" } ]
pipeline
ps
7b6e700c408ad2a3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 10 most common '404'-related lines in cron.log." }, { "role": "assistant", "content": "grep '404' cron.log | sort | uniq -c | sort -nr | head...
pipeline
grep
6f995bb74a8ff535
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the 10 most common '404'-related lines in cron.log." }, { "role": "assistant", "content": "grep '404' cron.log | sort | uniq --count | sort...
pipeline
grep
6f995bb74a8ff535
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Remove write permission for group and others on request.xml." }, { "role": "assistant", "content": "chmod go-w request.xml" } ]
single
chmod
ea6d19e36b127f4a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of include" }, { "role": "assistant", "content": "ls -lh include" } ]
single
ls
3fa62de9f1ccf310
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "give me a human-readable long listing of include" }, { "role": "assistant", "content": "ls -hl include" } ]
single
ls
3fa62de9f1ccf310
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "give me a human-readable long listing of include" }, { "role": "assistant", "content": "ls -l -h include" } ]
single
ls
3fa62de9f1ccf310
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give me an init-style dispatcher for the prometheus service with case on $1." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsvc=prometheus\ncase \"${1:-}\" in\n s...
script
case
5e7634f0e3b43572
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "What are the 10 largest subdirectories of releases?" }, { "role": "assistant", "content": "du -h releases/* 2>/dev/null | sort -rh | head -n 10" } ]
pipeline
du
22ef385ad2150171
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What are the 10 largest subdirectories of releases?" }, { "role": "assistant", "content": "du --human-readable releases/* 2>/dev/null | sort -rh | head -n 10" } ]
pipeline
du
22ef385ad2150171
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show established connections on port 443." }, { "role": "assistant", "content": "lsof -i :443 -sTCP:ESTABLISHED" } ]
single
lsof
227ca172cfbcd558
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "strip leading whitespace from every line of transaction.csv and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' transaction.csv > clean.txt" } ]
pipeline
sed
59b53f9bfa8d2bad
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Parse command-line flags -o (output), -l (level) and -d (dir) using getopts and validate that -o is provided." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\noutput...
script
getopts
c39ee649de013f3a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read schema.yaml, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat schema.yaml | wc -l" } ]
pipeline
wc
18be4e876b6f9ac8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'panic'-related lines in build.log." }, { "role": "assistant", "content": "grep 'panic' build.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
404ece5f134c0dce
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the 10 most common 'panic'-related lines in build.log." }, { "role": "assistant", "content": "grep 'panic' build.log | sort | uniq --count |...
pipeline
grep
404ece5f134c0dce
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Set product.jpg to permissions 644." }, { "role": "assistant", "content": "chmod 644 product.jpg" } ]
single
chmod
c520aed2e9b955e5