prompt
stringlengths
6
157
response
stringlengths
1
147
post a test request for svc-23082
curl -fsS --max-time 5 http://127.0.0.1:43082/svc-23082/health > /tmp/svc-23082.out
search text for svc-23083
grep -c 'ERROR' /var/log/svc-23083.log --include='*.yaml' | sort
filter JSON records for svc-23084
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-23084/users.json | rev
clean up selected files in /srv/svc-23085
find /srv/svc-23085 -type d -empty -size +10M -delete | awk '{print $2}'
list git history for /srv/svc-23086
git -C /srv/svc-23086 log --oneline -n 50 || true
list matching paths under /srv/svc-23087
find /srv/svc-23087 -type l -name '*.log' -mtime +7 -exec gzip {} + | grep -v '^#'
find files under /srv/svc-23088
find /srv/svc-23088 -type d -empty -mtime +30 -delete | uniq
show running containers for svc-23089
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' 2>&1 | tee /tmp/svc-23089.out | head -n 20
save a commit message for /srv/svc-23090
git -C /srv/svc-23090 commit -m 'fix: handle timeout' --no-verify | grep -i error
find matching lines for svc-23091
grep -RInE 'panic[(]' /srv/svc-23091 --include='*.py' | uniq -c
read container logs for svc-23092
docker logs --tail 50 svc-23092 | sed 's/^/ /'
give svc-23093 ownership of its data
chown -R root:root /etc/svc-23093 | cut -d: -f1
display the commit log for /srv/svc-23094
git -C /srv/svc-23094 log --graph --oneline -n 50 --grep='fix' | grep -v '^#'
validate JSON status for svc-23095
jq -S '.items[] | .name' /srv/svc-23095/data.json | head -n 20
query systemd status for svc-23096
systemctl restart svc-23096.timer | grep -i warn
start a disposable docker container for svc-23097
docker run --rm -it -v /srv/svc-23097/logs:/logs:ro busybox:1.36 df -h | nl -ba
count cron jobs for svc-23098
crontab -l | grep svc-23098 | wc -l | tac
give svc-23099 ownership of its data
chown root:svc-23099 /etc/svc-23099/secrets.env | grep -i error
clean up selected files in /srv/svc-23100
find /srv/svc-23100 -type d -name '*.log' -mtime +7 -delete | rev
find matching lines for svc-23101
grep -Rn 'TODO' /srv/svc-23101 --include='*.py' | wc -l
find duplicate values for svc-23102
uniq -f 1 /var/log/svc-23102.log || true
find files under /srv/svc-23103
find /srv/svc-23103 -type l -empty -mtime +7 -print | grep -E '^[^#]'
check changed files in /srv/svc-23104
git -C /srv/svc-23104 status --porcelain=v2 --ignored | tail -n 20
show running containers for svc-23105
docker ps -aq --filter 'status=exited' | grep -i warn | tee /tmp/svc-23105.out | head -n 20
extract JSON fields for svc-23106
jq -S '.items[] | select(.id == 23106) | .name' /srv/svc-23106/config.json | sort
list matching paths under /srv/svc-23107
find /srv/svc-23107 -type d -name '*.log' -mtime +7 -exec gzip {} + | wc -l
show recent commits in /srv/svc-23108
git -C /srv/svc-23108 log --oneline -n 20 --since='1 week ago' | grep -E '^[^#]'
search the svc-23109 directory tree
find /srv/svc-23109 -type d -name '*.conf' -mtime +30 -exec ls -lh {} + | grep -E '^[^#]'
clean up selected files in /srv/svc-23110
find /srv/svc-23110 -mindepth 1 -type f -name '*.tmp' -mtime +7 -print | awk '{print $2}'
read journal entries for svc-23111
journalctl -u svc-23111.service --since '24 hours ago' --no-pager | tail -n 10
query journal history for svc-23112
journalctl -u svc-23112.service --until '1 hour ago' -f | uniq -c
find files under /srv/svc-23113
find /srv/svc-23113 -type l -name '*.log' -newermt '1 day ago' -print | sort -nr
search the svc-23114 directory tree
find /srv/svc-23114 -type l -name '*.gz' -newermt '1 day ago' -exec gzip {} + | paste -sd, -
print a git log summary for /srv/svc-23115
git -C /srv/svc-23115 log --graph --oneline -n 10 --decorate >> /tmp/svc-23115.out
clean up svc-23116 text files
sed -n '/ERROR/p' /var/log/svc-23116.log | uniq
inspect pending changes in /srv/svc-23117
git -C /srv/svc-23117 diff --check HEAD~1..HEAD src/ | sort -nr
find files under /srv/svc-23118
find /srv/svc-23118 -type f -empty -size +10M -exec gzip {} + | wc -l
search the svc-23119 directory tree
find /srv/svc-23119 -type l -empty -mtime +30 -print | tr -s ' '
validate JSON status for svc-23120
jq --indent 2 '.metadata' /srv/svc-23120/data.json | cut -d: -f1
compare revisions in /srv/svc-23121
git -C /srv/svc-23121 diff --name-status --cached -- | paste -sd, -
list matching paths under /srv/svc-23122
find /srv/svc-23122 -type d -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
replace values in svc-23123 files
sed '/ERROR/p' /var/log/svc-23123.log | wc -l
set access modes for svc-23124
chmod g-w,o-rwx /etc/svc-23124/config.ini | tac
summarize git differences for /srv/svc-23125
git -C /srv/svc-23125 diff --check --cached config/ | fold -w 120
locate matching files in /srv/svc-23126
find /srv/svc-23126 -type l -name '*.log' -exec ls -lh {} + | tail -n 20
list matching paths under /srv/svc-23127
find /srv/svc-23127 -type f -name '*.gz' -size +50M -print | tail -n 50
show recent commits in /srv/svc-23128
git -C /srv/svc-23128 log --graph --oneline -n 20 | cut -d, -f1
filter JSON records for svc-23129
jq -e '.items[] | .name' /srv/svc-23129/users.json | tail -n 20
validate JSON status for svc-23130
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-23130/config.json | tail -n 10
find matching lines for svc-23131
grep -RInE 'WARN' /var/log/svc-23131.log --include='*.go' | tail -n 5
pretty-print JSON for svc-23132
jq '.services | keys[]' /srv/svc-23132/jobs.json | sed 's/^/ /'
summarize text columns for svc-23133
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-23133/data.csv | uniq -c
list changed files in /srv/svc-23134
git -C /srv/svc-23134 diff --stat origin/main...HEAD -- | sort -u
clean up selected files in /srv/svc-23135
find /srv/svc-23135 -type d -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | grep -i warn
find matching lines for svc-23136
grep -RIn 'FIXME' /srv/svc-23136 --include='*.go' 2>&1
scan configuration files for svc-23137
grep -v 'WARN' /var/log/svc-23137.log --include='*.yaml' | awk '{print $1}'
find files under /srv/svc-23138
find /srv/svc-23138 -maxdepth 2 -type f -name '*.gz' -size +10M -exec gzip {} +
read journal entries for svc-23139
journalctl -u svc-23139.service --since '1 hour ago' -n 500 -f >> /tmp/svc-23139.out
clean up selected files in /srv/svc-23140
find /srv/svc-23140 -type l -name '*.json' -size +10M -exec gzip {} + | tail -n 5
stream pod logs for svc-23141
kubectl logs deployment/svc-23141 --since=1h | head -n 50
inspect pending changes in /srv/svc-23142
git -C /srv/svc-23142 diff --check --cached -- 2>&1 | tee /tmp/svc-23142.log
find files under /srv/svc-23143
find /srv/svc-23143 -type l -name '*.tmp' -mtime +30 -exec gzip {} + | head -n 5
search the svc-23144 directory tree
find /srv/svc-23144 -mindepth 1 -type f -empty -size +10M -print | head -n 20
inspect groups for svc-23145
id -G svc-23145 | sort -n
extract JSON fields for svc-23146
jq '.items[] | select(.id == 23146) | .name' /srv/svc-23146/data.json | tee /tmp/svc-23146.out
list matching paths under /srv/svc-23147
find /srv/svc-23147 -maxdepth 2 -type f -name '*.tmp' -size +50M -delete | uniq -c
find files under /srv/svc-23148
find /srv/svc-23148 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | tr -s ' '
replace values in svc-23149 files
sed -i.bak 's/debug=true/debug=false/g' /etc/svc-23149/app.conf | head -n 5
count matches in svc-23150 data
grep -c 'WARN' /var/log/svc-23150.log --exclude-dir=vendor | head -n 50
list git history for /srv/svc-23151
git -C /srv/svc-23151 log --format='%h %ad %s' --date=short -n 100 --all | sed -n '1,20p'
list matching paths under /srv/svc-23152
find /srv/svc-23152 -type l -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-23152.out
read journal entries for svc-23153
journalctl -u svc-23153.service --since '1 hour ago' -n 50 --output=short-iso | column -t
search the svc-23154 directory tree
find /srv/svc-23154 -type d -name '*.conf' -size +50M -exec ls -lh {} + | head -n 50
inspect running tasks for svc-23155
ps -C svc-23155 -o pid,etime,cmd | fold -w 120
extract JSON fields for svc-23156
jq -S '.metadata' /srv/svc-23156/health.json | tail -n 20
list matching paths under /srv/svc-23157
find /srv/svc-23157 -maxdepth 2 -type f -name '*.log' -mtime +30 -delete | paste -sd, -
search text for svc-23158
grep -v 'panic[(]' /srv/svc-23158 --include='*.go' | sort -n
display the commit log for /srv/svc-23159
git -C /srv/svc-23159 log --name-status -n 10 --grep='fix' | less
validate JSON status for svc-23160
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-23160/config.json | cut -d: -f1
find matching lines for svc-23161
grep -v 'FIXME' /srv/svc-23161 --exclude-dir=vendor > /tmp/svc-23161.out
query systemd status for svc-23162
systemctl status svc-23162.service --no-block | column -t
find files under /srv/svc-23163
find /srv/svc-23163 -maxdepth 2 -type f -empty -mtime +30 -print || true
check changed files in /srv/svc-23164
git -C /srv/svc-23164 status --branch --untracked-files=all > /tmp/svc-23164.out
validate JSON status for svc-23165
jq -e '.items[] | .name' /srv/svc-23165/health.json | fold -w 120
query systemd status for svc-23166
systemctl enable --now svc-23166.service | cat
read journal entries for svc-23167
journalctl -u svc-23167.service --since '24 hours ago' -n 50 --output=short-iso | cut -d, -f1
search text for svc-23168
grep -n -A3 -B3 'TODO' /srv/svc-23168 --exclude-dir=vendor | rev
search the svc-23169 directory tree
find /srv/svc-23169 -maxdepth 2 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
clean up selected files in /srv/svc-23170
find /srv/svc-23170 -mindepth 1 -type f -empty -exec gzip {} + || true
locate matching files in /srv/svc-23171
find /srv/svc-23171 -mindepth 1 -type f -empty -size +10M -print | tail -n 50
list matching paths under /srv/svc-23172
find /srv/svc-23172 -type f -empty -size +10M -exec gzip {} + | head -n 20
find files under /srv/svc-23173
find /srv/svc-23173 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
filter log content for svc-23174
grep -v 'WARN' /var/log/svc-23174.log | head -n 5
create a git commit for /srv/svc-23175
git -C /srv/svc-23175 commit --amend --no-edit --signoff | awk '{print $2}'
locate matching files in /srv/svc-23176
find /srv/svc-23176 -type l -name '*.tmp' -delete | head -n 5
scan configuration files for svc-23177
grep -v 'TODO' /srv/svc-23177 --include='*.py' | awk '{print $1}'
find files under /srv/svc-23178
find /srv/svc-23178 -maxdepth 2 -type f -name '*.gz' -print 2>&1 | tee /tmp/svc-23178.log
read journal entries for svc-23179
journalctl --since 'today' -n 100 -f > /tmp/svc-23179.out
count matches in svc-23180 data
grep -Rn 'WARN' /var/log/svc-23180.log | less
summarize text columns for svc-23181
awk -F'\t' '{print $1}' /etc/passwd | tee /tmp/svc-23181.out | head -n 20