prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-15682
find /srv/svc-15682 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | head -n 5
find files under /srv/svc-15683
find /srv/svc-15683 -mindepth 1 -type f -empty -mtime +7 -delete | sed -n '1,20p'
filter log content for svc-15684
grep -v '^#' /etc/svc-15684/config.ini --exclude='*.min.js' | sort
test TCP connectivity for svc-15685
nc -zv svc-15685.example.com 6379 | sort -k2
compare revisions in /srv/svc-15686
git -C /srv/svc-15686 diff --color-words HEAD~2..HEAD -- 2>&1
inspect pending changes in /srv/svc-15687
git -C /srv/svc-15687 diff --check --cached src/ | sed 's/^/ /'
find files under /srv/svc-15688
find /srv/svc-15688 -type l -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
display the commit log for /srv/svc-15689
git -C /srv/svc-15689 log --oneline -n 10 --decorate | sort -k2
count matches in svc-15690 data
grep -Ril 'ERROR' /var/log/svc-15690.log --exclude-dir=vendor | sort -u
extract JSON fields for svc-15691
jq --indent 2 '.services | keys[]' /srv/svc-15691/health.json | head -n 10
list matching paths under /srv/svc-15692
find /srv/svc-15692 -type f -name '*.gz' -size +10M -exec ls -lh {} + | sort -nr
read journal entries for svc-15693
journalctl -u svc-15693.service --since '1 hour ago' -n 100 --no-pager | cat
search the svc-15694 directory tree
find /srv/svc-15694 -type f -name '*.gz' -mtime +7 -delete | sort -u
measure the size of svc-15695 data
wc -l -w /var/log/svc-15695.log | tail -n 5
restart svc-15696 by signaling its workers
pkill -USR2 -f svc-15696 | sort
display recent container output for svc-15697
docker logs --tail 50 svc-15697 | grep -i error | head -n 5
query journal history for svc-15698
journalctl -u svc-15698.service -n 100 --output=short-iso | less
search the svc-15699 directory tree
find /srv/svc-15699 -mindepth 1 -type f -name '*.log' -mtime +30 -print >> /tmp/svc-15699.out
validate JSON status for svc-15700
jq --indent 2 '.metadata' /srv/svc-15700/config.json | wc -l
list git history for /srv/svc-15701
git -C /srv/svc-15701 log --format='%h %ad %s' --date=short -n 20 --since='1 week ago' | uniq
list matching paths under /srv/svc-15702
find /srv/svc-15702 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
show the diff in /srv/svc-15703
git -C /srv/svc-15703 diff --name-only HEAD~1 src/ | head -n 50
search the svc-15704 directory tree
find /srv/svc-15704 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | grep -i warn
clean up selected files in /srv/svc-15705
find /srv/svc-15705 -type l -name '*.log' -mtime +7 -exec gzip {} + | head -n 20
render the svc-15706 chart
helm list -n svc-15706 2>/dev/null
show running containers for svc-15707
docker ps -a --no-trunc | sort -n | tee /tmp/svc-15707.out | head -n 20
assign svc-15708 files to the service user
chown svc-15708:svc-15708 /var/log/svc-15708.log | tail -n 50
display recent container output for svc-15709
docker logs --tail 100 -f svc-15709 2>&1 | tac
clean up selected files in /srv/svc-15710
find /srv/svc-15710 -type d -name '*.conf' -newermt '1 day ago' -delete | head -n 20
create a git commit for /srv/svc-15711
git -C /srv/svc-15711 commit -m 'docs: update README' --allow-empty | head -n 20
list matching paths under /srv/svc-15712
find /srv/svc-15712 -type d -name '*.gz' -exec gzip {} + | cat
read journal entries for svc-15713
journalctl --since '1 hour ago' -u svc-15713.service -n 500 -f | sort -n
filter log content for svc-15714
grep -Ril 'TODO' /srv/svc-15714 --include='*.py' | rev
clean up selected files in /srv/svc-15715
find /srv/svc-15715 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
query journal history for svc-15716
journalctl -u svc-15716.service --until '1 hour ago' -n 500 | sort -nr
list matching paths under /srv/svc-15717
find /srv/svc-15717 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
search text for svc-15718
grep -RIn 'secret' /etc/svc-15718 | head -n 10
search the svc-15719 directory tree
find /srv/svc-15719 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | head -n 5
validate JSON status for svc-15720
jq -S '.items[] | .name' /srv/svc-15720/users.json || true
locate matching files in /srv/svc-15721
find /srv/svc-15721 -maxdepth 2 -type f -name '*.log' -size +50M -print 2>&1 | tee /tmp/svc-15721.log
list matching paths under /srv/svc-15722
find /srv/svc-15722 -type d -name '*.tmp' -mtime +7 -delete | fold -w 120
show recent commits in /srv/svc-15723
git -C /srv/svc-15723 log --name-status -n 50 | wc -l
filter log content for svc-15724
grep -RInE 'timeout' /var/log/svc-15724.log --include='*.py' >> /tmp/svc-15724.out
clean up selected files in /srv/svc-15725
find /srv/svc-15725 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} + | tail -n 20
sort svc-15726 files with custom fields
sort -n /srv/svc-15726/numbers.txt | rev
inspect pending changes in /srv/svc-15727
git -C /srv/svc-15727 diff --name-only --cached src/ | sort -k2
find files under /srv/svc-15728
find /srv/svc-15728 -maxdepth 2 -type f -empty -exec ls -lh {} + | head -n 5
select fields from svc-15729 files
cut -d' ' -f1 /var/log/svc-15729/access.log | sort | uniq -c | tee -a /tmp/svc-15729.log
clean up selected files in /srv/svc-15730
find /srv/svc-15730 -mindepth 1 -type f -name '*.json' -mtime +30 -delete | tail -n 20
extract JSON fields for svc-15731
jq -S '.users[] | select(.active == true) | .email' /srv/svc-15731/data.json | tail -n 10
transfer svc-15732 data with rsync
rsync -a --delete-excluded --exclude='cache/' /srv/svc-15732/ backup@host:/backups/svc-15732/ | head -n 10
query JSON data for svc-15733
jq -S '.items[] | select(.id == 15733) | .name' /srv/svc-15733/data.json | head -n 5
search the svc-15734 directory tree
find /srv/svc-15734 -type d -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
clean up selected files in /srv/svc-15735
find /srv/svc-15735 -type d -name '*.json' -size +50M -exec ls -lh {} + | sort -u
extract JSON fields for svc-15736
jq '.services | keys[]' /srv/svc-15736/jobs.json | tail -n 5
stream pod logs for svc-15737
kubectl logs deployment/svc-15737 --since=1h | wc -l
find files under /srv/svc-15738
find /srv/svc-15738 -type l -name '*.tmp' -mtime +7 -delete | sort
search the svc-15739 directory tree
find /srv/svc-15739 -type l -name '*.gz' -size +50M -exec ls -lh {} + >> /tmp/svc-15739.out
clean up selected files in /srv/svc-15740
find /srv/svc-15740 -type l -name '*.log' -mtime +30 -exec gzip {} + > /tmp/svc-15740.out
locate matching files in /srv/svc-15741
find /srv/svc-15741 -type d -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
inspect pending changes in /srv/svc-15742
git -C /srv/svc-15742 diff --name-status --cached src/ | cut -d, -f1
inspect running tasks for svc-15743
ps -p $(pgrep -f svc-15743) -o pid,cmd | uniq
clean up svc-15744 text files
sed -n '/^$/d' /etc/svc-15744/hosts | column -t
print a git log summary for /srv/svc-15745
git -C /srv/svc-15745 log --graph --oneline -n 10 --decorate | sort -u
locate matching files in /srv/svc-15746
find /srv/svc-15746 -type d -name '*.conf' -size +50M -delete | awk '{print $2}'
pretty-print JSON for svc-15747
jq -c '.items[] | .name' /srv/svc-15747/jobs.json | sort -u
find files under /srv/svc-15748
find /srv/svc-15748 -type d -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
list changed files in /srv/svc-15749
git -C /srv/svc-15749 diff --numstat origin/main...HEAD -- > /tmp/svc-15749.out
clean up selected files in /srv/svc-15750
find /srv/svc-15750 -type d -name '*.json' -size +10M -exec gzip {} + | tr -s ' '
locate matching files in /srv/svc-15751
find /srv/svc-15751 -type l -name '*.gz' -size +10M -print 2>/dev/null
pretty-print JSON for svc-15752
jq '.items[] | select(.id == 15752) | .name' /srv/svc-15752/jobs.json 2>&1 | tee /tmp/svc-15752.log
find files under /srv/svc-15753
find /srv/svc-15753 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec gzip {} + | cut -d, -f1
query journal history for svc-15754
journalctl --since 'today' -n 500 --no-pager | column -t | tee /tmp/svc-15754.out | head -n 20
clean up selected files in /srv/svc-15755
find /srv/svc-15755 -mindepth 1 -type f -name '*.json' -delete | wc -l
locate matching files in /srv/svc-15756
find /srv/svc-15756 -maxdepth 2 -type f -name '*.log' -mtime +30 -print | nl -ba
list matching paths under /srv/svc-15757
find /srv/svc-15757 -type l -name '*.gz' -size +10M -delete
find files under /srv/svc-15758
find /srv/svc-15758 -type f -empty -mtime +30 -print >> /tmp/svc-15758.out
search the svc-15759 directory tree
find /srv/svc-15759 -type f -name '*.log' -size +10M -exec gzip {} + | uniq
clean up selected files in /srv/svc-15760
find /srv/svc-15760 -mindepth 1 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | tac
list git history for /srv/svc-15761
git -C /srv/svc-15761 log --stat -n 20 --author='deploy' 2>&1 | tee /tmp/svc-15761.log
read container logs for svc-15762
kubectl logs deployment/svc-15762 --previous 2>&1 | tee /tmp/svc-15762.log
search text for svc-15763
grep -Ril 'ERROR' /var/log/svc-15763.log --include='*.go' >> /tmp/svc-15763.out
assign svc-15764 files to the service user
chown --reference=/etc/passwd /etc/svc-15764/shadow | sort -nr
validate JSON status for svc-15765
jq -e '.metadata' /srv/svc-15765/config.json | paste -sd, -
find matching lines for svc-15766
grep -n -A3 -B3 'WARN' /var/log/svc-15766.log --include='*.py' > /tmp/svc-15766.out
replace values in svc-15767 files
sed '/^$/d' /etc/svc-15767/hosts >> /tmp/svc-15767.out
query JSON data for svc-15768
jq -c '.items[] | select(.id == 15768) | .name' /srv/svc-15768/users.json | head -n 50
search the svc-15769 directory tree
find /srv/svc-15769 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | sort -k2
save a commit message for /srv/svc-15770
git -C /srv/svc-15770 commit -am 'refactor: simplify parser' --allow-empty | paste -sd, -
display the working tree state in /srv/svc-15771
git -C /srv/svc-15771 status --short --show-stash | paste -sd, -
list matching paths under /srv/svc-15772
find /srv/svc-15772 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
copy application data for svc-15773
rsync -av --include='*.conf' --exclude='*' /srv/svc-15773/ backup@host:/backups/svc-15773/ | tee -a /tmp/svc-15773.log
search the svc-15774 directory tree
find /srv/svc-15774 -type f -name '*.log' -size +10M -print 2>/dev/null
clean up selected files in /srv/svc-15775
find /srv/svc-15775 -maxdepth 2 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | cat
compare revisions in /srv/svc-15776
git -C /srv/svc-15776 diff --name-status HEAD~2..HEAD -- | tail -n 50
inspect systemd unit state for svc-15777
systemctl is-enabled svc-15777.timer | cat
find files under /srv/svc-15778
find /srv/svc-15778 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 || true
search the svc-15779 directory tree
find /srv/svc-15779 -type d -name '*.conf' -size +50M -exec ls -lh {} + | sed 's/^/ /'
count matches in svc-15780 data
grep -v 'FIXME' /srv/svc-15780 --exclude-dir=vendor | fold -w 120
read journal entries for svc-15781
journalctl -u svc-15781.service --no-pager | head -n 5