messages
listlengths
2
58
source
stringclasses
14 values
source_dataset
stringclasses
2 values
source_config
stringclasses
2 values
source_split
stringclasses
1 value
source_row
int64
0
1.04M
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
⌀
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me the disk usage of /etc/nginx broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 /etc/nginx 2>/dev/nu...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,400
pipeline
du
d366ca6d6184e03b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me the disk usage of /etc/nginx broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 /etc/n...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,401
pipeline
du
d366ca6d6184e03b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From settings.log, count the lines." }, { "role": "assistant", "content": "wc -l < settings.log" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,402
single
wc
f9b5825f780f25ea
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write me a script that retries a curl to https://www.internal/health up to 3 times, sleeping 1s between attempts." }, { "role": "assistant", "con...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,403
script
curl
963fe05f0102e34d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a shell script that deletes files older than 5 days from /tmp, logging each removal." }, { "role": "assistant", "content": "#!/usr/bin/env...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,404
script
find
337355f11811f859
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "compress worker.log but keep the original file too" }, { "role": "assistant", "content": "gzip -k worker.log" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,405
single
gzip
a3bf6cc478983cb6
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "compress worker.log but keep the original file too" }, { "role": "assistant", "content": "gzip --keep worker.log" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,406
single
gzip
a3bf6cc478983cb6
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Help me count how many php-fpm processes are running." }, { "role": "assistant", "content": "pgrep -c php-fpm" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,407
single
pgrep
e72e97621efeff52
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Recursively make everything in build readable and writable by the owner only." }, { "role": "assistant", "content": "chmod -R 600 build" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,408
single
chmod
1f5507c69d638299
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "download https://10.0.0.5/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://10.0.0.5/list.txt | wc -l" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,409
pipeline
curl
4903ec2e1ddc8141
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show its size, owner and permissions of invoice.xml." }, { "role": "assistant", "content": "stat invoice.xml" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,410
single
stat
7bcbe4c5b42bd08b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "POST a JSON body to https://api.internal/api/users" }, { "role": "assistant", "content": "curl -X POST -H 'Content-Type: application/json' -d '{\...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,411
single
curl
e20d177688d7e7ab
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "POST a JSON body to https://api.internal/api/users" }, { "role": "assistant", "content": "curl --request POST -H 'Content-Type: application/json...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,412
single
curl
e20d177688d7e7ab
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find 'Connection refused' in api.log plus 3 lines of context around each match." }, { "role": "assistant", "content": "grep -C 3 'Connection refused' ...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,413
single
grep
be9804478bf9ba83
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "replace tabs with commas in release.csv and write to release.csv.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' release.csv > release.csv....
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,414
single
sed
f8a0ff176c05fc65
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sort event.csv and remove duplicate lines." }, { "role": "assistant", "content": "sort -u event.csv" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,415
single
sort
7832cdeec85ff005
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Sort event.csv and remove duplicate lines." }, { "role": "assistant", "content": "sort --unique event.csv" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,416
single
sort
7832cdeec85ff005
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Sort event.csv and remove duplicate lines." }, { "role": "assistant", "content": "sort event.csv | uniq" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,417
single
sort
7832cdeec85ff005
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need getopts handling for three options: -p, -d and -c; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\n...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,418
script
getopts
c0b9a92feddcb5fa
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find all .gif files under bin and delete them. (Careful: destructive.)" }, { "role": "assistant", "content": "find bin -type f -name '*.gif' -pri...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,419
pipeline
find
7704a4bc9c814b4c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "reload prometheus without a full restart" }, { "role": "assistant", "content": "sudo systemctl reload prometheus" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,420
single
systemctl
6389d91f32d2c506
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Can you write a script that retries a curl to https://api.local/health up to 5 times, sleeping 5s between attempts?" }, { "role": "assistant", "c...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,421
script
curl
075c094235a2fc39
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count the lines of event.bak." }, { "role": "assistant", "content": "wc -l event.bak" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,422
single
wc
462d2a962202ff22
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need to count 'critical' occurrences in the chronyd journal today." }, { "role": "assistant", "content": "journalctl -u chronyd --since today ...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,423
pipeline
journalctl
7e9fedd466dfb88f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need to count 'critical' occurrences in the chronyd journal today." }, { "role": "assistant", "content": "journalctl --unit chronyd --since today --no-pager | gre...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,424
pipeline
journalctl
7e9fedd466dfb88f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the running cron processes (excluding the grep itself)." }, { "role": "assistant", "content": "ps aux | grep [c]ron" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,425
pipeline
ps
c92ee61c840b19f0
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a Bash script that dumps every MySQL database into its own gzip file under /backup, keeping 10 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/bac...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,426
script
mysqldump
17240b9c4611e745
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count total lines across all .yaml files in /var/cache." }, { "role": "assistant", "content": "find /var/cache -type f -name '*.yaml' -print0 | xargs -0 cat | wc -l...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,427
pipeline
find
13aa721409ba918f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Where is the python3 binary located?" }, { "role": "assistant", "content": "which python3" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,428
single
which
a809529c4daa88e1
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Retry git fetch from origin at most 4 times with a 2-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": ...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,429
script
git
45af02231c592059
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given auth.tsv, count the lines." }, { "role": "assistant", "content": "wc -l < auth.tsv" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,430
single
wc
3130bcbc35903113
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "gzip every .log file under downloads" }, { "role": "assistant", "content": "find downloads -type f -name '*.log' -print0 | xargs -0 gzip" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,431
pipeline
find
05277f9ab5964416
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a start/stop/restart/status control script for memcached using a case statement." }, { "role": "assistant", "content": "#!/usr/bin/env bas...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,432
script
case
bd3a12560bfa0edd
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Take archive.conf and count the lines." }, { "role": "assistant", "content": "wc -l archive.conf" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,433
single
wc
87d1526259d038cb
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "send a GET request to https://api.example.org/api and show the response headers" }, { "role": "assistant", "content": "curl -I https://api.example.org/api" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,434
single
curl
1b4562b11364ef7f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "send a GET request to https://api.example.org/api and show the response headers" }, { "role": "assistant", "content": "curl --head https://api.example.org/api" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,435
single
curl
1b4562b11364ef7f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch https://db01.internal/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl -s -o /dev/null -w '%{http_code}' https://db01.internal/health" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,436
single
curl
1f6f2129267e1be0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fetch https://db01.internal/health and print only the HTTP status code." }, { "role": "assistant", "content": "curl --silent -o /dev/null -w '%{http_c...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,437
single
curl
1f6f2129267e1be0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the disk usage of build broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 build 2>/dev/null | sort -rh" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,438
pipeline
du
f7b6166add044f08
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the disk usage of build broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 build 2>/dev/null | sort -rh" ...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,439
pipeline
du
f7b6166add044f08
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Restart redis cron sshd one after another and report each result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\n...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,440
script
for
546371046f5bdd9f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 5 hottest values in column 9 of api.log (by frequency)." }, { "role": "assistant", "content": "cut -d, -f9 api.log | sort | uniq -c | sort -nr | head -n 5" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,441
pipeline
cut
72e6cf92a27e28a3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Please show the last 20 lines in auth.yaml." }, { "role": "assistant", "content": "tail -n 20 auth.yaml" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,442
single
tail
814632560c56cb5f
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Please show the last 20 lines in auth.yaml." }, { "role": "assistant", "content": "tail --lines 20 auth.yaml" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,443
single
tail
814632560c56cb5f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Please show the last 20 lines in auth.yaml." }, { "role": "assistant", "content": "tail -20 auth.yaml" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,444
single
tail
814632560c56cb5f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Copy server.html into the modules directory." }, { "role": "assistant", "content": "cp server.html modules/" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,445
single
cp
43d1e913b047cfe1
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Launch 'rsync -a /data /mnt/backup' at reduced priority (15)." }, { "role": "assistant", "content": "nice -n 15 rsync -a /data /mnt/backup" } ...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,446
single
nice
4d8f0ca217d37b5e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Report virtual memory statistics every 1 seconds, 5 times." }, { "role": "assistant", "content": "vmstat 1 5" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,447
single
vmstat
0b2459c488745525
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Copy product.zip into project only if it's newer than what's there." }, { "role": "assistant", "content": "cp -u product.zip project/" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,448
single
cp
8584e563d30ee26e
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a rotating backup: archive /data/uploads into /var/backups with xz, retain 5 copies." }, { "role": "assistant", "content": "#!/usr/bin/env bash...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,449
script
tar
4f9ebeec88276012
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "move all .py files into the media directory" }, { "role": "assistant", "content": "mv *.py media/" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,450
single
mv
380ed9209053ea76
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "extract all the 'name' fields from https://mail.example.org/api/users" }, { "role": "assistant", "content": "curl -s https://mail.example.org/api...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,451
pipeline
curl
728602ec21bf24e7
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Can you write a script that verifies the environment variables AWS_REGION, REDIS_URL and DB_PASS are all set before running?" }, { "role": "assistant", "content": "...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,452
script
env
fe51a23475862a5b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print only lines 10 through 20 of auth.txt." }, { "role": "assistant", "content": "sed -n '10,20p' auth.txt" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,453
single
sed
c3ce1e4da60fb708
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many lines in nginx-error.log match 'invalid'." }, { "role": "assistant", "content": "grep -c 'invalid' nginx-error.log" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,454
single
grep
c8f30f6db2540647
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how many lines in nginx-error.log match 'invalid'." }, { "role": "assistant", "content": "grep --count 'invalid' nginx-error.log" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,455
single
grep
c8f30f6db2540647
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many lines in nginx-error.log match 'invalid'." }, { "role": "assistant", "content": "grep 'invalid' nginx-error.log | wc -l" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,456
single
grep
c8f30f6db2540647
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow the cron journal but only show lines mentioning 'stale'." }, { "role": "assistant", "content": "journalctl -u cron -f | grep --line-buffered -i 'stale'" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,457
pipeline
journalctl
97fb1e99d6011d55
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow the cron journal but only show lines mentioning 'stale'." }, { "role": "assistant", "content": "journalctl --unit cron -f | grep --line-buffered -i 'stale'" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,458
pipeline
journalctl
97fb1e99d6011d55
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I want a cleanup script for uploads that purges .bak files older than 10 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,459
script
find
8ac63d225a48ed7a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Make a backup copy of session.zip called session.zip.bak" }, { "role": "assistant", "content": "cp session.zip session.zip.bak" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,460
single
cp
bffc3c7bec0022cb
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What are the 5 most common entries in column 4 of data.csv?" }, { "role": "assistant", "content": "cut -d, -f4 data.csv | sort | uniq -c | sort -nr | head -n 5" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,461
pipeline
cut
df98d9303ca75c4f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a script that dumps every PostgreSQL database into its own gzip file under /backup, keeping 3 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/back...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,462
script
pg_dump
3ae2b3e07450b599
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the user and group IDs for git." }, { "role": "assistant", "content": "id git" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,463
single
id
80798d5a66a34966
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a Bash script that deletes .bak files older than 60 days from /var/log and logs what it removed." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,464
script
find
1519bfab10c2dc9c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Append the current date to auth.log." }, { "role": "assistant", "content": "date >> auth.log" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,465
single
redirection
d21a344e96eb2764
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "change just the group of product.sh to users" }, { "role": "assistant", "content": "sudo chgrp users product.sh" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,466
single
chown
014b9ce541fc26d4
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What are the 10 largest subdirectories of assets?" }, { "role": "assistant", "content": "du -h assets/* 2>/dev/null | sort -rh | head -n 10" }...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,467
pipeline
du
db99b003f768fdb1
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count 'null' occurrences in the sshd journal today." }, { "role": "assistant", "content": "journalctl -u sshd --since today --no-pager | grep -c...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,468
pipeline
journalctl
29ce3ab514f05fb8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "On this box, list the top 5 remote IPs by number of connections." }, { "role": "assistant", "content": "ss -tn | awk 'NR>1 {print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head -n 5" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,469
pipeline
ss
bdde90f2556fbb02
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a preflight check that DB_HOST, PORT and AWS_REGION exist in the environment." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,470
script
env
60deb00b4e4238e0
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Move summary.pdf into the docs folder." }, { "role": "assistant", "content": "mv summary.pdf docs/" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,471
single
mv
bb3844946dd1a7a3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Edit payload.yaml in place, replacing 'https' with 'staging'." }, { "role": "assistant", "content": "sed -i 's/https/staging/g' payload.yaml" ...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,472
single
sed
62fea96a2586bcfd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "What are the 10 largest subdirectories of /etc/apache2?" }, { "role": "assistant", "content": "du -h /etc/apache2/* 2>/dev/null | sort -rh | head -n 1...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,473
pipeline
du
efcf771e2987a665
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "What are the 10 largest subdirectories of /etc/apache2?" }, { "role": "assistant", "content": "du --human-readable /etc/apache2/* 2>/dev/null | sort -...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,474
pipeline
du
efcf771e2987a665
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Set build.py to permissions 644." }, { "role": "assistant", "content": "chmod 644 build.py" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,475
single
chmod
40519d9a8c894b41
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Set build.py to permissions 644." }, { "role": "assistant", "content": "chmod u=rw,go=r build.py" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,476
single
chmod
40519d9a8c894b41
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show all currently mounted filesystems in a readable table." }, { "role": "assistant", "content": "mount | column -t" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,477
single
mount
d4d8e7c6c569ed80
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sum up the values in column 4 of inventory.csv." }, { "role": "assistant", "content": "awk '{sum+=$4} END{print sum}' inventory.csv" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,478
single
awk
bcaf7dd7c2c4819a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need a retry wrapper around connection to proxy.example.org:5432: 4 attempts, 1s apart." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nmax=4\ndelay=1\nfor attemp...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,479
script
bash
8b3e207c9ca270be
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "print lines of data.csv where column 1 is greater than 100" }, { "role": "assistant", "content": "awk '$1 > 100' data.csv" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,480
single
awk
36ffd5365266f7ba
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a shell script that requires exactly two arguments (source and destination) and errors out otherwise." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nif [ \"$...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,481
script
args
bdbc21f46ab8bb0b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Delete users.css but ask for confirmation first." }, { "role": "assistant", "content": "rm -i users.css" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,482
single
rm
e63f5ca39653fd67
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Delete users.css but ask for confirmation first." }, { "role": "assistant", "content": "rm --interactive users.css" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,483
single
rm
e63f5ca39653fd67
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I total the resident memory of all nginx processes in MB?" }, { "role": "assistant", "content": "ps -C nginx -o rss= | awk '{s+=$1} END{print s/1024 \" MB\"}...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,484
pipeline
ps
55783bde9730398d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What are the 5 largest subdirectories of scripts?" }, { "role": "assistant", "content": "du -h scripts/* 2>/dev/null | sort -rh | head -n 5" }...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,485
pipeline
du
ad5d79e8bd51ba7a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show just the first line of migration.js." }, { "role": "assistant", "content": "head -n 1 migration.js" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,486
single
head
ca599996fd0a2ae2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show just the first line of migration.js." }, { "role": "assistant", "content": "head --lines 1 migration.js" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,487
single
head
ca599996fd0a2ae2
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show just the first line of migration.js." }, { "role": "assistant", "content": "head -1 migration.js" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,488
single
head
ca599996fd0a2ae2
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a script that runs optipng on every .sh file in /var/www, 4 jobs in parallel." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/var/www\nfind \"$dir\" -ty...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,489
script
xargs
c85ef43de17b30e0
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in auth.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' auth.log | sort | uniq -c | sort -nr" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,490
pipeline
grep
5d875b0f3adeb9b1
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in auth.log." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' auth...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,491
pipeline
grep
5d875b0f3adeb9b1
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in auth.log." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' auth.log | sort | uniq -c | sort -nr" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,492
pipeline
grep
5d875b0f3adeb9b1
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need to count 'expired' occurrences in the haproxy journal today." }, { "role": "assistant", "content": "journalctl -u haproxy --since today --no-pager | grep -c 'expired'" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,493
pipeline
journalctl
7c20d5da58459d39
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to count 'expired' occurrences in the haproxy journal today." }, { "role": "assistant", "content": "journalctl --unit haproxy --since today --n...
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,494
pipeline
journalctl
7c20d5da58459d39
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "replace tabs with commas in backup.json and write to backup.json.csv" }, { "role": "assistant", "content": "sed 's/\\t/,/g' backup.json > backup.json.csv" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,495
single
sed
4271dc758cb444b1
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How big is artifacts overall?" }, { "role": "assistant", "content": "du -sh artifacts" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,496
single
du
fdfb4eb0aa237b78
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How big is artifacts overall?" }, { "role": "assistant", "content": "du -hs artifacts" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,497
single
du
fdfb4eb0aa237b78
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How big is artifacts overall?" }, { "role": "assistant", "content": "du -s -h artifacts" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,498
single
du
fdfb4eb0aa237b78
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Search app.log for lines containing 'retry'." }, { "role": "assistant", "content": "grep 'retry' app.log" } ]
bash-instruct-III-55k
Frost2o24/bash-instruct-III-55k
default
train
9,499
single
grep
091277618c1a397d