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": "Show the subtree of processes under PID 1579." }, { "role": "assistant", "content": "pstree -p 1579" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the unique sorted lines of session.txt." }, { "role": "assistant", "content": "cat session.txt | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display the ancestors of process 8888 as a tree." }, { "role": "assistant", "content": "pstree -s 8888" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a script that retries a curl to https://auth.service.io/health up to 6 times, sleeping 2s between attempts." }, { "role": "assistant", "con...
script
curl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From profile.tsv, count each unique line, most common first." }, { "role": "assistant", "content": "cat profile.tsv | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take catalog.md and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat catalog.md | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "On the file index.json, determine what kind of file it is." }, { "role": "assistant", "content": "file index.json" } ]
single
file
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "list only the .bak files in fixtures" }, { "role": "assistant", "content": "ls fixtures | grep '\\.bak$'" } ]
pipeline
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "get the 5 most common words in response.conf" }, { "role": "assistant", "content": "cat response.conf | tr ' ' '\\n' | sort | uniq -c | sort -nr | hea...
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "what's the size of data.tar.gz in bytes?" }, { "role": "assistant", "content": "stat -c '%s' data.tar.gz" } ]
single
stat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given profile.ini, count each unique line, most common first." }, { "role": "assistant", "content": "cat profile.ini | sort | uniq -c | sort -nr" } ...
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read auth.log, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat auth.log | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Archive assets and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - assets | ssh admin@mail.in...
pipeline
tar
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Archive vendor and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - vendor | ssh deploy@cache.e...
pipeline
tar
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From debug.txt, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat debug.txt | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given auth.md, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat auth.md | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read export.ini, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat export.ini | sort | u...
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From users.yaml, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat users.yaml | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the ancestors of process 4042 as a tree." }, { "role": "assistant", "content": "pstree -s 4042" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From summary.md, convert everything to uppercase." }, { "role": "assistant", "content": "cat summary.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 .py files in /var/lib/mysql" }, { "role": "assistant", "content": "ls /var/lib/mysql | grep '\\.py$'" } ]
pipeline
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read request.yaml, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat request.yaml | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take debug.tsv and show the last 15 lines." }, { "role": "assistant", "content": "cat debug.tsv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a symbolic link named latest.log pointing to index.md." }, { "role": "assistant", "content": "ln -s index.md latest.log" } ]
single
ln
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list only the .pdf files in releases" }, { "role": "assistant", "content": "ls releases | grep '\\.pdf$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check if manifest.conf exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f manifest.conf ] && cat manifest.conf || echo 'not found'" } ]
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read response.md, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat response.md | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From sales.yaml, count each unique line, most common first." }, { "role": "assistant", "content": "cat sales.yaml | 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": "Count how many times each line appears in product.log, most frequent first." }, { "role": "assistant", "content": "sort product.log | uniq -c | s...
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the unique sorted lines of error.md." }, { "role": "assistant", "content": "cat error.md | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Please count the lines in event.png." }, { "role": "assistant", "content": "wc -l event.png" } ]
single
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take release.ini and show the last 15 lines." }, { "role": "assistant", "content": "cat release.ini | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read schema.log, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat schema.log | 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 unique sorted lines of manifest.conf." }, { "role": "assistant", "content": "cat manifest.conf | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Take dump.yaml and show the last 15 lines." }, { "role": "assistant", "content": "cat dump.yaml | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take users.csv and count each unique line, most common first." }, { "role": "assistant", "content": "cat users.csv | sort | uniq -c | sort -nr" ...
pipeline
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take changelog.json and convert everything to uppercase." }, { "role": "assistant", "content": "cat changelog.json | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take audit.md and count each unique line, most common first." }, { "role": "assistant", "content": "cat audit.md | 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 export.json and show the last 15 lines." }, { "role": "assistant", "content": "cat export.json | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read error.yaml, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat error.yaml | tr 'a-z' 'A-Z'" ...
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show a hex dump of the first 64 bytes of schema.tmp." }, { "role": "assistant", "content": "xxd -l 64 schema.tmp" } ]
single
xxd
[ { "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 data.yaml." }, { "role": "assistant", "content": "tr -s ' ' < data.yaml" } ]
single
tr
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "send SIGHUP to process 9782 to make it reload its config" }, { "role": "assistant", "content": "kill -HUP 9782" } ]
single
kill
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Read product.conf, then convert everything to uppercase — as a pipeline." }, { "role": "assistant", "content": "cat product.conf | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Can you write a script that retries a git fetch from origin up to 3 times, sleeping 1s between attempts?" }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nmax=3\ndela...
script
git
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given sales.ini, count the lines." }, { "role": "assistant", "content": "cat sales.ini | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From payload.csv, convert everything to uppercase." }, { "role": "assistant", "content": "cat payload.csv | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check if transaction.xml exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f transaction.xml ] && cat transaction.xml || echo 'not found'" } ]
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "list only the .sh files in modules" }, { "role": "assistant", "content": "ls modules | grep '\\.sh$'" } ]
pipeline
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "On the file debug.py, show its size, owner and permissions." }, { "role": "assistant", "content": "stat debug.py" } ]
single
stat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From schema.csv, show the last 15 lines." }, { "role": "assistant", "content": "cat schema.csv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .yaml files in reports" }, { "role": "assistant", "content": "ls reports | grep '\\.yaml$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many times each line appears in release.conf, most frequent first." }, { "role": "assistant", "content": "sort release.conf | uniq -c | sort -nr" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read dump.json, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat dump.json | sort | un...
pipeline
uniq
[ { "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 notes.csv" }, { "role": "assistant", "content": "cat notes.csv | tr ' ' '\\n' | sort | uniq -c | sort -nr | head -...
pipeline
sort
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Archive bin and pipe it over ssh to back it up on a remote host." }, { "role": "assistant", "content": "tar -czf - bin | ssh postgres@app01.local 'cat > /backup/bin.tar.gz'" } ]
pipeline
tar
[ { "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 jenkins@cache.internal 'c...
pipeline
tar
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From summary.txt, count the lines." }, { "role": "assistant", "content": "cat summary.txt | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "show only the lines in export.log that appear more than once" }, { "role": "assistant", "content": "uniq -d export.log" } ]
single
uniq
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read server.md, then sort it and drop duplicate lines — as a pipeline." }, { "role": "assistant", "content": "cat server.md | 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 auth.conf, most frequent first." }, { "role": "assistant", "content": "sort auth.conf | uniq -c | sort ...
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Given output.tsv, show the last 15 lines." }, { "role": "assistant", "content": "cat output.tsv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given build.md, convert everything to uppercase." }, { "role": "assistant", "content": "cat build.md | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "get the 5 most common words in data.yaml" }, { "role": "assistant", "content": "cat data.yaml | 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": "Count how many times each line appears in archive.tsv, most frequent first." }, { "role": "assistant", "content": "sort archive.tsv | uniq -c | sort -...
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take manifest.csv and count each unique line, most common first." }, { "role": "assistant", "content": "cat manifest.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": "Given session.csv, count each unique line, most common first." }, { "role": "assistant", "content": "cat session.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": "From sales.conf, count the lines." }, { "role": "assistant", "content": "cat sales.conf | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list only the .sh files in dist" }, { "role": "assistant", "content": "ls dist | grep '\\.sh$'" } ]
pipeline
ls
[ { "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 archive.tsv" }, { "role": "assistant", "content": "cat archive.tsv | tr ' ' '\\n' | sort | uniq -c | sort -nr | he...
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From report.md, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat report.md | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From manifest.csv, convert everything to uppercase." }, { "role": "assistant", "content": "cat manifest.csv | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From users.tsv, convert everything to uppercase." }, { "role": "assistant", "content": "cat users.tsv | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read dump.log, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat dump.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 users.txt, count each unique line, most common first." }, { "role": "assistant", "content": "cat users.txt | sort | uniq -c | sort -nr" }...
pipeline
uniq
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From archive.yaml, show the last 15 lines." }, { "role": "assistant", "content": "cat archive.yaml | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "get the 5 most common words in summary.csv" }, { "role": "assistant", "content": "cat summary.csv | tr ' ' '\\n' | sort | uniq -c | sort -nr | head -n...
pipeline
sort
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the unique sorted lines of export.csv." }, { "role": "assistant", "content": "cat export.csv | sort | uniq" } ]
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take config.yaml and show the last 15 lines." }, { "role": "assistant", "content": "cat config.yaml | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many times each line appears in changelog.txt, most frequent first." }, { "role": "assistant", "content": "sort changelog.txt | uniq -c | sort -nr" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From payment.ini, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat payment.ini | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if dump.xml exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f dump.xml ] && cat dump.xml || echo ...
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From catalog.yaml, count each unique line, most common first." }, { "role": "assistant", "content": "cat catalog.yaml | 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": "count the bytes in profile.log" }, { "role": "assistant", "content": "wc -c profile.log" } ]
single
wc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Check if export.json exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f export.json ] && cat export.json || echo 'not found'...
pipeline
chain
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "show only the lines in invoice.tsv that appear more than once" }, { "role": "assistant", "content": "uniq -d invoice.tsv" } ]
single
uniq
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "get the 5 most common words in access.log" }, { "role": "assistant", "content": "cat access.log | tr ' ' '\\n' | sort | uniq -c | sort -nr | hea...
pipeline
sort
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Check if transaction.jpg exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f transaction.jpg ] && cat transacti...
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From error.tsv, show the last 15 lines." }, { "role": "assistant", "content": "cat error.tsv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Given notes.tsv, show the last 15 lines." }, { "role": "assistant", "content": "cat notes.tsv | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From export.tsv, count each unique line, most common first." }, { "role": "assistant", "content": "cat export.tsv | sort | uniq -c | sort -nr" } ]
pipeline
uniq
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Check if server.png exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f server.png ] && cat server.png || echo ...
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Ping db02.service.io four times and stop." }, { "role": "assistant", "content": "ping -c 4 db02.service.io" } ]
single
ping
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given migration.yaml, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat migration.yaml | sort -u" } ]
pipeline
sort
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Process all .old files under /var/lib/app with gzip using 8 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefai...
script
xargs
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From release.md, show the last 15 lines." }, { "role": "assistant", "content": "cat release.md | tail -n 15" } ]
pipeline
tail
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take settings.tsv and count each unique line, most common first." }, { "role": "assistant", "content": "cat settings.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": "Given archive.txt, count the lines." }, { "role": "assistant", "content": "cat archive.txt | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "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 dave@web01.loc...
pipeline
tar
[ { "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 data.tsv, most frequent first." }, { "role": "assistant", "content": "sort data.tsv | uniq -c | sort -n...
pipeline
sort