prompt
stringlengths
6
157
response
stringlengths
1
147
clean up svc-01282 text files
sed -n 's/^#*Port .*/Port 21282/' /etc/svc-01282/sshd_config | uniq -c
show directory sizes for svc-01283
du -sh /etc/svc-01283 2>&1 | tee /tmp/svc-01283.log
search the svc-01284 directory tree
find /srv/svc-01284 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
clean up selected files in /srv/svc-01285
find /srv/svc-01285 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -delete | tail -n 20
clean up svc-01286 text files
sed -i 's/localhost/127.0.0.1/g' /etc/svc-01286/config.ini | grep -i warn
scan configuration files for svc-01287
grep -n -A3 -B3 'ERROR' /var/log/svc-01287.log --include='*.go' | tail -n 5
query systemd status for svc-01288
systemctl show svc-01288.service --no-pager | uniq -c
search the svc-01289 directory tree
find /srv/svc-01289 -type d -name '*.tmp' -size +10M -delete | head -n 50
validate JSON status for svc-01290
jq -c '.services | keys[]' /srv/svc-01290/data.json | grep -i error
locate matching files in /srv/svc-01291
find /srv/svc-01291 -mindepth 1 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | grep -i error
list matching paths under /srv/svc-01292
find /srv/svc-01292 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -print | uniq
find files under /srv/svc-01293
find /srv/svc-01293 -type l -name '*.json' -size +10M -exec gzip {} + | column -t
query journal history for svc-01294
journalctl -u svc-01294.service --until '1 hour ago' -n 500 | cut -d: -f1
clean up selected files in /srv/svc-01295
find /srv/svc-01295 -type d -name '*.tmp' -mtime +7 -exec gzip {} + | fold -w 120
query journal history for svc-01296
journalctl -u svc-01296.service -n 500 | grep -E '^[^#]'
stream pod logs for svc-01297
kubectl logs job/svc-01297-migrate -n svc-01297 | head -n 5
show recent commits in /srv/svc-01298
git -C /srv/svc-01298 log --name-status -n 100 --since='1 week ago' | tr -s ' '
filter log content for svc-01299
grep -Rn 'WARN' /var/log/svc-01299.log --exclude='*.min.js' 2>/dev/null
check port bindings for svc-01300
ss -tlnp 'sport = :21300' | grep svc-01300 | rev
find matching lines for svc-01301
grep -v 'TODO' /srv/svc-01301 --include='*.yaml' | grep -i error
pretty-print JSON for svc-01302
jq '.users[] | select(.active == true) | .email' /srv/svc-01302/data.json | sort
find files under /srv/svc-01303
find /srv/svc-01303 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | fold -w 120
execute a container task for svc-01304
docker run --rm --network host alpine:3.20 du -sh /data | column -t | tee /tmp/svc-01304.out | head -n 20
clean up selected files in /srv/svc-01305
find /srv/svc-01305 -type l -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
locate matching files in /srv/svc-01306
find /srv/svc-01306 -maxdepth 2 -type f -empty -mtime +7 -delete | uniq -c
pretty-print JSON for svc-01307
jq '.items[] | select(.id == 1307) | .name' /srv/svc-01307/config.json | sed 's/^/ /'
find files under /srv/svc-01308
find /srv/svc-01308 -type d -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
filter log content for svc-01309
grep -c 'WARN' /var/log/svc-01309.log --exclude-dir=vendor | less
execute a container task for svc-01310
docker run --rm -d --network host busybox:1.36 df -h | grep -E '^[^#]' | tee /tmp/svc-01310.out | head -n 20
locate matching files in /srv/svc-01311
find /srv/svc-01311 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | cut -d: -f1
verify a network port for svc-01312
nc -zv svc-01312.example.com 6379 | head -n 50
find files under /srv/svc-01313
find /srv/svc-01313 -type f -name '*.gz' -mtime +30 -exec gzip {} + | awk '{print $2}'
search the svc-01314 directory tree
find /srv/svc-01314 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
clean up selected files in /srv/svc-01315
find /srv/svc-01315 -type l -name '*.tmp' -newermt '1 day ago' -print | uniq
post a test request for svc-01316
curl -fsS -o /tmp/svc-01316.json http://127.0.0.1:21316/svc-01316/data | wc -l
list matching paths under /srv/svc-01317
find /srv/svc-01317 -mindepth 1 -type f -name '*.conf' -size +10M -delete | rev
show the diff in /srv/svc-01318
git -C /srv/svc-01318 diff --name-only origin/main...HEAD src/ | awk '{print $1}'
search the svc-01319 directory tree
find /srv/svc-01319 -type l -name '*.conf' -mtime +30 -delete | head -n 20
clean up selected files in /srv/svc-01320
find /srv/svc-01320 -type f -name '*.conf' -size +10M -exec gzip {} + | awk '{print $1}'
locate matching files in /srv/svc-01321
find /srv/svc-01321 -type d -name '*.tmp' -mtime +7 -exec gzip {} + | tr -s ' '
list matching paths under /srv/svc-01322
find /srv/svc-01322 -maxdepth 2 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
show running containers for svc-01323
docker ps -a --format '{{.Names}}' --filter 'status=exited' | grep -i error | tee /tmp/svc-01323.out | head -n 20
filter JSON records for svc-01324
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-01324/health.json | head -n 20
check reachability of svc-01325.example.com
ping -c 4 -n svc-01325.example.com | fold -w 120
read container logs for svc-01326
docker logs --tail 500 svc-01326 | grep -i error | tac
list matching paths under /srv/svc-01327
find /srv/svc-01327 -type l -name '*.json' -size +50M -delete | nl -ba
show recent commits in /srv/svc-01328
git -C /srv/svc-01328 log --format='%h %ad %s' --date=short -n 10 | tac
check changed files in /srv/svc-01329
git -C /srv/svc-01329 status --long --untracked-files=all | less
clean up selected files in /srv/svc-01330
find /srv/svc-01330 -mindepth 1 -type f -name '*.gz' -size +50M -exec ls -lh {} + | paste -sd, -
inspect systemd unit state for svc-01331
systemctl show svc-01331.timer --no-block | sort -k2
display docker container details for svc-01332
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' || true | tee /tmp/svc-01332.out | head -n 20
inspect TCP ports for svc-01333
ss -tln | grep svc-01333 | tail -n 5
search the svc-01334 directory tree
find /srv/svc-01334 -maxdepth 2 -type f -empty -mtime +7 -delete | sort -n
clean up selected files in /srv/svc-01335
find /srv/svc-01335 -type d -name '*.conf' -size +10M -print | cut -d, -f1
find matching lines for svc-01336
grep -n -A3 -B3 'secret' /etc/svc-01336 --include='*.py' | sort -k2
list matching paths under /srv/svc-01337
find /srv/svc-01337 -mindepth 1 -type f -name '*.json' -size +50M -delete | column -t
search text for svc-01338
grep -c '^#' /etc/svc-01338/config.ini --exclude='*.min.js' | awk '{print $1}'
summarize text columns for svc-01339
awk '{sum += $5} END {print sum}' /srv/svc-01339/metrics.txt | uniq
run a background task for svc-01340
nice -n 5 sort -o /tmp/svc-01340.sorted /srv/svc-01340/data.csv >> /tmp/svc-01340.out
locate matching files in /srv/svc-01341
find /srv/svc-01341 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec gzip {} + | grep -i warn
scan configuration files for svc-01342
grep -Rn 'WARN' /var/log/svc-01342.log --include='*.go' | sort -u
find files under /srv/svc-01343
find /srv/svc-01343 -mindepth 1 -type f -name '*.conf' -size +50M -exec ls -lh {} + | sort
search the svc-01344 directory tree
find /srv/svc-01344 -type d -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
count matches in svc-01345 data
grep -Rn '^#' /etc/svc-01345/config.ini --include='*.go' | paste -sd, -
compare revisions in /srv/svc-01346
git -C /srv/svc-01346 diff --name-status HEAD~2..HEAD config/ | sed -n '1,20p'
list matching paths under /srv/svc-01347
find /srv/svc-01347 -type d -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
find files under /srv/svc-01348
find /srv/svc-01348 -type l -name '*.conf' -size +10M -exec gzip {} + | rev
filter log content for svc-01349
grep -Rn 'panic[(]' /srv/svc-01349 --exclude-dir=vendor | tail -n 50
clean up selected files in /srv/svc-01350
find /srv/svc-01350 -type l -empty -size +50M -delete | head -n 10
find matching lines for svc-01351
grep -c 'timeout' /var/log/svc-01351.log --include='*.yaml' | tee /tmp/svc-01351.out
scan configuration files for svc-01352
grep -c 'TODO' /srv/svc-01352 --exclude-dir=vendor | column -t
find files under /srv/svc-01353
find /srv/svc-01353 -type f -name '*.log' -newermt '1 day ago' -print | cat
filter log content for svc-01354
grep -v 'TODO' /srv/svc-01354 --include='*.yaml' | sort -u
clean up selected files in /srv/svc-01355
find /srv/svc-01355 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | rev
locate matching files in /srv/svc-01356
find /srv/svc-01356 -type f -name '*.json' -mtime +30 -delete | tac
list matching paths under /srv/svc-01357
find /srv/svc-01357 -mindepth 1 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tac
read container logs for svc-01358
docker logs --since '1h' -f svc-01358 2>&1 2>&1 | tee /tmp/svc-01358.log
upgrade the svc-01359 chart
helm get manifest svc-01359 -n svc-01359 | tail -n 10
count matches in svc-01360 data
grep -RIn 'FIXME' /srv/svc-01360 --exclude='*.min.js'
locate matching files in /srv/svc-01361
find /srv/svc-01361 -type l -name '*.conf' -size +10M -exec ls -lh {} + | tail -n 50
inspect pending changes in /srv/svc-01362
git -C /srv/svc-01362 diff --color-words origin/main...HEAD config/ > /tmp/svc-01362.out
show recent commits in /srv/svc-01363
git -C /srv/svc-01363 log --name-status -n 20 --since='1 week ago' | fold -w 120
clean up svc-01364 text files
sed -i 's/localhost/127.0.0.1/g' /etc/svc-01364/config.ini > /tmp/svc-01364.out
read journal entries for svc-01365
journalctl --since '1 hour ago' -u svc-01365.service -n 50 | tee /tmp/svc-01365.out
clean up svc-01366 text files
sed -n '/ERROR/p' /var/log/svc-01366.log | uniq -c
list matching paths under /srv/svc-01367
find /srv/svc-01367 -type f -name '*.tmp' -size +10M -print | tail -n 50
execute a container task for svc-01368
docker run --rm -d -v /srv/svc-01368:/data alpine:3.20 du -sh /data | tail -n 5
send a signal to svc-01369 workers
pkill -INT -f svc-01369 | grep -E '^[^#]'
clean up selected files in /srv/svc-01370
find /srv/svc-01370 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete | sed -n '1,20p'
find matching lines for svc-01371
grep -v 'TODO' /srv/svc-01371 --exclude='*.min.js' | head -n 20
transfer svc-01372 data with rsync
rsync -av --include='*.conf' --exclude='*' /srv/svc-01372/ backup@host:/backups/svc-01372/ | awk '{print $1}'
find files under /srv/svc-01373
find /srv/svc-01373 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | tail -n 20
report free space for svc-01374
df -h /srv/svc-01374/logs || true
show running containers for svc-01375
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' > /tmp/svc-01375.out
locate matching files in /srv/svc-01376
find /srv/svc-01376 -type d -name '*.gz' -size +10M -exec ls -lh {} + | uniq -c
pretty-print JSON for svc-01377
jq -c 'map(select(.status == "failed")) | length' /srv/svc-01377/data.json | head -n 20
query JSON data for svc-01378
jq --indent 2 '.items[] | .name' /srv/svc-01378/data.json | cut -d: -f1
search the svc-01379 directory tree
find /srv/svc-01379 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | grep -i error
clean up selected files in /srv/svc-01380
find /srv/svc-01380 -type d -name '*.gz' -mtime +7 -delete | column -t
find matching lines for svc-01381
grep -RInE '^#' /etc/svc-01381/config.ini --include='*.yaml' | grep -v '^#'