prompt
stringlengths
6
157
response
stringlengths
1
147
transfer svc-11482 data with rsync
rsync -av --include='*.conf' --exclude='*' /srv/svc-11482/ backup@host:/backups/svc-11482/ | column -t
query JSON data for svc-11483
jq -S '.users[] | select(.active == true) | .email' /srv/svc-11483/health.json | wc -l
list changed files in /srv/svc-11484
git -C /srv/svc-11484 diff --stat HEAD~1..HEAD src/ | cut -d: -f1
clean up selected files in /srv/svc-11485
find /srv/svc-11485 -mindepth 1 -type f -empty -delete | tr -s ' '
locate matching files in /srv/svc-11486
find /srv/svc-11486 -type f -name '*.gz' -mtime +7 -print | grep -i warn
select fields from svc-11487 files
cut -c1-20 /var/log/svc-11487.log | tail -n 50
find files under /srv/svc-11488
find /srv/svc-11488 -type d -empty -size +10M -delete | tail -n 10
search the svc-11489 directory tree
find /srv/svc-11489 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | head -n 5
install svc-11490 from source
make -C /srv/svc-11490 -s test || true
locate matching files in /srv/svc-11491
find /srv/svc-11491 -type f -name '*.json' -delete | tr -s ' '
read container logs for svc-11492
docker logs --tail 500 --timestamps svc-11492 2>&1 | head -n 10
find files under /srv/svc-11493
find /srv/svc-11493 -type l -name '*.json' -mtime +30 -delete | sort -k2
display the commit log for /srv/svc-11494
git -C /srv/svc-11494 log --name-status -n 100 --since='1 week ago' | uniq
clean up selected files in /srv/svc-11495
find /srv/svc-11495 -type d -name '*.tmp' -exec gzip {} + | cat
locate matching files in /srv/svc-11496
find /srv/svc-11496 -type l -name '*.json' -size +10M -print | tee -a /tmp/svc-11496.log
inspect pending changes in /srv/svc-11497
git -C /srv/svc-11497 diff --name-only --cached src/ | sort
query systemd status for svc-11498
systemctl reload svc-11498.timer --no-pager | head -n 5
search the svc-11499 directory tree
find /srv/svc-11499 -maxdepth 2 -type f -empty -size +50M -exec ls -lh {} + | cat
query systemd status for svc-11500
systemctl restart svc-11500.socket | nl -ba
show directory sizes for svc-11501
du -ah /srv/svc-11501 | sort -rh | head -n 20 2>&1 | tee /tmp/svc-11501.log
scan configuration files for svc-11502
grep -Ril '^#' /etc/svc-11502/config.ini | sed -n '1,20p'
summarize text columns for svc-11503
awk -F: '{print $1}' /etc/passwd | tee -a /tmp/svc-11503.log
filter JSON records for svc-11504
jq '.items[] | .name' /srv/svc-11504/users.json
clean up selected files in /srv/svc-11505
find /srv/svc-11505 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec gzip {} + | uniq
locate matching files in /srv/svc-11506
find /srv/svc-11506 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | head -n 20
replace values in svc-11507 files
sed -n 's/^#*Port .*/Port 31507/' /etc/svc-11507/sshd_config 2>&1
search text for svc-11508
grep -RIn 'FIXME' /srv/svc-11508 --include='*.py' | tail -n 10
search the svc-11509 directory tree
find /srv/svc-11509 -type d -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tac
summarize git differences for /srv/svc-11510
git -C /srv/svc-11510 diff --numstat HEAD~1 -- | sort -nr
locate matching files in /srv/svc-11511
find /srv/svc-11511 -type d -name '*.tmp' -mtime +30 -print | head -n 5
query systemd status for svc-11512
systemctl restart svc-11512.socket || true
query JSON data for svc-11513
jq -r 'map(select(.status == "failed")) | length' /srv/svc-11513/health.json | tail -n 10
filter JSON records for svc-11514
jq --indent 2 '.status == "ok"' /srv/svc-11514/health.json | head -n 20
create a backup tarball for svc-11515
tar -czf - /srv/svc-11515 | ssh deploy@10.20.47.16 'cat > /backup/svc-11515.tar.gz' | sort -nr
find matching lines for svc-11516
grep -c 'secret' /etc/svc-11516 --include='*.yaml' | tail -n 50
read journal entries for svc-11517
journalctl --since 'today' -n 50 --no-pager | tee /tmp/svc-11517.out | head -n 20
display docker container details for svc-11518
docker ps -a --format '{{.Names}}' --filter 'status=running' | nl -ba | tee /tmp/svc-11518.out | head -n 20
search the svc-11519 directory tree
find /srv/svc-11519 -type d -empty -mtime +30 -exec ls -lh {} + | tee -a /tmp/svc-11519.log
count matches in svc-11520 data
grep -c 'TODO' /srv/svc-11520 --exclude='*.min.js' | sed 's/^/ /'
locate matching files in /srv/svc-11521
find /srv/svc-11521 -type l -name '*.json' -mtime +30 -exec ls -lh {} + || true
count cron jobs for svc-11522
crontab -l | grep svc-11522 | cut -d' ' -f1-5 | grep -i warn
find files under /srv/svc-11523
find /srv/svc-11523 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | awk '{print $1}'
read container logs for svc-11524
kubectl logs deployment/svc-11524 --previous | uniq -c
print a git log summary for /srv/svc-11525
git -C /srv/svc-11525 log --oneline -n 10 --all 2>/dev/null
query journal history for svc-11526
journalctl --since '1 hour ago' -u svc-11526.service -n 50 | sort -u
show running containers for svc-11527
docker ps --latest --format '{{.Names}}' | cut -d: -f1 | tee /tmp/svc-11527.out | head -n 20
query JSON data for svc-11528
jq -e '.status == "ok"' /srv/svc-11528/config.json | grep -E '^[^#]'
filter log content for svc-11529
grep -n -A3 -B3 'panic[(]' /srv/svc-11529 --exclude-dir=vendor 2>&1
list repository status details in /srv/svc-11530
git -C /srv/svc-11530 status --porcelain=v1 | cat
find matching lines for svc-11531
grep -n -A3 -B3 'TODO' /srv/svc-11531 --include='*.py' | tail -n 20
pretty-print JSON for svc-11532
jq -r 'map(select(.status == "failed")) | length' /srv/svc-11532/jobs.json | sed 's/^/ /'
query JSON data for svc-11533
jq -c '.users[] | select(.active == true) | .email' /srv/svc-11533/jobs.json | sed -n '1,20p'
search the svc-11534 directory tree
find /srv/svc-11534 -type l -name '*.conf' -newermt '1 day ago' -print | tail -n 50
clean up selected files in /srv/svc-11535
find /srv/svc-11535 -maxdepth 2 -type f -name '*.tmp' -print | grep -E '^[^#]'
read container logs for svc-11536
docker logs --since '24h' -f svc-11536 2>&1 | grep -i error
scan configuration files for svc-11537
grep -v 'secret' /etc/svc-11537 --include='*.py' | grep -v '^#'
find files under /srv/svc-11538
find /srv/svc-11538 -type l -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | less
display the commit log for /srv/svc-11539
git -C /srv/svc-11539 log --name-status -n 10 --decorate | cut -d: -f1
print a git log summary for /srv/svc-11540
git -C /srv/svc-11540 log --name-status -n 100 2>&1
locate matching files in /srv/svc-11541
find /srv/svc-11541 -type d -name '*.log' -exec gzip {} + >> /tmp/svc-11541.out
run a background task for svc-11542
nice -n 10 tar -czf /backup/svc-11542.tar.gz /srv/svc-11542 | uniq
find files under /srv/svc-11543
find /srv/svc-11543 -type f -name '*.conf' -size +10M -delete | awk '{print $2}'
list changed files in /srv/svc-11544
git -C /srv/svc-11544 diff --color-words HEAD~1..HEAD -- | cut -d: -f1
read journal entries for svc-11545
journalctl -u svc-11545.service -f | head -n 20
compare revisions in /srv/svc-11546
git -C /srv/svc-11546 diff --stat HEAD~2..HEAD config/ | tail -n 20
list matching paths under /srv/svc-11547
find /srv/svc-11547 -type l -name '*.json' -mtime +7 -delete | head -n 5
find files under /srv/svc-11548
find /srv/svc-11548 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + | head -n 20
show running containers for svc-11549
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | grep -i warn | tee /tmp/svc-11549.out | head -n 20
clean up selected files in /srv/svc-11550
find /srv/svc-11550 -type l -name '*.tmp' -mtime +7 -delete | grep -v '^#'
extract JSON fields for svc-11551
jq -c '.services | keys[]' /srv/svc-11551/users.json | head -n 20
pretty-print JSON for svc-11552
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-11552/config.json >> /tmp/svc-11552.out
show the diff in /srv/svc-11553
git -C /srv/svc-11553 diff --numstat HEAD~2..HEAD src/ | tail -n 10
display the commit log for /srv/svc-11554
git -C /srv/svc-11554 log --format='%h %ad %s' --date=short -n 20 --since='1 week ago' | sed 's/^/ /'
validate JSON status for svc-11555
jq '.users[] | select(.active == true) | .email' /srv/svc-11555/config.json | sort -u
compare revisions in /srv/svc-11556
git -C /srv/svc-11556 diff --name-only origin/main...HEAD | grep -i error
list matching paths under /srv/svc-11557
find /srv/svc-11557 -type f -name '*.tmp' -print | awk '{print $2}'
find files under /srv/svc-11558
find /srv/svc-11558 -maxdepth 2 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
filter log content for svc-11559
grep -n -A3 -B3 'secret' /etc/svc-11559 --exclude-dir=vendor
count matches in svc-11560 data
grep -RIn 'panic[(]' /srv/svc-11560 | tail -n 5
locate matching files in /srv/svc-11561
find /srv/svc-11561 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
list matching paths under /srv/svc-11562
find /srv/svc-11562 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
inspect systemd unit state for svc-11563
systemctl stop svc-11563.service --no-pager | tail -n 10
read container logs for svc-11564
docker logs --tail 50 svc-11564 | grep -i error | tr -s ' '
clean up selected files in /srv/svc-11565
find /srv/svc-11565 -maxdepth 2 -type f -name '*.conf' -mtime +30 -delete | cut -d: -f1
find matching lines for svc-11566
grep -c 'timeout' /var/log/svc-11566.log --exclude-dir=vendor | sed 's/^/ /'
inspect groups for svc-11567
id -un svc-11567 | sort -u
query JSON data for svc-11568
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-11568/config.json | sort
run tests for svc-11569
make -C /srv/svc-11569 -j"$(nproc)" 2>&1
clean up selected files in /srv/svc-11570
find /srv/svc-11570 -type d -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
locate matching files in /srv/svc-11571
find /srv/svc-11571 -type f -empty -exec gzip {} + | tail -n 10
list svc-11572 account details
id -nG svc-11572 | sort -n
query JSON data for svc-11573
jq -c '.services | keys[]' /srv/svc-11573/jobs.json || true
filter log content for svc-11574
grep -c 'WARN' /var/log/svc-11574.log --exclude='*.min.js' | tee -a /tmp/svc-11574.log
validate JSON status for svc-11575
jq -c 'map(select(.status == "failed")) | length' /srv/svc-11575/data.json | uniq
display the working tree state in /srv/svc-11576
git -C /srv/svc-11576 status --porcelain=v1 --untracked-files=all | sort
inspect pending changes in /srv/svc-11577
git -C /srv/svc-11577 diff --name-status HEAD~2..HEAD | tac
query journal history for svc-11578
journalctl -u svc-11578.service --until '1 hour ago' -n 500 | paste -sd, -
search the svc-11579 directory tree
find /srv/svc-11579 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -delete | less
clean up selected files in /srv/svc-11580
find /srv/svc-11580 -type d -name '*.log' -mtime +7 -print | cat
locate matching files in /srv/svc-11581
find /srv/svc-11581 -type d -name '*.log' -exec ls -lh {} + | paste -sd, -