messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list only the .gif files in bin" }, { "role": "assistant", "content": "ls bin | grep '\\.gif$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "get the 5 most common words in config.json" }, { "role": "assistant", "content": "cat config.json | tr ' ' '\\n' | sort | uniq -c | sort -nr | h...
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Given sales.txt, count each unique line, most common first." }, { "role": "assistant", "content": "cat sales.txt | 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 account.conf, count each unique line, most common first." }, { "role": "assistant", "content": "cat account.conf | sort | uniq -c | sort -n...
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Archive lib and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - lib | ssh erin@mail.service.io 'cat...
pipeline
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a bash script that prints the line count of each file for all .html files under /data/uploads." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From settings.md, convert everything to uppercase." }, { "role": "assistant", "content": "cat settings.md | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .jpg files in releases" }, { "role": "assistant", "content": "ls releases | grep '\\.jpg$'" } ]
pipeline
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From notes.csv, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat notes.csv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take export.conf and count the lines." }, { "role": "assistant", "content": "cat export.conf | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take order.txt and count the lines." }, { "role": "assistant", "content": "cat order.txt | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Given 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": "On the file report.zip, show the last 20 lines." }, { "role": "assistant", "content": "tail -n 20 report.zip" } ]
single
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From release.json, count each unique line, most common first." }, { "role": "assistant", "content": "cat release.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": "Check if archive.tar.gz exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f archive.tar.gz ] && cat archiv...
pipeline
chain
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count how many times each line appears in config.ini, most frequent first." }, { "role": "assistant", "content": "sort config.ini | uniq -c | sor...
pipeline
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Archive static and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - static | ssh nginx@auth.loc...
pipeline
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From build.txt, show the last 15 lines." }, { "role": "assistant", "content": "cat build.txt | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Take product.json and count the lines." }, { "role": "assistant", "content": "cat product.json | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how many times each line appears in transaction.md, most frequent first." }, { "role": "assistant", "content": "sort transaction.md | uniq -c | sort -nr" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the unique sorted lines of users.txt." }, { "role": "assistant", "content": "cat users.txt | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Archive build and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - build | ssh erin@api.internal 'ca...
pipeline
tar
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given auth.ini, show the last 15 lines." }, { "role": "assistant", "content": "cat auth.ini | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take credentials.md and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat credentials.md | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .png files in /home/alice" }, { "role": "assistant", "content": "ls /home/alice | grep '\\.png$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read payment.csv, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat payment.csv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read payment.md, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat payment.md | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Remove write permission for group and others on account.jpg." }, { "role": "assistant", "content": "chmod go-w account.jpg" } ]
single
chmod
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count occurrences of each unique line in auth.ini (assume it's sorted)." }, { "role": "assistant", "content": "uniq -c auth.ini" } ]
single
uniq
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if summary.xml exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f summary.xml ] && cat summary.xml...
pipeline
chain
[ { "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 2758." }, { "role": "assistant", "content": "pstree -p 2758" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given notes.yaml, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat notes.yaml | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Archive data and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - data | ssh ubuntu@backup.example.com 'cat > /backup/data.tar.gz'" } ]
pipeline
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Mirror migrations to auth.corp.net:/backup deleting files that no longer exist locally." }, { "role": "assistant", "content": "rsync -avz --delete migrations/ ec2-u...
single
rsync
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From schema.tsv, show the last 15 lines." }, { "role": "assistant", "content": "cat schema.tsv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show just the first line of payload.jpg." }, { "role": "assistant", "content": "head -n 1 payload.jpg" } ]
single
head
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print the contents of credentials.yaml to the terminal." }, { "role": "assistant", "content": "cat credentials.yaml" } ]
single
cat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Please show a hex dump of the first 64 bytes in payment.js." }, { "role": "assistant", "content": "xxd -l 64 payment.js" } ]
single
xxd
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given archive.md, count each unique line, most common first." }, { "role": "assistant", "content": "cat archive.md | sort | uniq -c | sort -nr" ...
pipeline
uniq
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take config.md and convert everything to uppercase." }, { "role": "assistant", "content": "cat config.md | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From account.yaml, count the lines." }, { "role": "assistant", "content": "cat account.yaml | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "do a dry-run rsync of templates to fixtures to see what would change" }, { "role": "assistant", "content": "rsync -avn templates/ fixtures/" }...
single
rsync
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Remove adjacent duplicate lines from the already-sorted dump.yaml." }, { "role": "assistant", "content": "uniq dump.yaml" } ]
single
uniq
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given product.ini, convert everything to uppercase." }, { "role": "assistant", "content": "cat product.ini | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read dump.csv, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat dump.csv | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take notes.csv and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat notes.csv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given release.tsv, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat release.tsv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read catalog.txt, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat catalog.txt | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "do a dry-run rsync of vendor to tmp to see what would change" }, { "role": "assistant", "content": "rsync -avn vendor/ tmp/" } ]
single
rsync
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "give the owner rwx and everyone else read on metrics.log" }, { "role": "assistant", "content": "chmod 744 metrics.log" } ]
single
chmod
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Set account.json to permissions 644." }, { "role": "assistant", "content": "chmod 644 account.json" } ]
single
chmod
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given metrics.tsv, count the lines." }, { "role": "assistant", "content": "cat metrics.tsv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show its size, owner and permissions of results.yaml." }, { "role": "assistant", "content": "stat results.yaml" } ]
single
stat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "display metrics.json showing tabs and line endings" }, { "role": "assistant", "content": "cat -A metrics.json" } ]
single
cat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "list only the .gif files in /etc/nginx" }, { "role": "assistant", "content": "ls /etc/nginx | grep '\\.gif$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read inventory.log, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat inventory.log | so...
pipeline
uniq
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take output.yaml and convert everything to uppercase." }, { "role": "assistant", "content": "cat output.yaml | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "quietly download https://proxy.example.com/data.json and save it as data.json" }, { "role": "assistant", "content": "wget -q -O data.json https://proxy.example.com/data.json" } ]
single
wget
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read test.txt, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat test.txt | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "For payload.pdf, show the last 20 lines." }, { "role": "assistant", "content": "tail -n 20 payload.pdf" } ]
single
tail
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "list only the .txt files in config" }, { "role": "assistant", "content": "ls config | grep '\\.txt$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Mirror migrations to auth.example.com:/backup deleting files that no longer exist locally." }, { "role": "assistant", "content": "rsync -avz --de...
single
rsync
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read account.txt, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat account.txt | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count occurrences of each unique line in backup.ini (assume it's sorted)." }, { "role": "assistant", "content": "uniq -c backup.ini" } ]
single
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take backup.csv and count each unique line, most common first." }, { "role": "assistant", "content": "cat backup.csv | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check if export.gz exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f export.gz ] && cat export.gz || echo 'not found'" } ]
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Please print it with line numbers in release.md." }, { "role": "assistant", "content": "nl release.md" } ]
single
nl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From test.tsv, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat test.tsv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given 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 are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Please print it with line numbers in catalog.old." }, { "role": "assistant", "content": "nl catalog.old" } ]
single
nl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read debug.log, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat debug.log | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "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 ubuntu@web01.internal 'cat > /backup/dist.tar.gz'" } ]
pipeline
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "list only the .gif files in /opt/scripts" }, { "role": "assistant", "content": "ls /opt/scripts | grep '\\.gif$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From build.yaml, show the last 15 lines." }, { "role": "assistant", "content": "cat build.yaml | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Given metrics.conf, count each unique line, most common first." }, { "role": "assistant", "content": "cat metrics.conf | 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": "Archive migrations and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - migrations | ssh admin@...
pipeline
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read notes.log, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat notes.log | 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": "list only the .yaml files in modules" }, { "role": "assistant", "content": "ls modules | grep '\\.yaml$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how many times each line appears in dump.txt, most frequent first." }, { "role": "assistant", "content": "sort dump.txt | uniq -c | sort -nr" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take output.csv and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat output.csv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read inventory.yaml, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat inventory.yaml | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Remove write permission for group and others on backup.md." }, { "role": "assistant", "content": "chmod go-w backup.md" } ]
single
chmod
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "delete all digits from report.ini" }, { "role": "assistant", "content": "tr -d '0-9' < report.ini" } ]
single
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Process all .log files under data with checksum with sha256sum using 8 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -...
script
xargs
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given schema.ini, show the last 15 lines." }, { "role": "assistant", "content": "cat schema.ini | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From index.csv, count each unique line, most common first." }, { "role": "assistant", "content": "cat index.csv | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given migration.log, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat migration.log | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read build.json, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat build.json | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From schema.md, show the last 15 lines." }, { "role": "assistant", "content": "cat schema.md | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Take test.md and count the lines." }, { "role": "assistant", "content": "cat test.md | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take archive.txt and show the last 15 lines." }, { "role": "assistant", "content": "cat archive.txt | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the total size of the /var/lib/mysql directory in human-readable form." }, { "role": "assistant", "content": "du -sh /var/lib/mysql" } ]
single
du
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the last 20 lines of dump.txt." }, { "role": "assistant", "content": "tail -n 20 dump.txt" } ]
single
tail
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if test.jpg exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f test.jpg ] && cat test.jpg || echo ...
pipeline
chain
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count the lines of archive.py." }, { "role": "assistant", "content": "wc -l archive.py" } ]
single
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Given sales.log, count the lines." }, { "role": "assistant", "content": "cat sales.log | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read backup.csv, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat backup.csv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a script that verifies the environment variables PORT, API_KEY and REDIS_URL are all set before running." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor ...
script
env
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print just the octal permission bits of users.tmp." }, { "role": "assistant", "content": "stat -c '%a' users.tmp" } ]
single
stat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Back up /home/deploy to /srv/backup as a dated xz archive, pruning all but the last 5 backups." }, { "role": "assistant", "content": "#!/usr/bin...
script
tar