messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read backup.md, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat backup.md | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From index.ini, show the last 15 lines." }, { "role": "assistant", "content": "cat index.ini | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read notes.log, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat notes.log | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Take backup.tsv and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat backup.tsv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From request.ini, count each unique line, most common first." }, { "role": "assistant", "content": "cat request.ini | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read changelog.tsv, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat changelog.tsv | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read sales.log, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat sales.log | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need a script that loops over every .zip file in /opt/app and makes each file read-only." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/opt/app\nfor f in \"...
script
chmod
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "From payment.conf, show the last 15 lines." }, { "role": "assistant", "content": "cat payment.conf | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Make manifest.old executable." }, { "role": "assistant", "content": "chmod +x manifest.old" } ]
single
chmod
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the first 20 lines of account.js." }, { "role": "assistant", "content": "head -n 20 account.js" } ]
single
head
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read request.tsv, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat request.tsv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given audit.csv, count the lines." }, { "role": "assistant", "content": "cat audit.csv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From settings.yaml, count the lines." }, { "role": "assistant", "content": "cat settings.yaml | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the unique sorted lines of credentials.log." }, { "role": "assistant", "content": "cat credentials.log | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read notes.log, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat notes.log | sort | un...
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From users.txt, count the lines." }, { "role": "assistant", "content": "cat users.txt | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sort catalog.json and remove duplicate lines." }, { "role": "assistant", "content": "sort -u catalog.json" } ]
single
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From export.log, count each unique line, most common first." }, { "role": "assistant", "content": "cat export.log | sort | uniq -c | sort -nr" ...
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read server.md, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat server.md | sort | uniq -c ...
pipeline
uniq
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From summary.tsv, count each unique line, most common first." }, { "role": "assistant", "content": "cat summary.tsv | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the unique sorted lines of order.md." }, { "role": "assistant", "content": "cat order.md | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given payment.txt, count each unique line, most common first." }, { "role": "assistant", "content": "cat payment.txt | sort | uniq -c | sort -nr" } ...
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list only the .py files in /mnt/data" }, { "role": "assistant", "content": "ls /mnt/data | grep '\\.py$'" } ]
pipeline
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "what's the size of profile.css in bytes?" }, { "role": "assistant", "content": "stat -c '%s' profile.css" } ]
single
stat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From payment.json, count each unique line, most common first." }, { "role": "assistant", "content": "cat payment.json | sort | uniq -c | sort -nr...
pipeline
uniq
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the unique sorted lines of audit.yaml." }, { "role": "assistant", "content": "cat audit.yaml | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take build.md and convert everything to uppercase." }, { "role": "assistant", "content": "cat build.md | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take server.yaml and convert everything to uppercase." }, { "role": "assistant", "content": "cat server.yaml | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "get the 5 most common words in profile.json" }, { "role": "assistant", "content": "cat profile.json | tr ' ' '\\n' | sort | uniq -c | sort -nr | ...
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "show info about the unzip package" }, { "role": "assistant", "content": "apt show unzip" } ]
single
apt
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if response.md exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f response.md ] && cat response.md...
pipeline
chain
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "For transaction.md, determine what kind of file it is." }, { "role": "assistant", "content": "file transaction.md" } ]
single
file
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From changelog.md, count each unique line, most common first." }, { "role": "assistant", "content": "cat changelog.md | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "For migration.sql, show its size, owner and permissions." }, { "role": "assistant", "content": "stat migration.sql" } ]
single
stat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "get the 5 most common words in inventory.conf" }, { "role": "assistant", "content": "cat inventory.conf | tr ' ' '\\n' | sort | uniq -c | sort -nr | head -n 5" } ...
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take changelog.tsv and show the last 15 lines." }, { "role": "assistant", "content": "cat changelog.tsv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "get the 5 most common words in changelog.md" }, { "role": "assistant", "content": "cat changelog.md | tr ' ' '\\n' | sort | uniq -c | sort -nr | ...
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "From auth.csv, count each unique line, most common first." }, { "role": "assistant", "content": "cat auth.csv | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Archive cache and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - cache | ssh svc-app@cdn.corp.net 'cat > /backup/cache.tar.gz'" } ]
pipeline
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Determine what kind of file it is of session.html." }, { "role": "assistant", "content": "file session.html" } ]
single
file
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "list only the .py files in /etc/nginx" }, { "role": "assistant", "content": "ls /etc/nginx | grep '\\.py$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "keep watching debug.log for new entries and start from the last 1000 lines" }, { "role": "assistant", "content": "tail -n 1000 -f debug.log" } ]
single
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read session.tsv, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat session.tsv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "On the file customer.tar.gz, show a hex dump of the first 64 bytes." }, { "role": "assistant", "content": "xxd -l 64 customer.tar.gz" } ]
single
xxd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read auth.yaml, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat auth.yaml | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "From invoice.log, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat invoice.log | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Ping app01.service.io four times and stop." }, { "role": "assistant", "content": "ping -c 4 app01.service.io" } ]
single
ping
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Copy index.csv to proxy.service.io's /tmp directory as postgres." }, { "role": "assistant", "content": "scp index.csv postgres@proxy.service.io:/...
single
scp
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Back up /home/deploy to /var/backups as a dated bzip2 archive, pruning all but the last 30 backups." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsrc=/home/deploy...
script
tar
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From audit.txt, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat audit.txt | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "list the size of each subdirectory in migrations" }, { "role": "assistant", "content": "du -h --max-depth=1 migrations" } ]
single
du
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Please show the first 20 lines in response.xml." }, { "role": "assistant", "content": "head -n 20 response.xml" } ]
single
head
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list only the .jpg files in config" }, { "role": "assistant", "content": "ls config | grep '\\.jpg$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take build.tsv and count the lines." }, { "role": "assistant", "content": "cat build.tsv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "get the 5 most common words in transaction.tsv" }, { "role": "assistant", "content": "cat transaction.tsv | tr ' ' '\\n' | sort | uniq -c | sort -nr | head -n 5" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take migration.conf and show the last 15 lines." }, { "role": "assistant", "content": "cat migration.conf | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display the ancestors of process 7066 as a tree." }, { "role": "assistant", "content": "pstree -s 7066" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "connect to backup.corp.net on port 6379 as nginx" }, { "role": "assistant", "content": "ssh -p 6379 nginx@backup.corp.net" } ]
single
ssh
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take config.csv and count each unique line, most common first." }, { "role": "assistant", "content": "cat config.csv | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Please show the first 20 lines in credentials.html." }, { "role": "assistant", "content": "head -n 20 credentials.html" } ]
single
head
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How many words are in auth.pdf?" }, { "role": "assistant", "content": "wc -w auth.pdf" } ]
single
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From summary.csv, count the lines." }, { "role": "assistant", "content": "cat summary.csv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print output.log starting from line 500 to the end." }, { "role": "assistant", "content": "tail -n +500 output.log" } ]
single
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Restart rabbitmq containerd memcached one after another and report each result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor svc in rabbitmq containerd memca...
script
for
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "keep watching access.log for new entries and start from the last 500 lines" }, { "role": "assistant", "content": "tail -n 500 -f access.log" } ]
single
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From request.log, count each unique line, most common first." }, { "role": "assistant", "content": "cat request.log | sort | uniq -c | sort -nr" ...
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given catalog.csv, count the lines." }, { "role": "assistant", "content": "cat catalog.csv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Squeeze repeated spaces into a single space in output.json." }, { "role": "assistant", "content": "tr -s ' ' < output.json" } ]
single
tr
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read migration.conf, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat migration.conf | tr 'a-z' '...
pipeline
tr
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read build.tsv, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat build.tsv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take data.csv and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat data.csv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From catalog.json, convert everything to uppercase." }, { "role": "assistant", "content": "cat catalog.json | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Check if release.html exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f release.html ] && cat release.ht...
pipeline
chain
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Archive cache and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - cache | ssh ubuntu@db02.example.org 'cat > /bac...
pipeline
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "SSH into proxy.local as deploy." }, { "role": "assistant", "content": "ssh deploy@proxy.local" } ]
single
ssh
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take auth.txt and convert everything to uppercase." }, { "role": "assistant", "content": "cat auth.txt | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the last 20 lines of dump.json." }, { "role": "assistant", "content": "tail -n 20 dump.json" } ]
single
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many times each line appears in dump.conf, most frequent first." }, { "role": "assistant", "content": "sort dump.conf | uniq -c | sort -nr" ...
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take schema.tsv and convert everything to uppercase." }, { "role": "assistant", "content": "cat schema.tsv | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Take output.log and count each unique line, most common first." }, { "role": "assistant", "content": "cat output.log | sort | uniq -c | sort -nr"...
pipeline
uniq
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read product.csv, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat product.csv | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From order.tsv, count the lines." }, { "role": "assistant", "content": "cat order.tsv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read archive.ini, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat archive.ini | sort | uniq...
pipeline
uniq
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Archive dist and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - dist | ssh admin@db02.example...
pipeline
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Make a directory reports with permissions 700." }, { "role": "assistant", "content": "mkdir -m 700 reports" } ]
single
mkdir
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read transaction.ini, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat transaction.ini | sort | uniq -c | ...
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Check if schema.zip exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f schema.zip ] && cat schema.zip || echo 'not found'" ...
pipeline
chain
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read transaction.csv, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat transaction.csv | sort -u...
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the files opened by process 3282." }, { "role": "assistant", "content": "lsof -p 3282" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Please show its size, owner and permissions in customer.txt." }, { "role": "assistant", "content": "stat customer.txt" } ]
single
stat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "get the 5 most common words in export.json" }, { "role": "assistant", "content": "cat export.json | tr ' ' '\\n' | sort | uniq -c | sort -nr | head -n...
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a script that runs gzip on every .log file in /srv/data, 4 jobs in parallel." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
xargs
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read order.csv, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat order.csv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read payment.tsv, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat payment.tsv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take schema.yaml and count the lines." }, { "role": "assistant", "content": "cat schema.yaml | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need a bash script that prints the line count of each file for all .log files under /data/uploads." }, { "role": "assistant", "content": "#!/u...
script
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From auth.ini, count each unique line, most common first." }, { "role": "assistant", "content": "cat auth.ini | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take sales.conf and count the lines." }, { "role": "assistant", "content": "cat sales.conf | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Ping monitor.service.io four times and stop." }, { "role": "assistant", "content": "ping -c 4 monitor.service.io" } ]
single
ping