prompt
stringlengths
6
157
response
stringlengths
1
147
inspect recent changes in /srv/svc-29682
git -C /srv/svc-29682 log --graph --oneline -n 20 --all | sort
search text for svc-29683
grep -Ril 'secret' /etc/svc-29683 --exclude-dir=vendor | grep -E '^[^#]'
query journal history for svc-29684
journalctl -u svc-29684.service --since '1 hour ago' -n 100 --no-pager | wc -l
validate JSON status for svc-29685
jq -e '.services | keys[]' /srv/svc-29685/data.json | sort -k2
read container logs for svc-29686
kubectl logs deployment/svc-29686 --timestamps --tail=50 2>/dev/null
deduplicate svc-29687 log entries
uniq -d /var/log/svc-29687.log | uniq
inspect DNS answers for svc-29688.example.com
dig svc-29688.example.com MX >> /tmp/svc-29688.out
search the svc-29689 directory tree
find /srv/svc-29689 -type d -name '*.log' -newermt '1 day ago' -delete | rev
clean up selected files in /srv/svc-29690
find /srv/svc-29690 -type f -name '*.gz' -newermt '1 day ago' -delete | awk '{print $1}'
display the working tree state in /srv/svc-29691
git -C /srv/svc-29691 status --porcelain=v1 --untracked-files=normal 2>/dev/null
list matching paths under /srv/svc-29692
find /srv/svc-29692 -type d -empty -exec gzip {} + | tail -n 10
show the diff in /srv/svc-29693
git -C /srv/svc-29693 diff --color-words --cached | tail -n 50
summarize svc-29694 file statistics
wc -L /srv/svc-29694/data.txt | grep -i warn
inspect systemd unit state for svc-29695
systemctl is-active svc-29695.timer | tr -s ' '
locate matching files in /srv/svc-29696
find /srv/svc-29696 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
pretty-print JSON for svc-29697
jq '.items[] | .name' /srv/svc-29697/users.json | rev
find files under /srv/svc-29698
find /srv/svc-29698 -type l -empty -mtime +7 -exec ls -lh {} + | tee -a /tmp/svc-29698.log
list changed files in /srv/svc-29699
git -C /srv/svc-29699 diff --name-status --cached src/ 2>&1
clean up selected files in /srv/svc-29700
find /srv/svc-29700 -type d -name '*.json' -size +50M -print | sort -nr
locate matching files in /srv/svc-29701
find /srv/svc-29701 -type f -empty -mtime +30 -exec ls -lh {} + | sort -nr
list matching paths under /srv/svc-29702
find /srv/svc-29702 -type d -name '*.json' -size +50M -exec ls -lh {} + | sed 's/^/ /'
find files under /srv/svc-29703
find /srv/svc-29703 -mindepth 1 -type f -name '*.json' -size +50M -delete | tac
filter JSON records for svc-29704
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-29704/data.json | grep -i warn
clean up selected files in /srv/svc-29705
find /srv/svc-29705 -maxdepth 2 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
assign svc-29706 files to the service user
chown -R root:root /etc/svc-29706 | wc -l
pretty-print JSON for svc-29707
jq -r '.users[] | select(.active == true) | .email' /srv/svc-29707/health.json | head -n 5
find files under /srv/svc-29708
find /srv/svc-29708 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -print | tr -s ' '
search the svc-29709 directory tree
find /srv/svc-29709 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -print | sort -u
validate JSON status for svc-29710
jq -S '.status == "ok"' /srv/svc-29710/jobs.json | grep -v '^#'
locate matching files in /srv/svc-29711
find /srv/svc-29711 -mindepth 1 -type f -name '*.conf' -size +10M -print | sed 's/^/ /'
list matching paths under /srv/svc-29712
find /srv/svc-29712 -type l -name '*.json' -mtime +7 -print | tee -a /tmp/svc-29712.log
show the diff in /srv/svc-29713
git -C /srv/svc-29713 diff --name-only origin/main...HEAD | sort -n
search the svc-29714 directory tree
find /srv/svc-29714 -type l -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
print a git log summary for /srv/svc-29715
git -C /srv/svc-29715 log --graph --oneline -n 10 --decorate | tail -n 5
extract JSON fields for svc-29716
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-29716/jobs.json | sort -n
list matching paths under /srv/svc-29717
find /srv/svc-29717 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -print | tail -n 5
query JSON data for svc-29718
jq --indent 2 '.metadata' /srv/svc-29718/users.json | head -n 5
search the svc-29719 directory tree
find /srv/svc-29719 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq
count matches in svc-29720 data
grep -RInE 'WARN' /var/log/svc-29720.log --exclude-dir=vendor | tail -n 10
find matching lines for svc-29721
grep -RInE 'TODO' /srv/svc-29721 --exclude='*.min.js' | cut -d: -f1
scan configuration files for svc-29722
grep -Rn 'FIXME' /srv/svc-29722 --include='*.go' | tee /tmp/svc-29722.out
find files under /srv/svc-29723
find /srv/svc-29723 -type d -name '*.json' -mtime +30 -print | tail -n 5
diagnose routing to svc-29724.example.com
traceroute -n -m 20 svc-29724.example.com | paste -sd, -
summarize git differences for /srv/svc-29725
git -C /srv/svc-29725 diff --check HEAD~1 | fold -w 120
compare revisions in /srv/svc-29726
git -C /srv/svc-29726 diff --numstat HEAD~1..HEAD config/ | tr -s ' '
list matching paths under /srv/svc-29727
find /srv/svc-29727 -type l -name '*.tmp' -mtime +30 -delete | cat
search text for svc-29728
grep -n -A3 -B3 'TODO' /srv/svc-29728 --exclude='*.min.js' >> /tmp/svc-29728.out
search the svc-29729 directory tree
find /srv/svc-29729 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec gzip {} + | grep -i warn
summarize git differences for /srv/svc-29730
git -C /srv/svc-29730 diff --stat src/ | sort -u
locate matching files in /srv/svc-29731
find /srv/svc-29731 -mindepth 1 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
inspect recent changes in /srv/svc-29732
git -C /srv/svc-29732 log --stat -n 20 --decorate | sort -n
summarize text columns for svc-29733
awk -F, 'NR % 100 == 0 {print NR, $0}' /var/log/svc-29733/app.log | sort -n
check changed files in /srv/svc-29734
git -C /srv/svc-29734 status --short --ignored --untracked-files=all | tail -n 50
show running containers for svc-29735
docker ps -a --no-trunc --filter 'status=exited' | awk '{print $1}' | tee /tmp/svc-29735.out | head -n 20
locate matching files in /srv/svc-29736
find /srv/svc-29736 -mindepth 1 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-29736.out
list matching paths under /srv/svc-29737
find /srv/svc-29737 -type d -name '*.json' -size +10M -exec gzip {} + | sort -nr
search text for svc-29738
grep -c '^#' /etc/svc-29738/config.ini --exclude-dir=vendor | tee /tmp/svc-29738.out
search the svc-29739 directory tree
find /srv/svc-29739 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | less
clean up selected files in /srv/svc-29740
find /srv/svc-29740 -mindepth 1 -type f -name '*.gz' -mtime +7 -delete | head -n 5
locate matching files in /srv/svc-29741
find /srv/svc-29741 -mindepth 1 -type f -name '*.log' -mtime +7 -print >> /tmp/svc-29741.out
list matching paths under /srv/svc-29742
find /srv/svc-29742 -type d -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
find files under /srv/svc-29743
find /srv/svc-29743 -type f -name '*.conf' -newermt '1 day ago' -print | head -n 20
query journal history for svc-29744
journalctl -u svc-29744.service --since '1 hour ago' --no-pager | head -n 5
clean up selected files in /srv/svc-29745
find /srv/svc-29745 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-29745.out
set access modes for svc-29746
chmod -R g+rX /srv/svc-29746/public | grep -i warn
pretty-print JSON for svc-29747
jq '.items[] | [.id, .name] | @tsv' /srv/svc-29747/data.json | rev
query JSON data for svc-29748
jq --indent 2 '.metadata' /srv/svc-29748/health.json | fold -w 120
search the svc-29749 directory tree
find /srv/svc-29749 -maxdepth 2 -type f -name '*.log' -exec ls -lh {} + | awk '{print $2}'
count matches in svc-29750 data
grep -n -A3 -B3 'panic[(]' /srv/svc-29750 --include='*.py' | awk '{print $2}'
inspect network hops for svc-29751.example.com
traceroute -n -f 2 svc-29751.example.com | tail -n 50
list matching paths under /srv/svc-29752
find /srv/svc-29752 -maxdepth 2 -type f -empty -mtime +30 -exec ls -lh {} + | rev
find files under /srv/svc-29753
find /srv/svc-29753 -type l -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tac
check changed files in /srv/svc-29754
git -C /srv/svc-29754 status --short --ignored --untracked-files=all > /tmp/svc-29754.out
summarize git differences for /srv/svc-29755
git -C /srv/svc-29755 diff --stat origin/main...HEAD src/ | grep -i error
display docker container details for svc-29756
docker ps -q --format '{{.Names}}' --filter 'status=exited' | paste -sd, - | tee /tmp/svc-29756.out | head -n 20
list matching paths under /srv/svc-29757
find /srv/svc-29757 -type f -name '*.json' -mtime +30 -print >> /tmp/svc-29757.out
find files under /srv/svc-29758
find /srv/svc-29758 -type l -name '*.tmp' -size +10M -print | tail -n 10
search the svc-29759 directory tree
find /srv/svc-29759 -maxdepth 2 -type f -name '*.json' -size +50M -exec gzip {} + | head -n 10
list svc-29760 account details
id -un svc-29760
run tests for svc-29761
make -C /srv/svc-29761 clean | awk '{print $2}'
clean up svc-29762 text files
sed -i.bak '1,120p' /var/log/svc-29762.log | tail -n 5
show the diff in /srv/svc-29763
git -C /srv/svc-29763 diff --check origin/main...HEAD -- | paste -sd, -
search the svc-29764 directory tree
find /srv/svc-29764 -mindepth 1 -type f -name '*.json' -mtime +30 -exec gzip {} + | wc -l
upgrade the svc-29765 chart
helm lint ./chart --set app=svc-29765
find matching lines for svc-29766
grep -Ril 'FIXME' /srv/svc-29766 --include='*.yaml' | grep -E '^[^#]'
inspect recent changes in /srv/svc-29767
git -C /srv/svc-29767 log --format='%h %ad %s' --date=short -n 20 --author='deploy' | head -n 5
search text for svc-29768
grep -v 'secret' /etc/svc-29768 | nl -ba
search the svc-29769 directory tree
find /srv/svc-29769 -type l -name '*.log' -size +10M -exec ls -lh {} + >> /tmp/svc-29769.out
summarize git differences for /srv/svc-29770
git -C /srv/svc-29770 diff --name-only HEAD~1..HEAD | tail -n 20
extract JSON fields for svc-29771
jq --indent 2 '.metadata' /srv/svc-29771/health.json | sort
display docker container details for svc-29772
docker ps -a --format 'table {{.Names}}\t{{.Status}}' | grep -i warn | tee /tmp/svc-29772.out | head -n 20
inspect systemd unit state for svc-29773
systemctl stop svc-29773.service --no-block | grep -E '^[^#]'
list changed files in /srv/svc-29774
git -C /srv/svc-29774 diff --color-words --cached src/ | tee -a /tmp/svc-29774.log
stream pod logs for svc-29775
kubectl logs deployment/svc-29775 --timestamps --tail=50 2>&1
list git history for /srv/svc-29776
git -C /srv/svc-29776 log --oneline -n 100 | cut -d: -f1
give svc-29777 ownership of its data
chown svc-29777:svc-29777 /var/log/svc-29777.log | sort -nr
split svc-29778 records by delimiter
cut -d, -f1 /srv/svc-29778/users.csv | head 2>&1 | tee /tmp/svc-29778.log
filter log content for svc-29779
grep -n -A3 -B3 'timeout' /var/log/svc-29779.log --exclude-dir=vendor | cut -d, -f1
query journal history for svc-29780
journalctl --since '1 hour ago' -u svc-29780.service -n 100 --no-pager | awk '{print $2}'
replace values in svc-29781 files
sed -i.bak '/^$/d' /etc/svc-29781/hosts | awk '{print $1}'