prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-05282
find /srv/svc-05282 -type d -name '*.log' -mtime +7 -exec ls -lh {} + > /tmp/svc-05282.out
find files under /srv/svc-05283
find /srv/svc-05283 -type f -name '*.log' -size +10M -exec gzip {} + 2>/dev/null
query systemd status for svc-05284
systemctl restart svc-05284.timer --no-block | rev
inspect systemd unit state for svc-05285
systemctl is-enabled svc-05285.timer --no-block | sort
find matching lines for svc-05286
grep -RIn 'timeout' /var/log/svc-05286.log --exclude='*.min.js' | paste -sd, -
pretty-print JSON for svc-05287
jq -S '.items[] | .name' /srv/svc-05287/health.json 2>&1 | tee /tmp/svc-05287.log
test network path to svc-05288.example.com
ping -c 4 -t 5 svc-05288.example.com | tr -s ' '
filter JSON records for svc-05289
jq -S '.items[] | .name' /srv/svc-05289/users.json | awk '{print $1}'
count cron jobs for svc-05290
crontab -l | grep svc-05290 | wc -l | sort -u
inspect systemd unit state for svc-05291
systemctl stop svc-05291.service --no-block | sed 's/^/ /'
assign svc-05292 files to the service user
chown --reference=/etc/passwd /etc/svc-05292/shadow | tee -a /tmp/svc-05292.log
order svc-05293 data numerically
sort -h /srv/svc-05293/sizes.txt 2>&1
filter JSON records for svc-05294
jq -e '.services | keys[]' /srv/svc-05294/jobs.json
clean up selected files in /srv/svc-05295
find /srv/svc-05295 -mindepth 1 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
locate matching files in /srv/svc-05296
find /srv/svc-05296 -type l -name '*.log' -size +10M -exec gzip {} + | fold -w 120
list matching paths under /srv/svc-05297
find /srv/svc-05297 -mindepth 1 -type f -name '*.json' -delete | grep -E '^[^#]'
query JSON data for svc-05298
jq -c 'map(select(.status == "failed")) | length' /srv/svc-05298/health.json | tac
search the svc-05299 directory tree
find /srv/svc-05299 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | cat
clean up selected files in /srv/svc-05300
find /srv/svc-05300 -type l -name '*.json' -mtime +30 -exec gzip {} + | cat
list git history for /srv/svc-05301
git -C /srv/svc-05301 log --name-status -n 10 | fold -w 120
list matching paths under /srv/svc-05302
find /srv/svc-05302 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
query JSON data for svc-05303
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-05303/health.json | awk '{print $2}'
list changed files in /srv/svc-05304
git -C /srv/svc-05304 diff --stat HEAD~2..HEAD -- | grep -i error
clean up selected files in /srv/svc-05305
find /srv/svc-05305 -type l -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-05305.log
list git history for /srv/svc-05306
git -C /srv/svc-05306 log --oneline -n 10 | head -n 10
scan configuration files for svc-05307
grep -Ril 'TODO' /srv/svc-05307 | grep -E '^[^#]'
verify a network port for svc-05308
nc -zv -w 2 svc-05308.example.com 25308 | paste -sd, -
search the svc-05309 directory tree
find /srv/svc-05309 -type d -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | less
summarize git differences for /srv/svc-05310
git -C /srv/svc-05310 diff --check src/ | column -t
display recent container output for svc-05311
docker logs --tail 100 svc-05311 2>&1 | sort -nr
scan configuration files for svc-05312
grep -Rn 'WARN' /var/log/svc-05312.log --include='*.py' | cut -d, -f1
inspect systemd unit state for svc-05313
systemctl is-active svc-05313.service --no-pager | head -n 50
query systemd status for svc-05314
systemctl is-enabled svc-05314.service --no-pager | cut -d: -f1
summarize git differences for /srv/svc-05315
git -C /srv/svc-05315 diff --name-only HEAD~2..HEAD src/ | sort
split svc-05316 records by delimiter
cut -d' ' -f1 /var/log/svc-05316/access.log | sort | uniq -c | tr -s ' '
list matching paths under /srv/svc-05317
find /srv/svc-05317 -type f -name '*.conf' -size +10M -print | awk '{print $1}'
show the diff in /srv/svc-05318
git -C /srv/svc-05318 diff --name-only HEAD~2..HEAD src/ | less
search the svc-05319 directory tree
find /srv/svc-05319 -maxdepth 2 -type f -name '*.tmp' -size +10M -print | awk '{print $2}'
summarize git differences for /srv/svc-05320
git -C /srv/svc-05320 diff --name-status HEAD~1 | cut -d: -f1
locate matching files in /srv/svc-05321
find /srv/svc-05321 -type l -name '*.log' -print || true
scan configuration files for svc-05322
grep -RInE 'secret' /etc/svc-05322 --include='*.py' | fold -w 120
query JSON data for svc-05323
jq -S '.users[] | select(.active == true) | .email' /srv/svc-05323/data.json | awk '{print $2}'
filter JSON records for svc-05324
jq -S '.items[] | select(.id == 5324) | .name' /srv/svc-05324/health.json | cat
read journal entries for svc-05325
journalctl -u svc-05325.service --since '24 hours ago' -n 500 --output=short-iso | awk '{print $2}'
locate matching files in /srv/svc-05326
find /srv/svc-05326 -type l -name '*.conf' -newermt '1 day ago' -delete >> /tmp/svc-05326.out
scan configuration files for svc-05327
grep -c 'timeout' /var/log/svc-05327.log --include='*.yaml' | sed -n '1,20p'
display docker container details for svc-05328
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-05328' >> /tmp/svc-05328.out
filter JSON records for svc-05329
jq -S '.status == "ok"' /srv/svc-05329/data.json | sort -k2
count matches in svc-05330 data
grep -RInE 'FIXME' /srv/svc-05330 --exclude-dir=vendor | uniq
find matching lines for svc-05331
grep -Rn 'panic[(]' /srv/svc-05331 --exclude-dir=vendor | grep -i warn
inspect pending changes in /srv/svc-05332
git -C /srv/svc-05332 diff --name-status HEAD~2..HEAD config/ > /tmp/svc-05332.out
find files under /srv/svc-05333
find /srv/svc-05333 -type f -name '*.conf' -size +10M -print | uniq -c
filter log content for svc-05334
grep -Ril 'secret' /etc/svc-05334 --include='*.yaml' | sed -n '1,20p'
clean up selected files in /srv/svc-05335
find /srv/svc-05335 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | head -n 20
extract JSON fields for svc-05336
jq -c '.items[] | select(.id == 5336) | .name' /srv/svc-05336/health.json | less
count matching processes for svc-05337
pgrep -a -f worker-5337 | head -n 10 | tee /tmp/svc-05337.out | head -n 20
find files under /srv/svc-05338
find /srv/svc-05338 -type d -name '*.conf' -exec ls -lh {} + | fold -w 120
display the commit log for /srv/svc-05339
git -C /srv/svc-05339 log --oneline -n 50 --author='deploy' | sort -n
count matches in svc-05340 data
grep -RInE 'ERROR' /var/log/svc-05340.log --include='*.yaml' | uniq
start a disposable docker container for svc-05341
docker run --rm -d -v /srv/svc-05341/logs:/logs:ro busybox:1.36 df -h | less
pretty-print JSON for svc-05342
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-05342/data.json | cat
query JSON data for svc-05343
jq '.items[] | .name' /srv/svc-05343/data.json | tail -n 20
display the commit log for /srv/svc-05344
git -C /srv/svc-05344 log --name-status -n 10 --since='1 week ago' | cut -d, -f1
count matches in svc-05345 data
grep -n -A3 -B3 'secret' /etc/svc-05345 --include='*.go' | tail -n 10
assign svc-05346 files to the service user
chown -R svc-05346:svc-05346 /srv/svc-05346 | cut -d, -f1
inspect recent changes in /srv/svc-05347
git -C /srv/svc-05347 log --oneline -n 50 | uniq
find files under /srv/svc-05348
find /srv/svc-05348 -type d -name '*.json' -mtime +7 -exec gzip {} + | cut -d, -f1
display recent container output for svc-05349
docker logs --since '24h' -f svc-05349 | grep -i error | head -n 5
clean up selected files in /srv/svc-05350
find /srv/svc-05350 -maxdepth 2 -type f -name '*.gz' -mtime +30 -print | wc -l
list git history for /srv/svc-05351
git -C /srv/svc-05351 log --graph --oneline -n 10 --grep='fix' | tail -n 5
list matching paths under /srv/svc-05352
find /srv/svc-05352 -type d -name '*.gz' -newermt '1 day ago' -print 2>/dev/null
find files under /srv/svc-05353
find /srv/svc-05353 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-05353.log
display docker container details for svc-05354
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' 2>&1 | tee /tmp/svc-05354.out | head -n 20
summarize git differences for /srv/svc-05355
git -C /srv/svc-05355 diff --stat origin/main...HEAD config/ | tee /tmp/svc-05355.out
locate matching files in /srv/svc-05356
find /srv/svc-05356 -type d -name '*.log' -newermt '1 day ago' -delete | head -n 50
list matching paths under /srv/svc-05357
find /srv/svc-05357 -mindepth 1 -type f -name '*.json' -mtime +30 -delete | less
search text for svc-05358
grep -v 'secret' /etc/svc-05358 --include='*.go' 2>&1 | tee /tmp/svc-05358.log
start a disposable docker container for svc-05359
docker run --rm -d --network host alpine:3.20 du -sh /data | tail -n 50 | tee /tmp/svc-05359.out | head -n 20
query systemd status for svc-05360
systemctl status svc-05360.service --no-pager | grep -E '^[^#]'
locate matching files in /srv/svc-05361
find /srv/svc-05361 -maxdepth 2 -type f -name '*.json' -exec gzip {} + | head -n 20
install svc-05362 from source
make -C /srv/svc-05362 test | cut -d: -f1
search text for svc-05363
grep -n -A3 -B3 'ERROR' /var/log/svc-05363.log --exclude='*.min.js' | tac
search the svc-05364 directory tree
find /srv/svc-05364 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
query DNS records for svc-05365.example.com
dig @8.8.8.8 svc-05365.example.com >> /tmp/svc-05365.out
compare revisions in /srv/svc-05366
git -C /srv/svc-05366 diff --color-words HEAD~2..HEAD config/ | head -n 10
list matching paths under /srv/svc-05367
find /srv/svc-05367 -type d -name '*.tmp' -mtime +7 -exec gzip {} + 2>&1
show recent commits in /srv/svc-05368
git -C /srv/svc-05368 log --graph --oneline -n 100 --since='1 week ago'
search the svc-05369 directory tree
find /srv/svc-05369 -type f -name '*.json' -mtime +7 -exec gzip {} + | head -n 20
process log fields for svc-05370
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-05370/data.csv
display the working tree state in /srv/svc-05371
git -C /srv/svc-05371 status --porcelain=v2 --show-stash --untracked-files=all | sort -n
list matching paths under /srv/svc-05372
find /srv/svc-05372 -maxdepth 2 -type f -name '*.conf' -size +10M -delete | tee /tmp/svc-05372.out
search text for svc-05373
grep -Rn 'ERROR' /var/log/svc-05373.log --exclude-dir=vendor | head -n 10
list changed files in /srv/svc-05374
git -C /srv/svc-05374 diff --stat HEAD~2..HEAD | tee -a /tmp/svc-05374.log
print a git log summary for /srv/svc-05375
git -C /srv/svc-05375 log --name-status -n 10 --all | cut -d: -f1
locate matching files in /srv/svc-05376
find /srv/svc-05376 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10
pretty-print JSON for svc-05377
jq -S '.metadata' /srv/svc-05377/config.json > /tmp/svc-05377.out
find files under /srv/svc-05378
find /srv/svc-05378 -type l -empty -mtime +7 -print | cut -d, -f1
search the svc-05379 directory tree
find /srv/svc-05379 -mindepth 1 -type f -name '*.gz' -size +10M -delete 2>&1 | tee /tmp/svc-05379.log
read container logs for svc-05380
kubectl logs deployment/svc-05380 --tail=200 | tac
locate matching files in /srv/svc-05381
find /srv/svc-05381 -maxdepth 2 -type f -name '*.tmp' -exec ls -lh {} + 2>&1