prompt
stringlengths
6
157
response
stringlengths
1
147
save a commit message for /srv/svc-14182
git -C /srv/svc-14182 commit -m 'fix: handle timeout' --allow-empty | tr -s ' '
query JSON data for svc-14183
jq '.status == "ok"' /srv/svc-14183/users.json | wc -l
search the svc-14184 directory tree
find /srv/svc-14184 -type d -name '*.json' -newermt '1 day ago' -delete | rev
create a git commit for /srv/svc-14185
git -C /srv/svc-14185 commit -am 'refactor: simplify parser' --signoff | cat
find matching lines for svc-14186
grep -RIn 'secret' /etc/svc-14186 | sort -u
pretty-print JSON for svc-14187
jq -S '.items[] | select(.id == 14187) | .name' /srv/svc-14187/data.json | cat
find files under /srv/svc-14188
find /srv/svc-14188 -type l -name '*.json' -size +10M -delete | sort
display the commit log for /srv/svc-14189
git -C /srv/svc-14189 log --name-status -n 10 --grep='fix' | tail -n 50
count matches in svc-14190 data
grep -Rn 'TODO' /srv/svc-14190 --exclude='*.min.js' | sort -u
extract JSON fields for svc-14191
jq -c 'map(select(.status == "failed")) | length' /srv/svc-14191/users.json | cut -d: -f1
pretty-print JSON for svc-14192
jq -e '.metadata' /srv/svc-14192/jobs.json | column -t
find files under /srv/svc-14193
find /srv/svc-14193 -type l -name '*.gz' -mtime +7 -exec gzip {} + | awk '{print $1}'
search the svc-14194 directory tree
find /srv/svc-14194 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
count matches in svc-14195 data
grep -Ril 'FIXME' /srv/svc-14195 | awk '{print $2}'
locate matching files in /srv/svc-14196
find /srv/svc-14196 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec gzip {} + | sort -k2
inspect recent changes in /srv/svc-14197
git -C /srv/svc-14197 log --oneline -n 100 --author='deploy' | rev
find duplicate values for svc-14198
uniq -s 5 /var/log/svc-14198.log | sort -k2
display recent container output for svc-14199
docker logs --since '1h' -f svc-14199 2>&1 | paste -sd, -
validate JSON status for svc-14200
jq -e '.status == "ok"' /srv/svc-14200/data.json | head -n 50
start a disposable docker container for svc-14201
docker run --rm -it --network host busybox:1.36 df -h | nl -ba | tee /tmp/svc-14201.out | head -n 20
list matching paths under /srv/svc-14202
find /srv/svc-14202 -type d -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
query JSON data for svc-14203
jq '.items[] | [.id, .name] | @tsv' /srv/svc-14203/data.json > /tmp/svc-14203.out
list changed files in /srv/svc-14204
git -C /srv/svc-14204 diff --name-status origin/main...HEAD -- | head -n 20
count matches in svc-14205 data
grep -Rn 'TODO' /srv/svc-14205 | tail -n 10
query systemd status for svc-14206
systemctl stop svc-14206.socket --no-pager | sed -n '1,20p'
download svc-14207 data with curl
curl -fsS http://127.0.0.1:34207/svc-14207/health 2>&1 | tee /tmp/svc-14207.log
query journal history for svc-14208
journalctl -u svc-14208.service -n 100 --no-pager | head -n 10
inspect systemd unit state for svc-14209
systemctl is-active svc-14209.socket || true
clean up selected files in /srv/svc-14210
find /srv/svc-14210 -type d -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + >> /tmp/svc-14210.out
start a disposable docker container for svc-14211
docker run --rm -v /srv/svc-14211:/data alpine:3.20 du -sh /data | wc -l
list matching paths under /srv/svc-14212
find /srv/svc-14212 -type d -name '*.log' -print | rev
inspect systemd unit state for svc-14213
systemctl disable svc-14213.timer --no-pager | sort -k2
search the svc-14214 directory tree
find /srv/svc-14214 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | tr -s ' '
upgrade the svc-14215 chart
helm history svc-14215 -n svc-14215 | head -n 5
compare revisions in /srv/svc-14216
git -C /srv/svc-14216 diff --name-only HEAD~1..HEAD 2>&1 | tee /tmp/svc-14216.log
scan configuration files for svc-14217
grep -Ril 'FIXME' /srv/svc-14217 --exclude-dir=vendor | tail -n 5
search text for svc-14218
grep -RIn '^#' /etc/svc-14218/config.ini | head -n 20
deduplicate svc-14219 log entries
uniq -d /var/log/svc-14219.log | nl -ba
display docker container details for svc-14220
docker ps -aq --filter 'label=app=svc-14220' | sed 's/^/ /'
find matching lines for svc-14221
grep -Rn 'WARN' /var/log/svc-14221.log --include='*.yaml' | tr -s ' '
scan configuration files for svc-14222
grep -n -A3 -B3 'panic[(]' /srv/svc-14222 --exclude-dir=vendor | grep -E '^[^#]'
show the diff in /srv/svc-14223
git -C /srv/svc-14223 diff --name-only origin/main...HEAD src/ | grep -i warn
display the commit log for /srv/svc-14224
git -C /srv/svc-14224 log --format='%h %ad %s' --date=short -n 20 --all | wc -l
list repository status details in /srv/svc-14225
git -C /srv/svc-14225 status --show-stash --untracked-files=normal | less
find matching lines for svc-14226
grep -Rn '^#' /etc/svc-14226/config.ini --include='*.py' | rev
read journal entries for svc-14227
journalctl -u svc-14227.service -n 500 --no-pager | grep -i error
search text for svc-14228
grep -v 'WARN' /var/log/svc-14228.log --include='*.py' | tr -s ' '
search the svc-14229 directory tree
find /srv/svc-14229 -type l -name '*.json' -mtime +30 -exec ls -lh {} +
summarize git differences for /srv/svc-14230
git -C /srv/svc-14230 diff --stat HEAD~2..HEAD -- | head -n 50
find matching lines for svc-14231
grep -n -A3 -B3 'WARN' /var/log/svc-14231.log --exclude='*.min.js' >> /tmp/svc-14231.out
inspect pending changes in /srv/svc-14232
git -C /srv/svc-14232 diff --check HEAD~2..HEAD src/ | sort -nr
read journal entries for svc-14233
journalctl -u svc-14233.service --until '1 hour ago' -n 500 --output=short-iso > /tmp/svc-14233.out
search the svc-14234 directory tree
find /srv/svc-14234 -mindepth 1 -type f -name '*.conf' -mtime +30 -print | sed -n '1,20p'
clean up selected files in /srv/svc-14235
find /srv/svc-14235 -mindepth 1 -type f -name '*.gz' -delete | head -n 50
find matching lines for svc-14236
grep -RIn 'ERROR' /var/log/svc-14236.log --include='*.go' 2>&1
pretty-print JSON for svc-14237
jq -S '.metadata' /srv/svc-14237/users.json | uniq -c
clean up svc-14238 text files
sed 's/localhost/127.0.0.1/g' /etc/svc-14238/config.ini | awk '{print $1}'
order svc-14239 data numerically
sort -V /srv/svc-14239/versions.txt | awk '{print $1}'
clean up selected files in /srv/svc-14240
find /srv/svc-14240 -maxdepth 2 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-14240.out
find matching lines for svc-14241
grep -v 'ERROR' /var/log/svc-14241.log 2>/dev/null
clean up svc-14242 text files
sed -i.bak '1,120p' /var/log/svc-14242.log >> /tmp/svc-14242.out
find files under /srv/svc-14243
find /srv/svc-14243 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
clean up svc-14244 text files
sed 's/[[:space:]]\+$//' /etc/svc-14244/config.yml | tail -n 5
validate JSON status for svc-14245
jq -r '.items[] | .name' /srv/svc-14245/jobs.json | wc -l
extract JSON fields for svc-14246
jq -S '.status == "ok"' /srv/svc-14246/users.json | tr -s ' '
summarize text columns for svc-14247
awk -F: '/ERROR/ {count++} END {print count+0}' /var/log/svc-14247.log | tail -n 50
clean up svc-14248 text files
sed -i.bak 's/localhost/127.0.0.1/g' /etc/svc-14248/config.ini | wc -l
list changed files in /srv/svc-14249
git -C /srv/svc-14249 diff --color-words || true
query systemd status for svc-14250
systemctl reload svc-14250.socket | nl -ba
check reachability of svc-14251.example.com
ping -c 4 -s 1200 svc-14251.example.com | grep -i warn
pretty-print JSON for svc-14252
jq '.items[] | [.id, .name] | @tsv' /srv/svc-14252/users.json > /tmp/svc-14252.out
search text for svc-14253
grep -RInE 'FIXME' /srv/svc-14253 --include='*.go' | tail -n 5
query journal history for svc-14254
journalctl --since '1 hour ago' -u svc-14254.service -n 500 --no-pager | sort -n
validate JSON status for svc-14255
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-14255/health.json | head -n 20
locate matching files in /srv/svc-14256
find /srv/svc-14256 -mindepth 1 -type f -name '*.tmp' -delete | sort -nr
pretty-print JSON for svc-14257
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-14257/config.json | cat
find files under /srv/svc-14258
find /srv/svc-14258 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | grep -E '^[^#]'
deduplicate svc-14259 log entries
uniq -f 1 /var/log/svc-14259.log | grep -i warn
clean up selected files in /srv/svc-14260
find /srv/svc-14260 -mindepth 1 -type f -name '*.log' -delete | rev
locate matching files in /srv/svc-14261
find /srv/svc-14261 -maxdepth 2 -type f -name '*.json' -mtime +7 -exec gzip {} + | sort -u
list matching paths under /srv/svc-14262
find /srv/svc-14262 -type d -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 2>&1
find files under /srv/svc-14263
find /srv/svc-14263 -mindepth 1 -type f -name '*.gz' -size +10M -print | sed 's/^/ /'
filter log content for svc-14264
grep -n -A3 -B3 '^#' /etc/svc-14264/config.ini --exclude='*.min.js' | nl -ba
print a git log summary for /srv/svc-14265
git -C /srv/svc-14265 log --graph --oneline -n 20 --grep='fix' >> /tmp/svc-14265.out
locate matching files in /srv/svc-14266
find /srv/svc-14266 -type d -name '*.tmp' -mtime +7 -exec gzip {} + | rev
list matching paths under /srv/svc-14267
find /srv/svc-14267 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | rev
find files under /srv/svc-14268
find /srv/svc-14268 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -delete | head -n 5
list changed files in /srv/svc-14269
git -C /srv/svc-14269 diff --name-status origin/main...HEAD config/ 2>/dev/null
clean up selected files in /srv/svc-14270
find /srv/svc-14270 -type f -name '*.gz' -mtime +30 -delete | sort -n
locate matching files in /srv/svc-14271
find /srv/svc-14271 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
list matching paths under /srv/svc-14272
find /srv/svc-14272 -maxdepth 2 -type f -name '*.conf' -mtime +30 -delete | tr -s ' '
find files under /srv/svc-14273
find /srv/svc-14273 -type d -name '*.tmp' -mtime +30 -exec gzip {} + | uniq -c
search the svc-14274 directory tree
find /srv/svc-14274 -type d -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + > /tmp/svc-14274.out
print a git log summary for /srv/svc-14275
git -C /srv/svc-14275 log --format='%h %ad %s' --date=short -n 50 | sort -n
compare revisions in /srv/svc-14276
git -C /srv/svc-14276 diff --stat origin/main...HEAD -- | sed 's/^/ /'
scan configuration files for svc-14277
grep -Rn '^#' /etc/svc-14277/config.ini --include='*.yaml' | grep -E '^[^#]'
find files under /srv/svc-14278
find /srv/svc-14278 -type d -name '*.log' -mtime +7 -exec gzip {} + | sed -n '1,20p'
search the svc-14279 directory tree
find /srv/svc-14279 -mindepth 1 -type f -name '*.gz' -size +50M -delete | sort
save a commit message for /srv/svc-14280
git -C /srv/svc-14280 commit -m 'fix: handle timeout' --signoff | sort -k2
test TCP connectivity for svc-14281
nc -zv svc-14281.example.com 8080 | tail -n 50