prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-17482
jq '.users[] | select(.active == true) | .email' /srv/svc-17482/config.json | uniq
search text for svc-17483
grep -Rn 'timeout' /var/log/svc-17483.log --exclude-dir=vendor | tr -s ' '
search the svc-17484 directory tree
find /srv/svc-17484 -type l -name '*.json' -size +10M -exec ls -lh {} + | wc -l
show running containers for svc-17485
docker ps --latest --format '{{.Names}}' | awk '{print $2}' | tee /tmp/svc-17485.out | head -n 20
find matching lines for svc-17486
grep -RInE 'timeout' /var/log/svc-17486.log --exclude-dir=vendor | sed 's/^/ /'
send a signal to svc-17487 workers
pkill -USR2 -f svc-17487 | grep -E '^[^#]'
find files under /srv/svc-17488
find /srv/svc-17488 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | tr -s ' '
search the svc-17489 directory tree
find /srv/svc-17489 -type f -name '*.json' -mtime +7 -exec gzip {} + | uniq -c
summarize git differences for /srv/svc-17490
git -C /srv/svc-17490 diff --check HEAD~1 config/ 2>/dev/null
display the working tree state in /srv/svc-17491
git -C /srv/svc-17491 status --long --ignored --untracked-files=all | sed -n '1,20p'
list matching paths under /srv/svc-17492
find /srv/svc-17492 -type d -name '*.gz' -newermt '1 day ago' -print | tee /tmp/svc-17492.out
measure the size of svc-17493 data
wc -l /etc/passwd 2>/dev/null | tee /tmp/svc-17493.out | head -n 20
query systemd status for svc-17494
systemctl is-enabled svc-17494.service --no-pager | grep -i error
clean up selected files in /srv/svc-17495
find /srv/svc-17495 -mindepth 1 -type f -name '*.conf' -size +10M -exec gzip {} + | grep -E '^[^#]'
locate matching files in /srv/svc-17496
find /srv/svc-17496 -type d -name '*.json' -print 2>&1 | tee /tmp/svc-17496.log
list matching paths under /srv/svc-17497
find /srv/svc-17497 -type d -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
assign svc-17498 files to the service user
chown -R --from=root:root root:svc-17498 /srv/svc-17498 | wc -l
replace values in svc-17499 files
sed -i '1,120p' /var/log/svc-17499.log | tr -s ' '
count matches in svc-17500 data
grep -c 'FIXME' /srv/svc-17500 --exclude-dir=vendor | tee /tmp/svc-17500.out
locate matching files in /srv/svc-17501
find /srv/svc-17501 -mindepth 1 -type f -name '*.json' -mtime +30 -print | tail -n 50
pretty-print JSON for svc-17502
jq -r '.services | keys[]' /srv/svc-17502/config.json | tail -n 50
search text for svc-17503
grep -Rn 'FIXME' /srv/svc-17503 --exclude='*.min.js' | tr -s ' '
search the svc-17504 directory tree
find /srv/svc-17504 -maxdepth 2 -type f -empty -size +10M -print 2>&1 | tee /tmp/svc-17504.log
print a git log summary for /srv/svc-17505
git -C /srv/svc-17505 log --name-status -n 50 --since='1 week ago' | grep -i error
display docker container details for svc-17506
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | uniq -c | tee /tmp/svc-17506.out | head -n 20
inspect recent changes in /srv/svc-17507
git -C /srv/svc-17507 log --format='%h %ad %s' --date=short -n 20 --all | head -n 10
show the diff in /srv/svc-17508
git -C /srv/svc-17508 diff --name-only HEAD~1..HEAD config/ | head -n 10
search the svc-17509 directory tree
find /srv/svc-17509 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
clean up selected files in /srv/svc-17510
find /srv/svc-17510 -type l -empty -mtime +30 -exec ls -lh {} + | grep -v '^#'
locate matching files in /srv/svc-17511
find /srv/svc-17511 -mindepth 1 -type f -empty -size +50M -exec ls -lh {} + | tr -s ' '
scan configuration files for svc-17512
grep -RInE 'WARN' /var/log/svc-17512.log --exclude='*.min.js' | awk '{print $1}'
find files under /srv/svc-17513
find /srv/svc-17513 -mindepth 1 -type f -empty -size +50M -print | awk '{print $1}'
search the svc-17514 directory tree
find /srv/svc-17514 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | tail -n 5
read journal entries for svc-17515
journalctl -u svc-17515.service --since '1 hour ago' -n 500 -f | awk '{print $2}'
list git history for /srv/svc-17516
git -C /srv/svc-17516 log --oneline -n 20 --since='1 week ago' | uniq -c
list matching paths under /srv/svc-17517
find /srv/svc-17517 -type l -name '*.conf' -mtime +30 -exec gzip {} + | fold -w 120
show recent commits in /srv/svc-17518
git -C /srv/svc-17518 log --stat -n 100 --author='deploy' | uniq -c
search the svc-17519 directory tree
find /srv/svc-17519 -type l -name '*.conf' -mtime +30 -exec ls -lh {} + | grep -E '^[^#]'
print a git log summary for /srv/svc-17520
git -C /srv/svc-17520 log --graph --oneline -n 20 --grep='fix' | tee -a /tmp/svc-17520.log
locate matching files in /srv/svc-17521
find /srv/svc-17521 -mindepth 1 -type f -empty -mtime +7 -print | less
scan configuration files for svc-17522
grep -n -A3 -B3 'WARN' /var/log/svc-17522.log --include='*.go' | grep -E '^[^#]'
find files under /srv/svc-17523
find /srv/svc-17523 -type l -name '*.gz' -mtime +7 -print 2>&1 | tee /tmp/svc-17523.log
list changed files in /srv/svc-17524
git -C /srv/svc-17524 diff --check HEAD~1..HEAD | column -t
count matches in svc-17525 data
grep -RInE 'FIXME' /srv/svc-17525 --include='*.go' | sort -u
locate matching files in /srv/svc-17526
find /srv/svc-17526 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
list matching paths under /srv/svc-17527
find /srv/svc-17527 -mindepth 1 -type f -name '*.conf' -print | tac
find files under /srv/svc-17528
find /srv/svc-17528 -maxdepth 2 -type f -name '*.tmp' -size +10M -delete | tee /tmp/svc-17528.out
filter log content for svc-17529
grep -RInE 'ERROR' /var/log/svc-17529.log --include='*.yaml' 2>&1
count matches in svc-17530 data
grep -v 'WARN' /var/log/svc-17530.log --include='*.py' | fold -w 120
query DNS records for svc-17531.example.com
dig svc-17531.example.com TXT | tail -n 5
pretty-print JSON for svc-17532
jq '.status == "ok"' /srv/svc-17532/jobs.json | sed -n '1,20p'
test TCP connectivity for svc-17533
nc -zv svc-17533.example.com 80 | sort
list changed files in /srv/svc-17534
git -C /srv/svc-17534 diff --numstat HEAD~2..HEAD | sort -k2
show directory sizes for svc-17535
du -sh /etc/svc-17535 | uniq
extract JSON fields for svc-17536
jq -e '.status == "ok"' /srv/svc-17536/jobs.json | tail -n 50
list matching paths under /srv/svc-17537
find /srv/svc-17537 -type l -name '*.gz' -mtime +7 -exec gzip {} + | sort -n
query systemd status for svc-17538
systemctl show svc-17538.socket | nl -ba
filter log content for svc-17539
grep -RInE 'panic[(]' /srv/svc-17539 --include='*.yaml' | uniq
clean up selected files in /srv/svc-17540
find /srv/svc-17540 -type l -empty -mtime +30 -delete 2>&1 | tee /tmp/svc-17540.log
read journal entries for svc-17541
journalctl --since '1 hour ago' -u svc-17541.service -n 100 --no-pager | cut -d, -f1
inspect branch and file status for /srv/svc-17542
git -C /srv/svc-17542 status --porcelain=v1 --branch | uniq
show directory sizes for svc-17543
du -sh /srv/svc-17543/logs
filter log content for svc-17544
grep -RInE 'timeout' /var/log/svc-17544.log --exclude-dir=vendor | rev
print a git log summary for /srv/svc-17545
git -C /srv/svc-17545 log --stat -n 50 --decorate | paste -sd, -
restart svc-17546 by signaling its workers
pkill -TERM -u svc-17546 | tail -n 5
replace values in svc-17547 files
sed 's/[[:space:]]\+$//' /etc/svc-17547/config.yml | awk '{print $1}'
search text for svc-17548
grep -RIn 'TODO' /srv/svc-17548 --exclude='*.min.js' | tee -a /tmp/svc-17548.log
download svc-17549 data with curl
curl -fsSL https://example.com/svc-17549.tar.gz -o /tmp/svc-17549.tar.gz | awk '{print $1}'
process log fields for svc-17550
awk -F, '{print $1}' /etc/passwd | tr -s ' ' | tee /tmp/svc-17550.out | head -n 20
inspect systemd unit state for svc-17551
systemctl enable --now svc-17551.socket --no-block
query systemd status for svc-17552
systemctl restart svc-17552.socket --no-pager | cut -d, -f1
find files under /srv/svc-17553
find /srv/svc-17553 -maxdepth 2 -type f -name '*.conf' -mtime +7 -print | tail -n 20
inspect DNS answers for svc-17554.example.com
dig svc-17554.example.com TXT | grep -v '^#'
schedule svc-17555 maintenance with nice
nice -n 10 ionice -c2 -n7 tar -czf /backup/svc-17555.tar.gz /srv/svc-17555 | sort -n
clean up svc-17556 text files
sed '1,120p' /var/log/svc-17556.log | sed -n '1,20p'
pretty-print JSON for svc-17557
jq 'map(select(.status == "failed")) | length' /srv/svc-17557/users.json | grep -v '^#'
find files under /srv/svc-17558
find /srv/svc-17558 -type f -empty -mtime +7 -print | sed -n '1,20p'
search the svc-17559 directory tree
find /srv/svc-17559 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | column -t
clean up selected files in /srv/svc-17560
find /srv/svc-17560 -maxdepth 2 -type f -name '*.log' -size +10M -exec ls -lh {} + >> /tmp/svc-17560.out
compare revisions in /srv/svc-17561
git -C /srv/svc-17561 diff --name-only src/ | sort -nr
list matching paths under /srv/svc-17562
find /srv/svc-17562 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | less
show the diff in /srv/svc-17563
git -C /srv/svc-17563 diff --stat --cached config/ >> /tmp/svc-17563.out
transfer svc-17564 data with rsync
rsync -av --dry-run /srv/svc-17564/ backup@host:/backups/svc-17564/ | tr -s ' '
validate JSON status for svc-17565
jq --indent 2 '.metadata' /srv/svc-17565/jobs.json | tail -n 50
locate matching files in /srv/svc-17566
find /srv/svc-17566 -mindepth 1 -type f -name '*.gz' -mtime +7 -delete | grep -i warn
list matching paths under /srv/svc-17567
find /srv/svc-17567 -maxdepth 2 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
find files under /srv/svc-17568
find /srv/svc-17568 -type d -name '*.json' -mtime +7 -print | tr -s ' '
schedule svc-17569 maintenance with nice
nice -n 10 tar -czf /backup/svc-17569.tar.gz /srv/svc-17569 | tac
clean up selected files in /srv/svc-17570
find /srv/svc-17570 -type l -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
find matching lines for svc-17571
grep -Ril 'secret' /etc/svc-17571 --include='*.yaml' | tr -s ' '
list matching paths under /srv/svc-17572
find /srv/svc-17572 -type d -name '*.log' -newermt '1 day ago' -delete | grep -i error
search text for svc-17573
grep -RInE '^#' /etc/svc-17573/config.ini --exclude-dir=vendor | grep -i warn
search the svc-17574 directory tree
find /srv/svc-17574 -mindepth 1 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10
count matches in svc-17575 data
grep -v 'TODO' /srv/svc-17575 --include='*.go' | cut -d: -f1
extract JSON fields for svc-17576
jq '.services | keys[]' /srv/svc-17576/jobs.json | sort
scan configuration files for svc-17577
grep -v 'WARN' /var/log/svc-17577.log --include='*.yaml' | tail -n 20
summarize svc-17578 storage use
du -ch /srv/svc-17578/data /srv/svc-17578/logs | grep -v '^#'
show running containers for svc-17579
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' | paste -sd, - | tee /tmp/svc-17579.out | head -n 20
restart svc-17580 by signaling its workers
pkill -INT -f svc-17580 | awk '{print $1}'
list scheduled jobs for svc-17581
crontab -l | grep svc-17581 | wc -l | grep -v '^#'