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": "Take product.log and count each unique line, most common first." }, { "role": "assistant", "content": "cat product.log | sort | uniq -c | sort -nr" ...
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From metrics.ini, count each unique line, most common first." }, { "role": "assistant", "content": "cat metrics.ini | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read server.txt, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat server.txt | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From results.json, convert everything to uppercase." }, { "role": "assistant", "content": "cat results.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 summary.bak exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f summary.bak ] && cat summary.bak ...
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read request.txt, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat request.txt | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Check if server.py exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f server.py ] && cat server.py || echo 'no...
pipeline
chain
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given notes.ini, convert everything to uppercase." }, { "role": "assistant", "content": "cat notes.ini | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given migration.json, count each unique line, most common first." }, { "role": "assistant", "content": "cat migration.json | sort | uniq -c | sort -nr...
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From summary.csv, convert everything to uppercase." }, { "role": "assistant", "content": "cat summary.csv | 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": "Show the unique sorted lines of access.txt." }, { "role": "assistant", "content": "cat access.txt | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Archive artifacts and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - artifacts | ssh jenkins@...
pipeline
tar
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Check if config.md exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f config.md ] && cat config.md || echo 'no...
pipeline
chain
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take users.txt and show the last 15 lines." }, { "role": "assistant", "content": "cat users.txt | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read profile.conf, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat profile.conf | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if metrics.log exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f metrics.log ] && cat metrics.log...
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read users.log, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat users.log | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From product.log, count the lines." }, { "role": "assistant", "content": "cat product.log | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take inventory.conf and count each unique line, most common first." }, { "role": "assistant", "content": "cat inventory.conf | sort | uniq -c | sort -...
pipeline
uniq
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From backup.log, count each unique line, most common first." }, { "role": "assistant", "content": "cat backup.log | 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 backup and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - backup | ssh git@app01.serv...
pipeline
tar
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "For transaction.txt, show a hex dump of the first 64 bytes." }, { "role": "assistant", "content": "xxd -l 64 transaction.txt" } ]
single
xxd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given response.ini, count each unique line, most common first." }, { "role": "assistant", "content": "cat response.ini | sort | uniq -c | sort -nr" ...
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .png files in /var/log" }, { "role": "assistant", "content": "ls /var/log | grep '\\.png$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read changelog.conf, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat changelog.conf | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read credentials.tsv, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat credentials.tsv | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From schema.md, convert everything to uppercase." }, { "role": "assistant", "content": "cat schema.md | 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": "Show the first 20 lines of transaction.csv." }, { "role": "assistant", "content": "head -n 20 transaction.csv" } ]
single
head
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From session.txt, count the lines." }, { "role": "assistant", "content": "cat session.txt | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many times each line appears in credentials.txt, most frequent first." }, { "role": "assistant", "content": "sort credentials.txt | uniq -c | sort -nr" ...
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "list only the .js files in tmp" }, { "role": "assistant", "content": "ls tmp | grep '\\.js$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given server.log, count each unique line, most common first." }, { "role": "assistant", "content": "cat server.log | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .sh files in /usr/local/bin" }, { "role": "assistant", "content": "ls /usr/local/bin | grep '\\.sh$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read request.yaml, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat request.yaml | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From archive.log, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat archive.log | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read account.json, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat account.json | tr 'a-z' 'A-Z...
pipeline
tr
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Check if event.xml exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f event.xml ] && cat event.xml || echo 'no...
pipeline
chain
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take notes.yaml and count each unique line, most common first." }, { "role": "assistant", "content": "cat notes.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": "Archive src and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - src | ssh jenkins@db01.exampl...
pipeline
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check if index.yaml exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f index.yaml ] && cat index.yaml || echo 'not found'" } ]
pipeline
chain
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .jpg files in media" }, { "role": "assistant", "content": "ls media | grep '\\.jpg$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Archive uploads and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - uploads | ssh backup@www.internal 'cat > /bac...
pipeline
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Archive images and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - images | ssh backup@app01.internal 'cat > /backup/images.tar.gz'" } ]
pipeline
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read transaction.yaml, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat transaction.ya...
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given backup.txt, count each unique line, most common first." }, { "role": "assistant", "content": "cat backup.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 inventory.json, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat inventory.json | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take data.log and count each unique line, most common first." }, { "role": "assistant", "content": "cat data.log | 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 product.json, show the last 15 lines." }, { "role": "assistant", "content": "cat product.json | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how many times each line appears in config.csv, most frequent first." }, { "role": "assistant", "content": "sort config.csv | uniq -c | sort -nr" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read notes.yaml, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat notes.yaml | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given results.txt, count each unique line, most common first." }, { "role": "assistant", "content": "cat results.txt | 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": "Bump process 1979 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 1979" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Check if report.json exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f report.json ] && cat report.json || ec...
pipeline
chain
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Archive public and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - public | ssh redis@db02.lo...
pipeline
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given auth.yaml, convert everything to uppercase." }, { "role": "assistant", "content": "cat auth.yaml | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Archive logs and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - logs | ssh ubuntu@8.8.8.8 'c...
pipeline
tar
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given schema.txt, count each unique line, most common first." }, { "role": "assistant", "content": "cat schema.txt | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From release.yaml, count each unique line, most common first." }, { "role": "assistant", "content": "cat release.yaml | sort | uniq -c | sort -nr" }...
pipeline
uniq
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Take backup.tsv and convert everything to uppercase." }, { "role": "assistant", "content": "cat backup.tsv | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "From error.conf, convert everything to uppercase." }, { "role": "assistant", "content": "cat error.conf | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take error.yaml and count each unique line, most common first." }, { "role": "assistant", "content": "cat error.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": "Given debug.tsv, show the last 15 lines." }, { "role": "assistant", "content": "cat debug.tsv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the unique sorted lines of profile.yaml." }, { "role": "assistant", "content": "cat profile.yaml | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take inventory.json and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat inventory.json | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take inventory.tsv and count each unique line, most common first." }, { "role": "assistant", "content": "cat inventory.tsv | 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 results.csv, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat results.csv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Take release.txt and convert everything to uppercase." }, { "role": "assistant", "content": "cat release.txt | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "get the 5 most common words in payment.json" }, { "role": "assistant", "content": "cat payment.json | tr ' ' '\\n' | sort | uniq -c | sort -nr | head -n 5" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Check if output.jpg exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f output.jpg ] && cat output.jpg || echo 'not found'" ...
pipeline
chain
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From migration.json, show the last 15 lines." }, { "role": "assistant", "content": "cat migration.json | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take access.conf and count the lines." }, { "role": "assistant", "content": "cat access.conf | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read customer.log, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat customer.log | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From summary.conf, count each unique line, most common first." }, { "role": "assistant", "content": "cat summary.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": "Take migration.conf and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat migration.conf | sort -u" } ]
pipeline
sort
[ { "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 request.yaml, most frequent first." }, { "role": "assistant", "content": "sort request.yaml | uniq -c |...
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read profile.md, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat profile.md | sort | uniq -...
pipeline
uniq
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "On the file results.yaml, determine what kind of file it is." }, { "role": "assistant", "content": "file results.yaml" } ]
single
file
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read event.csv, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat event.csv | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given auth.tsv, count each unique line, most common first." }, { "role": "assistant", "content": "cat auth.tsv | sort | uniq -c | sort -nr" } ...
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Check if manifest.html exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f manifest.html ] && cat manifest.html || echo 'not ...
pipeline
chain
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Take debug.ini and count each unique line, most common first." }, { "role": "assistant", "content": "cat debug.ini | sort | uniq -c | sort -nr" ...
pipeline
uniq
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Take payment.tsv and count the lines." }, { "role": "assistant", "content": "cat payment.tsv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Please show just the first line in credentials.md." }, { "role": "assistant", "content": "head -n 1 credentials.md" } ]
single
head
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given customer.yaml, show the last 15 lines." }, { "role": "assistant", "content": "cat customer.yaml | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From customer.csv, count the lines." }, { "role": "assistant", "content": "cat customer.csv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From migration.txt, convert everything to uppercase." }, { "role": "assistant", "content": "cat migration.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": "get the 5 most common words in customer.tsv" }, { "role": "assistant", "content": "cat customer.tsv | 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 product.conf, show the last 15 lines." }, { "role": "assistant", "content": "cat product.conf | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read payment.json, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat payment.json | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read access.conf, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat access.conf | tr 'a-z' 'A-Z'"...
pipeline
tr
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take results.tsv and count each unique line, most common first." }, { "role": "assistant", "content": "cat results.tsv | sort | uniq -c | sort -...
pipeline
uniq
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From customer.conf, show the last 15 lines." }, { "role": "assistant", "content": "cat customer.conf | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read product.json, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat product.json | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if migration.txt exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f migration.txt ] && cat migrati...
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check if order.gz exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f order.gz ] && cat order.gz || echo 'not found'" } ]
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Given session.conf, show the last 15 lines." }, { "role": "assistant", "content": "cat session.conf | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Archive artifacts and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - artifacts | ssh nginx@monitor.example.com 'cat > /backup/artifacts.tar.gz'...
pipeline
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given credentials.tsv, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat credentials.tsv | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "get the 5 most common words in event.csv" }, { "role": "assistant", "content": "cat event.csv | 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": "Read release.ini, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat release.ini | tr 'a-z' 'A-Z'"...
pipeline
tr