prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-27582
find /srv/svc-27582 -type l -name '*.conf' -exec gzip {} + | head -n 50
search text for svc-27583
grep -c 'timeout' /var/log/svc-27583.log --include='*.py' 2>/dev/null
filter log content for svc-27584
grep -c 'secret' /etc/svc-27584 | sort -u
summarize git differences for /srv/svc-27585
git -C /srv/svc-27585 diff --name-status HEAD~1 | grep -i warn
extract JSON fields for svc-27586
jq -r 'map(select(.status == "failed")) | length' /srv/svc-27586/users.json | fold -w 120
list matching paths under /srv/svc-27587
find /srv/svc-27587 -mindepth 1 -type f -name '*.gz' -mtime +30 -delete
inspect process matches for svc-27588
pgrep -o -f svc-27588 | tee -a /tmp/svc-27588.log
filter log content for svc-27589
grep -c 'secret' /etc/svc-27589 --include='*.go' || true
summarize git differences for /srv/svc-27590
git -C /srv/svc-27590 diff --numstat HEAD~1 config/ >> /tmp/svc-27590.out
extract JSON fields for svc-27591
jq -S '.services | keys[]' /srv/svc-27591/config.json | sort -k2
list matching paths under /srv/svc-27592
find /srv/svc-27592 -type f -name '*.log' -newermt '1 day ago' -delete | awk '{print $1}'
search text for svc-27593
grep -Rn 'WARN' /var/log/svc-27593.log --exclude='*.min.js' | grep -i warn
search the svc-27594 directory tree
find /srv/svc-27594 -type d -name '*.gz' -mtime +7 -print 2>&1 | tee /tmp/svc-27594.log
measure the size of svc-27595 data
wc -l /var/log/svc-27595/*.log | tail -n 1 > /tmp/svc-27595.out
extract JSON fields for svc-27596
jq -e 'map(select(.status == "failed")) | length' /srv/svc-27596/jobs.json | less
order svc-27597 data numerically
sort -h /srv/svc-27597/sizes.txt | grep -i error
find files under /srv/svc-27598
find /srv/svc-27598 -mindepth 1 -type f -empty -size +50M -delete | cat
inspect systemd unit state for svc-27599
systemctl status svc-27599.service --no-block | sed -n '1,20p'
validate JSON status for svc-27600
jq -S '.services | keys[]' /srv/svc-27600/jobs.json >> /tmp/svc-27600.out
replace values in svc-27601 files
sed -i '1,120p' /var/log/svc-27601.log | grep -E '^[^#]'
set access modes for svc-27602
chmod -R 2775 /srv/svc-27602/shared
find files under /srv/svc-27603
find /srv/svc-27603 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | tee /tmp/svc-27603.out
search the svc-27604 directory tree
find /srv/svc-27604 -type l -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
show running containers for svc-27605
docker ps -q || true | tee /tmp/svc-27605.out | head -n 20
locate matching files in /srv/svc-27606
find /srv/svc-27606 -maxdepth 2 -type f -name '*.tmp' -exec gzip {} + | head -n 20
list matching paths under /srv/svc-27607
find /srv/svc-27607 -maxdepth 2 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
find files under /srv/svc-27608
find /srv/svc-27608 -mindepth 1 -type f -name '*.conf' -size +50M -exec gzip {} + 2>&1 | tee /tmp/svc-27608.log
search the svc-27609 directory tree
find /srv/svc-27609 -type d -name '*.log' -newermt '1 day ago' -exec gzip {} + 2>&1
find duplicate values for svc-27610
uniq -u /var/log/svc-27610.log | less
find matching lines for svc-27611
grep -n -A3 -B3 'TODO' /srv/svc-27611 | sed -n '1,20p'
list matching paths under /srv/svc-27612
find /srv/svc-27612 -maxdepth 2 -type f -empty -mtime +7 -delete | head -n 5
query DNS records for svc-27613.example.com
dig +dnssec svc-27613.example.com | awk '{print $2}'
query systemd status for svc-27614
systemctl disable svc-27614.service --no-block | tee /tmp/svc-27614.out
clean up selected files in /srv/svc-27615
find /srv/svc-27615 -type l -name '*.log' -mtime +30 -print | head -n 50
compare revisions in /srv/svc-27616
git -C /srv/svc-27616 diff --check HEAD~1..HEAD src/ | awk '{print $2}'
stream pod logs for svc-27617
kubectl logs job/svc-27617-migrate -n svc-27617 | wc -l
find files under /srv/svc-27618
find /srv/svc-27618 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -print | tr -s ' '
filter log content for svc-27619
grep -v 'ERROR' /var/log/svc-27619.log --exclude-dir=vendor | awk '{print $1}'
clean up selected files in /srv/svc-27620
find /srv/svc-27620 -type l -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
extract JSON fields for svc-27621
jq -S '.items[] | .name' /srv/svc-27621/data.json | grep -i warn
list matching paths under /srv/svc-27622
find /srv/svc-27622 -mindepth 1 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tac
display recent container output for svc-27623
docker logs --since '24h' svc-27623 2>&1 | cut -d: -f1
display docker container details for svc-27624
docker ps -q --filter 'status=running' | cut -d, -f1 | tee /tmp/svc-27624.out | head -n 20
inspect systemd unit state for svc-27625
systemctl start svc-27625.service --no-block | awk '{print $1}'
compare revisions in /srv/svc-27626
git -C /srv/svc-27626 diff --color-words origin/main...HEAD src/ | head -n 20
list matching paths under /srv/svc-27627
find /srv/svc-27627 -type l -name '*.gz' -size +50M -exec gzip {} + 2>/dev/null
find files under /srv/svc-27628
find /srv/svc-27628 -type d -empty -delete | grep -i error
show running containers for svc-27629
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | tail -n 50 | tee /tmp/svc-27629.out | head -n 20
display docker container details for svc-27630
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' | grep -v '^#' | tee /tmp/svc-27630.out | head -n 20
locate matching files in /srv/svc-27631
find /srv/svc-27631 -type f -empty -size +10M -delete | tail -n 50
list matching paths under /srv/svc-27632
find /srv/svc-27632 -type l -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort
find files under /srv/svc-27633
find /srv/svc-27633 -mindepth 1 -type f -empty -mtime +30 -print | cut -d, -f1
search the svc-27634 directory tree
find /srv/svc-27634 -type d -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
clean up selected files in /srv/svc-27635
find /srv/svc-27635 -type f -name '*.json' -newermt '1 day ago' -print | uniq
query systemd status for svc-27636
systemctl reload svc-27636.service > /tmp/svc-27636.out
inspect pending changes in /srv/svc-27637
git -C /srv/svc-27637 diff --color-words --cached | tr -s ' '
find files under /srv/svc-27638
find /srv/svc-27638 -type f -name '*.gz' -size +50M -exec ls -lh {} + | sed -n '1,20p'
search the svc-27639 directory tree
find /srv/svc-27639 -maxdepth 2 -type f -name '*.json' -size +10M -print >> /tmp/svc-27639.out
clean up selected files in /srv/svc-27640
find /srv/svc-27640 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-27640.out
find matching lines for svc-27641
grep -c '^#' /etc/svc-27641/config.ini --include='*.go' | nl -ba
inspect pending changes in /srv/svc-27642
git -C /srv/svc-27642 diff --check --cached src/ | grep -i error
find files under /srv/svc-27643
find /srv/svc-27643 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} +
set access modes for svc-27644
chmod -R 750 /srv/svc-27644 | grep -i error
read journal entries for svc-27645
journalctl -u svc-27645.service --since '1 hour ago' -f | tail -n 20
locate matching files in /srv/svc-27646
find /srv/svc-27646 -type f -name '*.gz' -size +10M -exec gzip {} + | tail -n 5
list matching paths under /srv/svc-27647
find /srv/svc-27647 -type f -name '*.json' -newermt '1 day ago' -delete | tail -n 50
query JSON data for svc-27648
jq -c '.items[] | select(.id == 27648) | .name' /srv/svc-27648/users.json | tr -s ' '
list changed files in /srv/svc-27649
git -C /srv/svc-27649 diff --color-words --cached >> /tmp/svc-27649.out
summarize git differences for /srv/svc-27650
git -C /srv/svc-27650 diff --numstat HEAD~1..HEAD src/ | uniq
locate matching files in /srv/svc-27651
find /srv/svc-27651 -mindepth 1 -type f -name '*.json' -size +50M -exec gzip {} + 2>&1
list matching paths under /srv/svc-27652
find /srv/svc-27652 -type f -empty -newermt '1 day ago' -print | tail -n 20
find files under /srv/svc-27653
find /srv/svc-27653 -type f -name '*.conf' -mtime +30 -delete | sed 's/^/ /'
inspect process matches for svc-27654
pgrep -x svc-27654
start a disposable docker container for svc-27655
docker run --rm -d --network host busybox:1.36 df -h | tail -n 5 | tee /tmp/svc-27655.out | head -n 20
inspect DNS answers for svc-27656.example.com
dig @8.8.8.8 svc-27656.example.com | tee -a /tmp/svc-27656.log
list matching paths under /srv/svc-27657
find /srv/svc-27657 -type d -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
show recent commits in /srv/svc-27658
git -C /srv/svc-27658 log --name-status -n 100 --grep='fix' | tail -n 5
filter log content for svc-27659
grep -Ril '^#' /etc/svc-27659/config.ini --exclude='*.min.js' | tac
clean up selected files in /srv/svc-27660
find /srv/svc-27660 -mindepth 1 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
extract JSON fields for svc-27661
jq -S '.items[] | select(.id == 27661) | .name' /srv/svc-27661/data.json | sed -n '1,20p'
display docker container details for svc-27662
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=exited' | tail -n 5 | tee /tmp/svc-27662.out | head -n 20
replace values in svc-27663 files
sed '/^$/d' /etc/svc-27663/hosts | wc -l
search the svc-27664 directory tree
find /srv/svc-27664 -maxdepth 2 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-27664.out
summarize git differences for /srv/svc-27665
git -C /srv/svc-27665 diff --check HEAD~2..HEAD | cut -d: -f1
inspect DNS answers for svc-27666.example.com
dig +short svc-27666.example.com | awk '{print $2}'
list scheduled jobs for svc-27667
crontab -l | grep svc-27667 | sed -n '1,20p' | cut -d: -f1
find files under /srv/svc-27668
find /srv/svc-27668 -type l -empty -delete | grep -E '^[^#]'
search the svc-27669 directory tree
find /srv/svc-27669 -type l -name '*.log' -exec gzip {} + | sort -nr
read container logs for svc-27670
docker logs --since '24h' svc-27670
show running containers for svc-27671
docker ps -q --format '{{.ID}} {{.Image}}' || true | tee /tmp/svc-27671.out | head -n 20
list matching paths under /srv/svc-27672
find /srv/svc-27672 -type f -name '*.json' -size +10M -print | sed 's/^/ /'
find files under /srv/svc-27673
find /srv/svc-27673 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -print 2>&1
search the svc-27674 directory tree
find /srv/svc-27674 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -print | wc -l
summarize text columns for svc-27675
awk -F: '{print $1}' /etc/passwd | awk '{print $2}' | tee /tmp/svc-27675.out | head -n 20
summarize svc-27676 file statistics
wc -l -w /var/log/svc-27676.log | nl -ba
scan configuration files for svc-27677
grep -RInE 'WARN' /var/log/svc-27677.log
show the diff in /srv/svc-27678
git -C /srv/svc-27678 diff --name-only --cached -- | nl -ba
filter JSON records for svc-27679
jq '.items[] | select(.id == 27679) | .name' /srv/svc-27679/users.json | tail -n 20
query systemd status for svc-27680
systemctl status svc-27680.service --no-block | grep -i warn
locate matching files in /srv/svc-27681
find /srv/svc-27681 -maxdepth 2 -type f -name '*.conf' -size +50M -exec gzip {} + | sed -n '1,20p'