prompt
stringlengths
6
157
response
stringlengths
1
147
save a commit message for /srv/svc-01482
git -C /srv/svc-01482 commit -m 'chore: update config' --signoff > /tmp/svc-01482.out
find files under /srv/svc-01483
find /srv/svc-01483 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | tee /tmp/svc-01483.out
check path selection for svc-01484.example.com
ip route get svc-01484.example.com from 10.20.6.235 | fold -w 120
clean up selected files in /srv/svc-01485
find /srv/svc-01485 -type f -name '*.gz' -mtime +30 -exec gzip {} + | sort
locate matching files in /srv/svc-01486
find /srv/svc-01486 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | sed 's/^/ /'
inspect recent changes in /srv/svc-01487
git -C /srv/svc-01487 log --graph --oneline -n 20 --grep='fix' | grep -E '^[^#]'
display docker container details for svc-01488
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-01488' | sort -u
search the svc-01489 directory tree
find /srv/svc-01489 -mindepth 1 -type f -name '*.conf' -exec ls -lh {} + 2>/dev/null
count cron jobs for svc-01490
crontab -l | grep svc-01490 | tail -n 20 | cat
locate matching files in /srv/svc-01491
find /srv/svc-01491 -mindepth 1 -type f -name '*.log' -delete | sort -u
scan configuration files for svc-01492
grep -n -A3 -B3 '^#' /etc/svc-01492/config.ini | sed -n '1,20p'
query JSON data for svc-01493
jq -c '.users[] | select(.active == true) | .email' /srv/svc-01493/health.json | awk '{print $1}'
filter JSON records for svc-01494
jq -S '.status == "ok"' /srv/svc-01494/health.json | tail -n 20
clean up selected files in /srv/svc-01495
find /srv/svc-01495 -maxdepth 2 -type f -name '*.json' -print | wc -l
query journal history for svc-01496
journalctl -u svc-01496.service --since '24 hours ago' -n 100 -f | tr -s ' '
inspect recent changes in /srv/svc-01497
git -C /srv/svc-01497 log --oneline -n 20 --since='1 week ago' | cat
show git status for /srv/svc-01498
git -C /srv/svc-01498 status --long --show-stash --untracked-files=all | awk '{print $2}'
inspect systemd unit state for svc-01499
systemctl enable --now svc-01499.service --no-pager | head -n 50
query systemd status for svc-01500
systemctl restart svc-01500.service --no-pager | awk '{print $1}'
show pods for svc-01501
kubectl get pods -n svc-01501 --field-selector=status.phase=Running | sort
list matching paths under /srv/svc-01502
find /srv/svc-01502 -type d -name '*.conf' -mtime +30 -print >> /tmp/svc-01502.out
show running containers for svc-01503
docker ps --latest --format '{{.Names}}' --filter 'label=app=svc-01503' | head -n 50
filter log content for svc-01504
grep -n -A3 -B3 'TODO' /srv/svc-01504 --include='*.yaml' | sort -u
clean up selected files in /srv/svc-01505
find /srv/svc-01505 -type l -name '*.json' -mtime +7 -print | tac
locate matching files in /srv/svc-01506
find /srv/svc-01506 -type f -name '*.json' -size +50M -delete 2>&1 | tee /tmp/svc-01506.log
scan configuration files for svc-01507
grep -v 'TODO' /srv/svc-01507
search text for svc-01508
grep -n -A3 -B3 'timeout' /var/log/svc-01508.log --include='*.py' | tee /tmp/svc-01508.out
filter log content for svc-01509
grep -Rn 'TODO' /srv/svc-01509 --exclude-dir=vendor | grep -E '^[^#]'
clean up selected files in /srv/svc-01510
find /srv/svc-01510 -maxdepth 2 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tac
locate matching files in /srv/svc-01511
find /srv/svc-01511 -type l -name '*.gz' -newermt '1 day ago' -delete 2>&1
list matching paths under /srv/svc-01512
find /srv/svc-01512 -type d -name '*.log' -size +10M -exec gzip {} + | awk '{print $2}'
find files under /srv/svc-01513
find /srv/svc-01513 -type f -name '*.gz' -newermt '1 day ago' -print | head -n 5
filter JSON records for svc-01514
jq -r '.users[] | select(.active == true) | .email' /srv/svc-01514/jobs.json 2>&1
count matches in svc-01515 data
grep -c 'secret' /etc/svc-01515 | tee -a /tmp/svc-01515.log
locate matching files in /srv/svc-01516
find /srv/svc-01516 -mindepth 1 -type f -empty -size +10M -exec ls -lh {} + > /tmp/svc-01516.out
scan configuration files for svc-01517
grep -Rn 'WARN' /var/log/svc-01517.log --include='*.yaml' | grep -v '^#'
query JSON data for svc-01518
jq -c '.services | keys[]' /srv/svc-01518/jobs.json | paste -sd, -
filter log content for svc-01519
grep -n -A3 -B3 'TODO' /srv/svc-01519 --exclude-dir=vendor 2>&1 | tee /tmp/svc-01519.log
compress application files for svc-01520
tar -czf /backup/svc-01520-$(date +%F).tar.gz -C /srv svc-01520 | head -n 5
locate matching files in /srv/svc-01521
find /srv/svc-01521 -type d -name '*.json' -size +10M -exec ls -lh {} + >> /tmp/svc-01521.out
scan configuration files for svc-01522
grep -v 'TODO' /srv/svc-01522 --include='*.go' | head -n 10
show git status for /srv/svc-01523
git -C /srv/svc-01523 status --long --branch --untracked-files=all | nl -ba
restart svc-01524 by signaling its workers
pkill -TERM -x svc-01524 | cut -d, -f1
clean up selected files in /srv/svc-01525
find /srv/svc-01525 -type l -name '*.json' -newermt '1 day ago' -print | head -n 5
query systemd status for svc-01526
systemctl show svc-01526.timer --no-block | tr -s ' '
inspect systemd unit state for svc-01527
systemctl status svc-01527.timer | head -n 5
find files under /srv/svc-01528
find /srv/svc-01528 -type d -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
filter log content for svc-01529
grep -v 'ERROR' /var/log/svc-01529.log --include='*.yaml' | sort -nr
process log fields for svc-01530
awk -F'\t' 'NR % 100 == 0 {print NR, $0}' /var/log/svc-01530/app.log | grep -i warn
inspect systemd unit state for svc-01531
systemctl stop svc-01531.socket --no-pager | head -n 50
assign svc-01532 files to the service user
chown --reference=/etc/passwd /etc/svc-01532/shadow | uniq
query JSON data for svc-01533
jq -r '.items[] | .name' /srv/svc-01533/config.json | grep -i error
filter JSON records for svc-01534
jq -r '.items[] | .name' /srv/svc-01534/config.json 2>&1
print a git log summary for /srv/svc-01535
git -C /srv/svc-01535 log --name-status -n 10 --author='deploy' | grep -E '^[^#]'
locate matching files in /srv/svc-01536
find /srv/svc-01536 -mindepth 1 -type f -name '*.conf' -size +50M -delete | column -t
list matching paths under /srv/svc-01537
find /srv/svc-01537 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | uniq -c
show the diff in /srv/svc-01538
git -C /srv/svc-01538 diff --stat HEAD~1..HEAD -- || true
search the svc-01539 directory tree
find /srv/svc-01539 -type d -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
validate JSON status for svc-01540
jq '.services | keys[]' /srv/svc-01540/users.json | nl -ba
locate matching files in /srv/svc-01541
find /srv/svc-01541 -mindepth 1 -type f -name '*.log' -exec gzip {} + | sed 's/^/ /'
list matching paths under /srv/svc-01542
find /srv/svc-01542 -maxdepth 2 -type f -name '*.gz' -mtime +30 -print | cat
find files under /srv/svc-01543
find /srv/svc-01543 -maxdepth 2 -type f -name '*.tmp' -size +10M -delete > /tmp/svc-01543.out
filter log content for svc-01544
grep -Rn 'FIXME' /srv/svc-01544 --exclude-dir=vendor | cut -d, -f1
clean up selected files in /srv/svc-01545
find /srv/svc-01545 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + 2>/dev/null
locate matching files in /srv/svc-01546
find /srv/svc-01546 -type l -name '*.gz' -delete | sort -nr
pretty-print JSON for svc-01547
jq -S 'map(select(.status == "failed")) | length' /srv/svc-01547/config.json | tee /tmp/svc-01547.out
find files under /srv/svc-01548
find /srv/svc-01548 -type l -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | rev
filter JSON records for svc-01549
jq -S 'map(select(.status == "failed")) | length' /srv/svc-01549/users.json | sort -u
diagnose routing to svc-01550.example.com
traceroute -n -w 2 svc-01550.example.com | tail -n 5
locate matching files in /srv/svc-01551
find /srv/svc-01551 -maxdepth 2 -type f -name '*.gz' -size +50M -delete | awk '{print $2}'
list matching paths under /srv/svc-01552
find /srv/svc-01552 -mindepth 1 -type f -empty -size +50M -print 2>&1 | tee /tmp/svc-01552.log
show the diff in /srv/svc-01553
git -C /srv/svc-01553 diff --stat origin/main...HEAD | awk '{print $2}'
check changed files in /srv/svc-01554
git -C /srv/svc-01554 status --long | uniq -c
validate JSON status for svc-01555
jq -c '.services | keys[]' /srv/svc-01555/data.json | paste -sd, -
display docker container details for svc-01556
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=exited' | paste -sd, - | tee /tmp/svc-01556.out | head -n 20
create a backup tarball for svc-01557
tar -tzf /backup/svc-01557.tar.gz | head -n 20 | sort
list svc-01558 account details
id -a svc-01558 | sed -n '1,20p'
search the svc-01559 directory tree
find /srv/svc-01559 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
clean up selected files in /srv/svc-01560
find /srv/svc-01560 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + 2>&1 | tee /tmp/svc-01560.log
find matching lines for svc-01561
grep -RIn 'timeout' /var/log/svc-01561.log --exclude='*.min.js' >> /tmp/svc-01561.out
list matching paths under /srv/svc-01562
find /srv/svc-01562 -type l -name '*.log' -size +50M -exec ls -lh {} + | sort -u
read journal entries for svc-01563
journalctl -u svc-01563.service --since '1 hour ago' -n 100 2>&1
check changed files in /srv/svc-01564
git -C /srv/svc-01564 status --long --show-stash | sort -u
count matches in svc-01565 data
grep -c '^#' /etc/svc-01565/config.ini --include='*.py' | tail -n 5
count cron jobs for svc-01566
crontab -l | grep svc-01566 | head -n 10 | cat
inspect groups for svc-01567
id -nG svc-01567 | cut -d: -f1
show recent commits in /srv/svc-01568
git -C /srv/svc-01568 log --stat -n 50 --all | sort -u
display the commit log for /srv/svc-01569
git -C /srv/svc-01569 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | wc -l
clean up selected files in /srv/svc-01570
find /srv/svc-01570 -type l -name '*.conf' -size +10M -print | uniq -c
locate matching files in /srv/svc-01571
find /srv/svc-01571 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
find duplicate values for svc-01572
uniq -f 1 /var/log/svc-01572.log >> /tmp/svc-01572.out
select fields from svc-01573 files
cut -c1-20 /var/log/svc-01573.log | fold -w 120
search the svc-01574 directory tree
find /srv/svc-01574 -type d -name '*.tmp' -mtime +7 -exec ls -lh {} + | nl -ba
clean up selected files in /srv/svc-01575
find /srv/svc-01575 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | paste -sd, -
find matching lines for svc-01576
grep -n -A3 -B3 'FIXME' /srv/svc-01576 --include='*.yaml' | paste -sd, -
inspect recent changes in /srv/svc-01577
git -C /srv/svc-01577 log --name-status -n 10 | cut -d: -f1
show the diff in /srv/svc-01578
git -C /srv/svc-01578 diff --check HEAD~1 src/ | grep -E '^[^#]'
filter log content for svc-01579
grep -Ril 'timeout' /var/log/svc-01579.log --include='*.go' | awk '{print $2}'
print a git log summary for /srv/svc-01580
git -C /srv/svc-01580 log --stat -n 50 --all | sort -k2
locate matching files in /srv/svc-01581
find /srv/svc-01581 -type f -name '*.tmp' -exec ls -lh {} + | sed 's/^/ /'