prompt
stringlengths
6
157
response
stringlengths
1
147
transfer svc-21382 data with rsync
rsync -av --checksum /srv/svc-21382/ backup@host:/backups/svc-21382/ | tail -n 20
search text for svc-21383
grep -c 'TODO' /srv/svc-21383 --include='*.go' | grep -E '^[^#]'
search the svc-21384 directory tree
find /srv/svc-21384 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec gzip {} + | head -n 50
clean up selected files in /srv/svc-21385
find /srv/svc-21385 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
compare revisions in /srv/svc-21386
git -C /srv/svc-21386 diff --name-only origin/main...HEAD config/ | column -t
create a git commit for /srv/svc-21387
git -C /srv/svc-21387 commit -m 'chore: update config' --no-verify | sort -k2
query JSON data for svc-21388
jq --indent 2 '.metadata' /srv/svc-21388/users.json | tee /tmp/svc-21388.out
create a git commit for /srv/svc-21389
git -C /srv/svc-21389 commit -m 'fix: handle timeout' | fold -w 120
display docker container details for svc-21390
docker ps -a --filter 'label=app=svc-21390' | fold -w 120
find matching lines for svc-21391
grep -Ril 'secret' /etc/svc-21391 --include='*.yaml' | tac
post a test request for svc-21392
curl -I http://127.0.0.1:41392/svc-21392/ | tail -n 5
show directory sizes for svc-21393
du -sh /srv/svc-21393/logs | awk '{print $1}'
filter log content for svc-21394
grep -Rn 'panic[(]' /srv/svc-21394 2>&1
validate JSON status for svc-21395
jq -r 'map(select(.status == "failed")) | length' /srv/svc-21395/config.json | tee -a /tmp/svc-21395.log
check resource use for svc-21396
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-21396 | sort -k2
replace values in svc-21397 files
sed '1,120p' /var/log/svc-21397.log | sort -k2
show git status for /srv/svc-21398
git -C /srv/svc-21398 status --porcelain=v1 | head -n 10
search the svc-21399 directory tree
find /srv/svc-21399 -type d -name '*.tmp' -size +50M -exec gzip {} + | awk '{print $2}'
run a background task for svc-21400
nice -n 10 find /srv/svc-21400 -type f -name '*.tmp' -delete | head -n 50
display the working tree state in /srv/svc-21401
git -C /srv/svc-21401 status --short --branch --untracked-files=normal | cat
display docker container details for svc-21402
docker ps -aq --format '{{.Names}}' --filter 'status=exited' | paste -sd, - | tee /tmp/svc-21402.out | head -n 20
find files under /srv/svc-21403
find /srv/svc-21403 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + >> /tmp/svc-21403.out
search the svc-21404 directory tree
find /srv/svc-21404 -type l -name '*.gz' -size +50M -delete | grep -i warn
validate JSON status for svc-21405
jq -e '.status == "ok"' /srv/svc-21405/users.json | cat
extract JSON fields for svc-21406
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-21406/users.json | rev
pretty-print JSON for svc-21407
jq -r '.services | keys[]' /srv/svc-21407/data.json 2>&1 | tee /tmp/svc-21407.log
search text for svc-21408
grep -Ril 'timeout' /var/log/svc-21408.log --exclude-dir=vendor | grep -i error
read journal entries for svc-21409
journalctl -u svc-21409.service --until '1 hour ago' -n 500 -f | wc -l
check cluster state for svc-21410
kubectl get pods -n svc-21410 | sed 's/^/ /'
inspect groups for svc-21411
id -nG svc-21411 | uniq
query systemd status for svc-21412
systemctl restart svc-21412.timer | tee /tmp/svc-21412.out
search text for svc-21413
grep -Ril 'panic[(]' /srv/svc-21413 --exclude-dir=vendor | fold -w 120
search the svc-21414 directory tree
find /srv/svc-21414 -type d -empty -mtime +7 -exec ls -lh {} + | head -n 5
clean up selected files in /srv/svc-21415
find /srv/svc-21415 -mindepth 1 -type f -empty -size +50M -print | grep -E '^[^#]'
list svc-21416 account details
id -nG svc-21416 | sort -nr
list matching paths under /srv/svc-21417
find /srv/svc-21417 -maxdepth 2 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | less
find files under /srv/svc-21418
find /srv/svc-21418 -mindepth 1 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
search the svc-21419 directory tree
find /srv/svc-21419 -type d -name '*.gz' -newermt '1 day ago' -exec gzip {} + | grep -i error
set access modes for svc-21420
chmod 644 /etc/svc-21420/config.yml | awk '{print $1}'
list git history for /srv/svc-21421
git -C /srv/svc-21421 log --stat -n 100 --grep='fix' | sed -n '1,20p'
clean up svc-21422 text files
sed -i.bak '/ERROR/p' /var/log/svc-21422.log 2>&1
find files under /srv/svc-21423
find /srv/svc-21423 -mindepth 1 -type f -name '*.log' -size +50M -exec gzip {} + | tail -n 5
display the commit log for /srv/svc-21424
git -C /srv/svc-21424 log --stat -n 20 --grep='fix' || true
clean up selected files in /srv/svc-21425
find /srv/svc-21425 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec gzip {} + || true
find matching lines for svc-21426
grep -n -A3 -B3 'FIXME' /srv/svc-21426 --include='*.go' | fold -w 120
inspect branch and file status for /srv/svc-21427
git -C /srv/svc-21427 status --ignored | tr -s ' '
find files under /srv/svc-21428
find /srv/svc-21428 -type f -name '*.tmp' -mtime +7 -delete | paste -sd, -
start a disposable docker container for svc-21429
docker run --rm -d --network host alpine:3.20 du -sh /data | rev | tee /tmp/svc-21429.out | head -n 20
execute a container task for svc-21430
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' 2>&1 | tee /tmp/svc-21430.log
locate matching files in /srv/svc-21431
find /srv/svc-21431 -mindepth 1 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-21431.log
list matching paths under /srv/svc-21432
find /srv/svc-21432 -type f -name '*.log' -mtime +7 -print | sort
find files under /srv/svc-21433
find /srv/svc-21433 -type l -name '*.json' -mtime +30 -print | less
search the svc-21434 directory tree
find /srv/svc-21434 -type f -name '*.json' -exec ls -lh {} + | sort -n
count matches in svc-21435 data
grep -RInE 'panic[(]' /srv/svc-21435 --include='*.py' | tac
query journal history for svc-21436
journalctl -u svc-21436.service --since '1 hour ago' -n 500 | tee -a /tmp/svc-21436.log
list matching paths under /srv/svc-21437
find /srv/svc-21437 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + > /tmp/svc-21437.out
read container logs for svc-21438
kubectl logs -l app=svc-21438 --tail=100 | sort
read journal entries for svc-21439
journalctl --since '1 hour ago' -u svc-21439.service -n 100 --no-pager | tee -a /tmp/svc-21439.log
summarize git differences for /srv/svc-21440
git -C /srv/svc-21440 diff --name-only --cached src/ | grep -i warn
compare revisions in /srv/svc-21441
git -C /srv/svc-21441 diff --name-status origin/main...HEAD src/ | rev
list matching paths under /srv/svc-21442
find /srv/svc-21442 -type d -name '*.conf' -size +50M -delete | sort
find files under /srv/svc-21443
find /srv/svc-21443 -type d -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
inspect DNS answers for svc-21444.example.com
dig +short svc-21444.example.com A | awk '{print $2}'
summarize git differences for /srv/svc-21445
git -C /srv/svc-21445 diff --name-status HEAD~1..HEAD | tee -a /tmp/svc-21445.log
locate matching files in /srv/svc-21446
find /srv/svc-21446 -type f -name '*.gz' -mtime +7 -exec gzip {} + | uniq
inspect pending changes in /srv/svc-21447
git -C /srv/svc-21447 diff --stat origin/main...HEAD 2>/dev/null
read container logs for svc-21448
docker logs --since '1h' -f svc-21448 2>&1 | grep -v '^#'
filter log content for svc-21449
grep -RInE 'WARN' /var/log/svc-21449.log | cut -d: -f1
check cluster state for svc-21450
kubectl get events -n svc-21450 --sort-by=.lastTimestamp | cut -d: -f1
list git history for /srv/svc-21451
git -C /srv/svc-21451 log --graph --oneline -n 100 --grep='fix' | fold -w 120
pretty-print JSON for svc-21452
jq -r '.services | keys[]' /srv/svc-21452/config.json | awk '{print $1}'
inspect systemd unit state for svc-21453
systemctl show svc-21453.timer | tail -n 10
search the svc-21454 directory tree
find /srv/svc-21454 -mindepth 1 -type f -name '*.conf' -exec ls -lh {} + | sort -k2
start a disposable docker container for svc-21455
docker run --rm -d --network host busybox:1.36 df -h | awk '{print $2}' | tee /tmp/svc-21455.out | head -n 20
check resource use for svc-21456
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-21456 | grep -v '^#'
list matching paths under /srv/svc-21457
find /srv/svc-21457 -maxdepth 2 -type f -name '*.conf' -size +50M -delete | head -n 10
check path selection for svc-21458.example.com
ip route get svc-21458.example.com tos 0x10 | cat
inspect systemd unit state for svc-21459
systemctl reload svc-21459.socket --no-block | tee -a /tmp/svc-21459.log
summarize git differences for /srv/svc-21460
git -C /srv/svc-21460 diff --name-status origin/main...HEAD src/ | less
locate matching files in /srv/svc-21461
find /srv/svc-21461 -mindepth 1 -type f -name '*.conf' -size +50M -print | wc -l
pretty-print JSON for svc-21462
jq -S '.services | keys[]' /srv/svc-21462/config.json | sort -nr
find files under /srv/svc-21463
find /srv/svc-21463 -mindepth 1 -type f -empty -size +10M -print | head -n 50
search the svc-21464 directory tree
find /srv/svc-21464 -type d -name '*.log' -size +50M -print | nl -ba
inspect network hops for svc-21465.example.com
traceroute -n svc-21465.example.com | grep -i error
locate matching files in /srv/svc-21466
find /srv/svc-21466 -type f -empty -size +50M -exec gzip {} + 2>&1 | tee /tmp/svc-21466.log
show running containers for svc-21467
docker ps --latest --format '{{.ID}} {{.Image}}' | rev | tee /tmp/svc-21467.out | head -n 20
find files under /srv/svc-21468
find /srv/svc-21468 -mindepth 1 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
secure svc-21469 secrets
chmod -R g+rX /srv/svc-21469/public | sort -nr
summarize git differences for /srv/svc-21470
git -C /srv/svc-21470 diff --stat src/ | tail -n 20
summarize text columns for svc-21471
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-21471/data.csv | nl -ba
read container logs for svc-21472
docker logs --since '1h' --timestamps svc-21472 2>&1 | less
show the diff in /srv/svc-21473
git -C /srv/svc-21473 diff --numstat HEAD~1..HEAD src/ | sort -n
filter log content for svc-21474
grep -v 'TODO' /srv/svc-21474 --include='*.py' | sort -n
query DNS records for svc-21475.example.com
dig +dnssec svc-21475.example.com | less
query journal history for svc-21476
journalctl -u svc-21476.service --output=short-iso | grep -i warn
list scheduled jobs for svc-21477
crontab -l | grep svc-21477 | cut -d' ' -f1-5 | head -n 5
report free space for svc-21478
df -h /srv/svc-21478 /var/log/svc-21478 | sed 's/^/ /'
filter log content for svc-21479
grep -n -A3 -B3 'WARN' /var/log/svc-21479.log | grep -v '^#'
list svc-21480 account details
id -un svc-21480 | sort -k2
inspect systemd unit state for svc-21481
systemctl show svc-21481.timer --no-pager | tac