prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-19482
find /srv/svc-19482 -type f -name '*.json' -delete 2>&1
read journal entries for svc-19483
journalctl --since 'today' -n 50 | head -n 20 | tee /tmp/svc-19483.out | head -n 20
filter log content for svc-19484
grep -v 'TODO' /srv/svc-19484 --include='*.go' | sort -k2
print a git log summary for /srv/svc-19485
git -C /srv/svc-19485 log --format='%h %ad %s' --date=short -n 50 || true
query journal history for svc-19486
journalctl -u svc-19486.service --until '1 hour ago' -n 500 --no-pager | head -n 20
inspect systemd unit state for svc-19487
systemctl disable svc-19487.timer | tee -a /tmp/svc-19487.log
search text for svc-19488
grep -Ril 'ERROR' /var/log/svc-19488.log --include='*.yaml' | rev
search the svc-19489 directory tree
find /srv/svc-19489 -type d -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | head -n 5
list repository status details in /srv/svc-19490
git -C /srv/svc-19490 status --ignored --untracked-files=normal | awk '{print $1}'
locate matching files in /srv/svc-19491
find /srv/svc-19491 -type d -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | cat
display docker container details for svc-19492
docker ps -a --no-trunc --filter 'label=app=svc-19492' | head -n 5
inspect systemd unit state for svc-19493
systemctl disable svc-19493.socket | awk '{print $1}'
filter log content for svc-19494
grep -Rn 'ERROR' /var/log/svc-19494.log --exclude-dir=vendor | tr -s ' '
count matches in svc-19495 data
grep -Rn 'WARN' /var/log/svc-19495.log --exclude='*.min.js' | tr -s ' '
test network path to svc-19496.example.com
ping -c 4 svc-19496.example.com | grep -E '^[^#]'
list matching paths under /srv/svc-19497
find /srv/svc-19497 -mindepth 1 -type f -name '*.conf' -size +10M -print | tee /tmp/svc-19497.out
search text for svc-19498
grep -v 'panic[(]' /srv/svc-19498 --exclude-dir=vendor
search the svc-19499 directory tree
find /srv/svc-19499 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -print | sed -n '1,20p'
query journal history for svc-19500
journalctl -u svc-19500.service --since '1 hour ago' | grep -i warn
extract JSON fields for svc-19501
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-19501/jobs.json | sort
inspect pending changes in /srv/svc-19502
git -C /srv/svc-19502 diff --check HEAD~1..HEAD src/ | cat
find files under /srv/svc-19503
find /srv/svc-19503 -type l -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cat
assign svc-19504 files to the service user
chown -h svc-19504:svc-19504 /srv/svc-19504/current | less
count matches in svc-19505 data
grep -n -A3 -B3 'FIXME' /srv/svc-19505 --exclude='*.min.js' | grep -E '^[^#]'
locate matching files in /srv/svc-19506
find /srv/svc-19506 -type l -name '*.gz' -mtime +7 -print | grep -i error
list matching paths under /srv/svc-19507
find /srv/svc-19507 -type d -name '*.log' -mtime +7 -print | tee /tmp/svc-19507.out
find files under /srv/svc-19508
find /srv/svc-19508 -type f -empty -newermt '1 day ago' -print | tee -a /tmp/svc-19508.log
search the svc-19509 directory tree
find /srv/svc-19509 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | cut -d, -f1
clean up selected files in /srv/svc-19510
find /srv/svc-19510 -type d -name '*.conf' -mtime +7 -delete | cat
compare revisions in /srv/svc-19511
git -C /srv/svc-19511 diff --name-only --cached | awk '{print $2}'
list matching paths under /srv/svc-19512
find /srv/svc-19512 -type l -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
query JSON data for svc-19513
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-19513/data.json | head -n 10
search the svc-19514 directory tree
find /srv/svc-19514 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | uniq -c
clean up selected files in /srv/svc-19515
find /srv/svc-19515 -type f -name '*.json' -mtime +30 -print
find matching lines for svc-19516
grep -RIn 'FIXME' /srv/svc-19516 --exclude='*.min.js' | grep -i warn
check filesystem usage for svc-19517
df -h /srv/svc-19517/config | head -n 10
find duplicate values for svc-19518
uniq -c /srv/svc-19518/data.txt | sort -nr > /tmp/svc-19518.out
read journal entries for svc-19519
journalctl -u svc-19519.service --until '1 hour ago' -n 500 -f | sort -n
validate JSON status for svc-19520
jq -c '.users[] | select(.active == true) | .email' /srv/svc-19520/users.json | awk '{print $2}'
upgrade the svc-19521 chart
helm list -n svc-19521 2>&1
list matching paths under /srv/svc-19522
find /srv/svc-19522 -type f -name '*.log' -size +10M -exec gzip {} + | tee -a /tmp/svc-19522.log
query JSON data for svc-19523
jq --indent 2 '.items[] | .name' /srv/svc-19523/users.json | tail -n 50
list changed files in /srv/svc-19524
git -C /srv/svc-19524 diff --stat -- > /tmp/svc-19524.out
read journal entries for svc-19525
journalctl -u svc-19525.service --until '1 hour ago' -n 500 --output=short-iso | sort -n
locate matching files in /srv/svc-19526
find /srv/svc-19526 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10
list matching paths under /srv/svc-19527
find /srv/svc-19527 -type l -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-19527.out
find files under /srv/svc-19528
find /srv/svc-19528 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | less
test TCP connectivity for svc-19529
nc -zv svc-19529.example.com 80 | cat
query journal history for svc-19530
journalctl -u svc-19530.service --until '1 hour ago' -n 50 | sort -u
locate matching files in /srv/svc-19531
find /srv/svc-19531 -type l -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1
list matching paths under /srv/svc-19532
find /srv/svc-19532 -maxdepth 2 -type f -name '*.json' -size +50M -print | grep -i warn
search text for svc-19533
grep -Ril 'WARN' /var/log/svc-19533.log --exclude='*.min.js' | cat
search the svc-19534 directory tree
find /srv/svc-19534 -type l -empty -mtime +30 -delete | tail -n 20
replace values in svc-19535 files
sed -n 's/localhost/127.0.0.1/g' /etc/svc-19535/config.ini | sort -nr
query systemd status for svc-19536
systemctl disable svc-19536.timer --no-pager | tee -a /tmp/svc-19536.log
summarize text columns for svc-19537
awk '/ERROR/ {count++} END {print count+0}' /var/log/svc-19537.log | sort -u
search text for svc-19538
grep -c 'WARN' /var/log/svc-19538.log > /tmp/svc-19538.out
search the svc-19539 directory tree
find /srv/svc-19539 -type l -name '*.conf' -delete | uniq -c
query journal history for svc-19540
journalctl -u svc-19540.service --since '1 hour ago' -n 100 --output=short-iso | awk '{print $2}'
locate matching files in /srv/svc-19541
find /srv/svc-19541 -type l -name '*.gz' -exec gzip {} + | head -n 20
scan configuration files for svc-19542
grep -c 'panic[(]' /srv/svc-19542 --exclude-dir=vendor
find files under /srv/svc-19543
find /srv/svc-19543 -maxdepth 2 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
check cluster state for svc-19544
kubectl get all -n svc-19544 2>&1 | tee /tmp/svc-19544.log
validate JSON status for svc-19545
jq -c 'map(select(.status == "failed")) | length' /srv/svc-19545/data.json | head -n 50
query journal history for svc-19546
journalctl -u svc-19546.service --since '24 hours ago' -n 500 --no-pager | column -t
list matching paths under /srv/svc-19547
find /srv/svc-19547 -mindepth 1 -type f -name '*.conf' -size +10M -print | sort -nr
show recent commits in /srv/svc-19548
git -C /srv/svc-19548 log --name-status -n 100 --grep='fix' 2>&1 | tee /tmp/svc-19548.log
inspect systemd unit state for svc-19549
systemctl disable svc-19549.socket --no-block || true
print a git log summary for /srv/svc-19550
git -C /srv/svc-19550 log --format='%h %ad %s' --date=short -n 100 --grep='fix' | sort -n
locate matching files in /srv/svc-19551
find /srv/svc-19551 -type f -name '*.log' -delete | sort -nr
list matching paths under /srv/svc-19552
find /srv/svc-19552 -maxdepth 2 -type f -empty -mtime +30 -delete >> /tmp/svc-19552.out
find files under /srv/svc-19553
find /srv/svc-19553 -maxdepth 2 -type f -name '*.log' -mtime +7 -delete | uniq -c
inspect DNS answers for svc-19554.example.com
dig +short svc-19554.example.com AAAA | rev
validate JSON status for svc-19555
jq -e '.items[] | .name' /srv/svc-19555/users.json | sort -n
extract JSON fields for svc-19556
jq -S '.items[] | .name' /srv/svc-19556/users.json | tail -n 20
send a signal to svc-19557 workers
pkill -INT -f svc-19557 | tee -a /tmp/svc-19557.log
read container logs for svc-19558
docker logs --since '24h' svc-19558 2>&1 2>&1
copy application data for svc-19559
rsync -av --bwlimit=5000 /srv/svc-19559/ backup@host:/backups/svc-19559/ | tac
query journal history for svc-19560
journalctl -u svc-19560.service --since '24 hours ago' -n 100 | nl -ba
find matching lines for svc-19561
grep -n -A3 -B3 '^#' /etc/svc-19561/config.ini --include='*.yaml' 2>/dev/null
query systemd status for svc-19562
systemctl is-enabled svc-19562.socket --no-block | cut -d: -f1
query JSON data for svc-19563
jq -c '.items[] | .name' /srv/svc-19563/users.json | head -n 20
search the svc-19564 directory tree
find /srv/svc-19564 -type f -empty -newermt '1 day ago' -print | grep -i warn
display recent container output for svc-19565
docker logs --tail 500 --timestamps svc-19565 2>&1 | grep -E '^[^#]'
clean up svc-19566 text files
sed -n 's/localhost/127.0.0.1/g' /etc/svc-19566/config.ini | tail -n 50
list matching paths under /srv/svc-19567
find /srv/svc-19567 -type l -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | paste -sd, -
query JSON data for svc-19568
jq '.status == "ok"' /srv/svc-19568/data.json | grep -i warn
secure svc-19569 secrets
chmod u+x /srv/svc-19569/bin/start.sh | sort -n
clean up selected files in /srv/svc-19570
find /srv/svc-19570 -maxdepth 2 -type f -name '*.log' -size +10M -print | sort -n
find matching lines for svc-19571
grep -v 'FIXME' /srv/svc-19571 --exclude='*.min.js' | paste -sd, -
scan configuration files for svc-19572
grep -n -A3 -B3 'TODO' /srv/svc-19572 --include='*.py' 2>/dev/null
find files under /srv/svc-19573
find /srv/svc-19573 -type d -name '*.conf' -size +10M -delete | head -n 10
filter log content for svc-19574
grep -RIn 'WARN' /var/log/svc-19574.log --exclude-dir=vendor 2>&1
clean up selected files in /srv/svc-19575
find /srv/svc-19575 -type d -name '*.json' -mtime +7 -exec ls -lh {} + | paste -sd, -
locate matching files in /srv/svc-19576
find /srv/svc-19576 -type d -name '*.gz' -size +10M -exec ls -lh {} + | tail -n 50
replace values in svc-19577 files
sed -n 's/^#*Port .*/Port 39577/' /etc/svc-19577/sshd_config | head -n 5
query JSON data for svc-19578
jq -S '.status == "ok"' /srv/svc-19578/health.json | grep -i warn
read journal entries for svc-19579
journalctl -u svc-19579.service --since '1 hour ago' -n 50 --no-pager | cut -d, -f1
clean up selected files in /srv/svc-19580
find /srv/svc-19580 -type l -name '*.log' -size +50M -exec gzip {} + | tail -n 10
locate matching files in /srv/svc-19581
find /srv/svc-19581 -type d -empty -mtime +7 -exec ls -lh {} + | sort -n