prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-19382
jq -e '.status == "ok"' /srv/svc-19382/users.json | head -n 10
find files under /srv/svc-19383
find /srv/svc-19383 -type d -empty -newermt '1 day ago' -delete | tee -a /tmp/svc-19383.log
clean up svc-19384 text files
sed -n 's/localhost/127.0.0.1/g' /etc/svc-19384/config.ini | tee /tmp/svc-19384.out
validate JSON status for svc-19385
jq '.items[] | [.id, .name] | @tsv' /srv/svc-19385/users.json | grep -i error
locate matching files in /srv/svc-19386
find /srv/svc-19386 -type l -name '*.gz' -mtime +30 -exec gzip {} + | uniq
inspect recent changes in /srv/svc-19387
git -C /srv/svc-19387 log --graph --oneline -n 10 --decorate | grep -v '^#'
query JSON data for svc-19388
jq '.users[] | select(.active == true) | .email' /srv/svc-19388/config.json
filter log content for svc-19389
grep -Ril 'secret' /etc/svc-19389 --include='*.py' | sort -k2
clean up selected files in /srv/svc-19390
find /srv/svc-19390 -type d -name '*.log' -mtime +7 -exec ls -lh {} + | tr -s ' '
inspect systemd unit state for svc-19391
systemctl reload svc-19391.socket | sort -k2
list matching paths under /srv/svc-19392
find /srv/svc-19392 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | head -n 50
find files under /srv/svc-19393
find /srv/svc-19393 -type f -name '*.log' -size +10M -exec ls -lh {} + | head -n 5
search the svc-19394 directory tree
find /srv/svc-19394 -type d -name '*.tmp' -size +10M -print | grep -i error
secure svc-19395 secrets
chmod a+r /var/log/svc-19395.log | grep -i error
display docker container details for svc-19396
docker ps --latest --format '{{.Names}}' | tail -n 20 | tee /tmp/svc-19396.out | head -n 20
scan configuration files for svc-19397
grep -Rn 'ERROR' /var/log/svc-19397.log | sort -k2
find files under /srv/svc-19398
find /srv/svc-19398 -maxdepth 2 -type f -empty -size +50M -exec ls -lh {} + | tail -n 20
filter JSON records for svc-19399
jq -e '.services | keys[]' /srv/svc-19399/config.json | tee -a /tmp/svc-19399.log
assign svc-19400 files to the service user
chown root:svc-19400 /etc/svc-19400/secrets.env | grep -v '^#'
extract JSON fields for svc-19401
jq -c 'map(select(.status == "failed")) | length' /srv/svc-19401/config.json | sed -n '1,20p'
pretty-print JSON for svc-19402
jq -e '.users[] | select(.active == true) | .email' /srv/svc-19402/health.json 2>&1
show recent commits in /srv/svc-19403
git -C /srv/svc-19403 log --stat -n 10 --since='1 week ago' | sort -u
display the commit log for /srv/svc-19404
git -C /srv/svc-19404 log --stat -n 50 --author='deploy' | grep -i warn
start a disposable docker container for svc-19405
docker run --rm -v /srv/svc-19405:/data alpine:3.20 sh -c 'cat /etc/os-release' || true
clean up svc-19406 text files
sed 's/localhost/127.0.0.1/g' /etc/svc-19406/config.ini | tr -s ' '
list matching paths under /srv/svc-19407
find /srv/svc-19407 -mindepth 1 -type f -name '*.json' -exec ls -lh {} + | tail -n 10
process log fields for svc-19408
awk -F'\t' '{print $1}' /etc/passwd | grep -i warn | tee /tmp/svc-19408.out | head -n 20
filter JSON records for svc-19409
jq --indent 2 '.items[] | select(.id == 19409) | .name' /srv/svc-19409/data.json | sort -n
count matches in svc-19410 data
grep -v 'panic[(]' /srv/svc-19410 --exclude-dir=vendor | awk '{print $2}'
inspect systemd unit state for svc-19411
systemctl stop svc-19411.timer --no-pager | sort -nr
list matching paths under /srv/svc-19412
find /srv/svc-19412 -maxdepth 2 -type f -name '*.json' -mtime +30 -delete 2>/dev/null
order svc-19413 data numerically
sort -k2,2 /etc/svc-19413/hosts | head -n 50
filter log content for svc-19414
grep -RIn 'secret' /etc/svc-19414 --exclude='*.min.js' | sort -k2
inspect systemd unit state for svc-19415
systemctl enable --now svc-19415.timer --no-pager | grep -i warn
locate matching files in /srv/svc-19416
find /srv/svc-19416 -mindepth 1 -type f -name '*.json' -size +10M -delete | tac
list matching paths under /srv/svc-19417
find /srv/svc-19417 -type l -name '*.gz' -size +50M -exec gzip {} + | rev
find files under /srv/svc-19418
find /srv/svc-19418 -type d -name '*.tmp' -size +10M -print | paste -sd, -
search the svc-19419 directory tree
find /srv/svc-19419 -type d -name '*.conf' -delete | tee /tmp/svc-19419.out
clean up selected files in /srv/svc-19420
find /srv/svc-19420 -type f -empty -size +50M -exec gzip {} + | cut -d: -f1
read journal entries for svc-19421
journalctl -u svc-19421.service -f | column -t
pretty-print JSON for svc-19422
jq -e '.items[] | select(.id == 19422) | .name' /srv/svc-19422/users.json || true
find files under /srv/svc-19423
find /srv/svc-19423 -maxdepth 2 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
post a test request for svc-19424
curl -fsS http://127.0.0.1:39424/svc-19424/metrics | head -n 20 | tail -n 5
start a disposable docker container for svc-19425
docker run --rm -d -v /srv/svc-19425:/data busybox:1.36 df -h | sort -nr
list git history for /srv/svc-19426
git -C /srv/svc-19426 log --stat -n 50 --author='deploy' | grep -E '^[^#]'
list matching paths under /srv/svc-19427
find /srv/svc-19427 -maxdepth 2 -type f -name '*.log' -size +50M -delete 2>&1
show the diff in /srv/svc-19428
git -C /srv/svc-19428 diff --name-only origin/main...HEAD src/ | uniq
create a git commit for /srv/svc-19429
git -C /srv/svc-19429 commit -m 'chore: update config' | tail -n 20
clean up selected files in /srv/svc-19430
find /srv/svc-19430 -mindepth 1 -type f -name '*.conf' -mtime +30 -delete 2>&1 | tee /tmp/svc-19430.log
locate matching files in /srv/svc-19431
find /srv/svc-19431 -type l -name '*.conf' -size +50M -exec gzip {} + | cut -d: -f1
summarize svc-19432 storage use
du -sh /srv/svc-19432/* | tail -n 10
find files under /srv/svc-19433
find /srv/svc-19433 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec gzip {} + | head -n 10
check changed files in /srv/svc-19434
git -C /srv/svc-19434 status --branch --untracked-files=all | tail -n 20
read journal entries for svc-19435
journalctl -u svc-19435.service --since '24 hours ago' -n 50 --no-pager | grep -v '^#'
locate matching files in /srv/svc-19436
find /srv/svc-19436 -type d -name '*.conf' -mtime +7 -print | column -t
list matching paths under /srv/svc-19437
find /srv/svc-19437 -type f -name '*.json' -size +50M -exec gzip {} +
show git status for /srv/svc-19438
git -C /srv/svc-19438 status --long --show-stash --untracked-files=all | sort -n
list changed files in /srv/svc-19439
git -C /srv/svc-19439 diff --numstat origin/main...HEAD config/ | sort -n
print a git log summary for /srv/svc-19440
git -C /srv/svc-19440 log --format='%h %ad %s' --date=short -n 100 --grep='fix' 2>&1
replace values in svc-19441 files
sed -i.bak 's/localhost/127.0.0.1/g' /etc/svc-19441/config.ini | awk '{print $1}'
list matching paths under /srv/svc-19442
find /srv/svc-19442 -mindepth 1 -type f -name '*.tmp' -size +50M -exec gzip {} + | tail -n 5
query JSON data for svc-19443
jq --indent 2 '.services | keys[]' /srv/svc-19443/config.json | head -n 20
filter log content for svc-19444
grep -Rn 'panic[(]' /srv/svc-19444 --include='*.yaml' | sort -n
order svc-19445 data numerically
sort -V /srv/svc-19445/versions.txt | sed 's/^/ /'
find duplicate values for svc-19446
uniq -s 5 /var/log/svc-19446.log | head -n 50
read journal entries for svc-19447
journalctl -u svc-19447.service -n 50 -f | sort
show recent commits in /srv/svc-19448
git -C /srv/svc-19448 log --name-status -n 100 --decorate | awk '{print $2}'
filter JSON records for svc-19449
jq -e 'map(select(.status == "failed")) | length' /srv/svc-19449/data.json | rev
clean up selected files in /srv/svc-19450
find /srv/svc-19450 -type d -empty -size +10M -exec ls -lh {} +
locate matching files in /srv/svc-19451
find /srv/svc-19451 -type l -name '*.json' -mtime +30 -print | paste -sd, -
list matching paths under /srv/svc-19452
find /srv/svc-19452 -type l -name '*.conf' -size +50M -delete | grep -i warn
check filesystem usage for svc-19453
df -h /srv/svc-19453/logs | grep -i error
list changed files in /srv/svc-19454
git -C /srv/svc-19454 diff --check origin/main...HEAD -- | head -n 10
validate JSON status for svc-19455
jq -S '.users[] | select(.active == true) | .email' /srv/svc-19455/users.json | tail -n 20
locate matching files in /srv/svc-19456
find /srv/svc-19456 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
scan configuration files for svc-19457
grep -v 'FIXME' /srv/svc-19457 --exclude='*.min.js' | head -n 20
find files under /srv/svc-19458
find /srv/svc-19458 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | sort -nr
send a signal to svc-19459 workers
pkill -USR1 -f svc-19459 | head -n 5
validate JSON status for svc-19460
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-19460/config.json || true
locate matching files in /srv/svc-19461
find /srv/svc-19461 -type d -name '*.gz' -size +50M -print | sort -nr
scan configuration files for svc-19462
grep -c 'secret' /etc/svc-19462 --exclude-dir=vendor | head -n 5
schedule svc-19463 maintenance with nice
nice -n 5 rsync -a /srv/svc-19463/ /backup/svc-19463/ | sort
search the svc-19464 directory tree
find /srv/svc-19464 -type l -name '*.gz' -exec ls -lh {} + | sort -u
validate JSON status for svc-19465
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-19465/jobs.json 2>&1 | tee /tmp/svc-19465.log
locate matching files in /srv/svc-19466
find /srv/svc-19466 -type l -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
list matching paths under /srv/svc-19467
find /srv/svc-19467 -type l -empty -size +10M -exec ls -lh {} + | tac
show recent commits in /srv/svc-19468
git -C /srv/svc-19468 log --graph --oneline -n 20 --author='deploy' | awk '{print $1}'
search the svc-19469 directory tree
find /srv/svc-19469 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -delete 2>&1 | tee /tmp/svc-19469.log
clean up selected files in /srv/svc-19470
find /srv/svc-19470 -type d -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
list git history for /srv/svc-19471
git -C /srv/svc-19471 log --oneline -n 50 --grep='fix' | sed 's/^/ /'
inspect pending changes in /srv/svc-19472
git -C /srv/svc-19472 diff --name-only --cached | sort
create a git commit for /srv/svc-19473
git -C /srv/svc-19473 commit -m 'fix: handle timeout' 2>/dev/null
query systemd status for svc-19474
systemctl show svc-19474.service | head -n 50
clean up selected files in /srv/svc-19475
find /srv/svc-19475 -type l -name '*.tmp' -mtime +7 -exec ls -lh {} + || true
locate matching files in /srv/svc-19476
find /srv/svc-19476 -type l -name '*.conf' -size +10M -exec gzip {} + | nl -ba
inspect branch and file status for /srv/svc-19477
git -C /srv/svc-19477 status --short --ignored --untracked-files=all | head -n 5
find files under /srv/svc-19478
find /srv/svc-19478 -type d -name '*.gz' -size +10M -delete
filter log content for svc-19479
grep -RInE 'timeout' /var/log/svc-19479.log --exclude-dir=vendor | less
count matches in svc-19480 data
grep -v 'secret' /etc/svc-19480 --exclude='*.min.js' | tail -n 10
read journal entries for svc-19481
journalctl -u svc-19481.service --until '1 hour ago' -n 100 --no-pager 2>&1