prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-17282
find /srv/svc-17282 -maxdepth 2 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 || true
find files under /srv/svc-17283
find /srv/svc-17283 -type d -name '*.json' -size +50M -exec gzip {} + | head -n 5
assign svc-17284 files to the service user
chown --reference=/etc/passwd /etc/svc-17284/shadow | head -n 10
summarize git differences for /srv/svc-17285
git -C /srv/svc-17285 diff --name-only -- | sed 's/^/ /'
count cron jobs for svc-17286
crontab -l | grep svc-17286 | cut -d, -f1
list matching paths under /srv/svc-17287
find /srv/svc-17287 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -delete | awk '{print $1}'
search text for svc-17288
grep -n -A3 -B3 'TODO' /srv/svc-17288 --include='*.go' | sort
search the svc-17289 directory tree
find /srv/svc-17289 -mindepth 1 -type f -name '*.log' -size +10M -exec gzip {} + > /tmp/svc-17289.out
clean up selected files in /srv/svc-17290
find /srv/svc-17290 -type f -name '*.conf' -size +10M -exec ls -lh {} + | column -t
list git history for /srv/svc-17291
git -C /srv/svc-17291 log --stat -n 10 | grep -E '^[^#]'
list matching paths under /srv/svc-17292
find /srv/svc-17292 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
find files under /srv/svc-17293
find /srv/svc-17293 -mindepth 1 -type f -name '*.tmp' -size +50M -print | grep -i error
search the svc-17294 directory tree
find /srv/svc-17294 -type d -name '*.conf' -mtime +7 -exec gzip {} + | grep -i error
order svc-17295 data numerically
sort -t: -k3,3n /etc/passwd | tail -n 5 | tee /tmp/svc-17295.out | head -n 20
clean up svc-17296 text files
sed '1,120p' /var/log/svc-17296.log | sort -nr
start a disposable docker container for svc-17297
docker run --rm -v /srv/svc-17297:/data busybox:1.36 df -h | tail -n 50
transfer svc-17298 data with rsync
rsync -a --delete-excluded --exclude='cache/' /srv/svc-17298/ backup@host:/backups/svc-17298/ | uniq -c
filter log content for svc-17299
grep -n -A3 -B3 'WARN' /var/log/svc-17299.log --include='*.go' | grep -v '^#'
clean up selected files in /srv/svc-17300
find /srv/svc-17300 -mindepth 1 -type f -name '*.tmp' -exec ls -lh {} + | tail -n 10
locate matching files in /srv/svc-17301
find /srv/svc-17301 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -print | grep -E '^[^#]'
transfer svc-17302 data with rsync
rsync -av --delete /srv/svc-17302/ backup@host:/backups/svc-17302/ | rev
search text for svc-17303
grep -Ril 'FIXME' /srv/svc-17303 --include='*.yaml' 2>&1 | tee /tmp/svc-17303.log
search the svc-17304 directory tree
find /srv/svc-17304 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec gzip {} + | grep -i warn
clean up selected files in /srv/svc-17305
find /srv/svc-17305 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | awk '{print $2}'
extract JSON fields for svc-17306
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-17306/jobs.json | less
summarize text columns for svc-17307
awk 'NR % 100 == 0 {print NR, $0}' /var/log/svc-17307/app.log || true
display docker container details for svc-17308
docker ps -aq 2>/dev/null | tee /tmp/svc-17308.out | head -n 20
filter JSON records for svc-17309
jq -S '.status == "ok"' /srv/svc-17309/config.json 2>&1
clean up selected files in /srv/svc-17310
find /srv/svc-17310 -maxdepth 2 -type f -name '*.log' -size +50M -exec gzip {} + | sort -k2
find matching lines for svc-17311
grep -c 'FIXME' /srv/svc-17311 --include='*.yaml' | column -t
scan configuration files for svc-17312
grep -c '^#' /etc/svc-17312/config.ini --include='*.py' | tee /tmp/svc-17312.out
find files under /srv/svc-17313
find /srv/svc-17313 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | tac
display docker container details for svc-17314
docker ps -a --no-trunc --filter 'label=app=svc-17314' | grep -v '^#'
summarize git differences for /srv/svc-17315
git -C /srv/svc-17315 diff --name-only HEAD~1 -- | cut -d: -f1
extract JSON fields for svc-17316
jq -S '.users[] | select(.active == true) | .email' /srv/svc-17316/jobs.json | sort -k2
show running containers for svc-17317
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=running' | tail -n 10 | tee /tmp/svc-17317.out | head -n 20
transfer svc-17318 data with rsync
rsync -a --delete-excluded --exclude='cache/' /srv/svc-17318/ backup@host:/backups/svc-17318/ | grep -v '^#'
start a disposable docker container for svc-17319
docker run --rm -d -v /srv/svc-17319/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | grep -i warn
print a git log summary for /srv/svc-17320
git -C /srv/svc-17320 log --name-status -n 100 --author='deploy' | column -t
find matching lines for svc-17321
grep -n -A3 -B3 'secret' /etc/svc-17321 --exclude='*.min.js' | head -n 5
list matching paths under /srv/svc-17322
find /srv/svc-17322 -mindepth 1 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 || true
query JSON data for svc-17323
jq 'map(select(.status == "failed")) | length' /srv/svc-17323/health.json | tail -n 10
sort svc-17324 files with custom fields
sort -t, -k3,3nr /srv/svc-17324/scores.csv | head -n 10 | tr -s ' '
count matches in svc-17325 data
grep -v '^#' /etc/svc-17325/config.ini | wc -l
locate matching files in /srv/svc-17326
find /srv/svc-17326 -type l -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + 2>&1 | tee /tmp/svc-17326.log
inspect TCP ports for svc-17327
ss -tln | grep svc-17327 | tail -n 20
find files under /srv/svc-17328
find /srv/svc-17328 -type d -empty -exec ls -lh {} + | sed 's/^/ /'
read journal entries for svc-17329
journalctl --since 'today' -n 50 | awk '{print $1}' | tee /tmp/svc-17329.out | head -n 20
clean up selected files in /srv/svc-17330
find /srv/svc-17330 -mindepth 1 -type f -name '*.log' -size +10M -delete | head -n 5
list git history for /srv/svc-17331
git -C /srv/svc-17331 log --oneline -n 100 --all | cut -d: -f1
inspect pending changes in /srv/svc-17332
git -C /srv/svc-17332 diff --color-words --cached -- | grep -E '^[^#]'
inspect routing for svc-17333.example.com
ip route get svc-17333.example.com | tail -n 1 >> /tmp/svc-17333.out
execute a container task for svc-17334
docker run --rm -it -v /srv/svc-17334/logs:/logs:ro alpine:3.20 du -sh /data | head -n 50
count matches in svc-17335 data
grep -v 'TODO' /srv/svc-17335 --include='*.py' | tee /tmp/svc-17335.out
locate matching files in /srv/svc-17336
find /srv/svc-17336 -type l -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
scan configuration files for svc-17337
grep -Ril 'secret' /etc/svc-17337 | fold -w 120
show the diff in /srv/svc-17338
git -C /srv/svc-17338 diff --color-words origin/main...HEAD src/ 2>&1 | tee /tmp/svc-17338.log
create a git commit for /srv/svc-17339
git -C /srv/svc-17339 commit -m 'chore: update config' --signoff | cat
clean up selected files in /srv/svc-17340
find /srv/svc-17340 -mindepth 1 -type f -name '*.conf' -print | sort -nr
locate matching files in /srv/svc-17341
find /srv/svc-17341 -type d -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
scan configuration files for svc-17342
grep -RInE 'ERROR' /var/log/svc-17342.log --include='*.go' | awk '{print $2}'
find files under /srv/svc-17343
find /srv/svc-17343 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | cut -d: -f1
check path selection for svc-17344.example.com
ip route get svc-17344.example.com | tail -n 50
clean up selected files in /srv/svc-17345
find /srv/svc-17345 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
locate matching files in /srv/svc-17346
find /srv/svc-17346 -mindepth 1 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
list matching paths under /srv/svc-17347
find /srv/svc-17347 -mindepth 1 -type f -name '*.gz' -mtime +7 -print || true
clean up svc-17348 text files
sed -i 's/localhost/127.0.0.1/g' /etc/svc-17348/config.ini | sort -n
search the svc-17349 directory tree
find /srv/svc-17349 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -print | cut -d, -f1
clean up selected files in /srv/svc-17350
find /srv/svc-17350 -mindepth 1 -type f -name '*.gz' -size +10M -exec gzip {} + | sort -u
find matching lines for svc-17351
grep -Rn '^#' /etc/svc-17351/config.ini --include='*.yaml' | tee /tmp/svc-17351.out
list matching paths under /srv/svc-17352
find /srv/svc-17352 -type f -empty -delete > /tmp/svc-17352.out
send a signal to svc-17353 workers
pkill -TERM -u svc-17353
filter JSON records for svc-17354
jq -S '.users[] | select(.active == true) | .email' /srv/svc-17354/users.json | tee /tmp/svc-17354.out
clean up selected files in /srv/svc-17355
find /srv/svc-17355 -mindepth 1 -type f -name '*.tmp' -exec ls -lh {} + | sed 's/^/ /'
find matching lines for svc-17356
grep -Ril 'WARN' /var/log/svc-17356.log --include='*.py' | tee -a /tmp/svc-17356.log
list matching paths under /srv/svc-17357
find /srv/svc-17357 -mindepth 1 -type f -name '*.conf' -exec ls -lh {} + | sort -n
find files under /srv/svc-17358
find /srv/svc-17358 -type d -name '*.gz' -mtime +7 -delete | head -n 50
search the svc-17359 directory tree
find /srv/svc-17359 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-17359.out
read container logs for svc-17360
docker logs --tail 100 svc-17360 | sort
find matching lines for svc-17361
grep -c 'FIXME' /srv/svc-17361 --include='*.go' | fold -w 120
inspect recent changes in /srv/svc-17362
git -C /srv/svc-17362 log --oneline -n 50 --all > /tmp/svc-17362.out
query JSON data for svc-17363
jq -r '.services | keys[]' /srv/svc-17363/health.json | column -t
read container logs for svc-17364
docker logs --tail 500 --timestamps svc-17364 2>&1 2>/dev/null
count matches in svc-17365 data
grep -Rn 'WARN' /var/log/svc-17365.log --include='*.yaml' | cut -d: -f1
locate matching files in /srv/svc-17366
find /srv/svc-17366 -type d -name '*.conf' -mtime +30 -exec ls -lh {} + | uniq -c
list matching paths under /srv/svc-17367
find /srv/svc-17367 -mindepth 1 -type f -name '*.log' -print | sort -nr
find files under /srv/svc-17368
find /srv/svc-17368 -type l -empty -size +50M -exec gzip {} + | uniq
read journal entries for svc-17369
journalctl -u svc-17369.service -n 100 -f | tee /tmp/svc-17369.out
summarize git differences for /srv/svc-17370
git -C /srv/svc-17370 diff --check HEAD~1..HEAD -- | head -n 10
list git history for /srv/svc-17371
git -C /srv/svc-17371 log --graph --oneline -n 100 | nl -ba
inspect pending changes in /srv/svc-17372
git -C /srv/svc-17372 diff --stat --cached -- | grep -i warn
show running containers for svc-17373
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=exited' | rev | tee /tmp/svc-17373.out | head -n 20
search the svc-17374 directory tree
find /srv/svc-17374 -type l -name '*.log' -delete | cut -d: -f1
clean up selected files in /srv/svc-17375
find /srv/svc-17375 -type l -name '*.json' -size +50M -print | tee -a /tmp/svc-17375.log
locate matching files in /srv/svc-17376
find /srv/svc-17376 -type f -empty -mtime +7 -exec ls -lh {} + | rev
inspect running tasks for svc-17377
ps -C svc-17377 -o pid,etime,cmd | head -n 20
show the diff in /srv/svc-17378
git -C /srv/svc-17378 diff --name-only HEAD~1 | fold -w 120
search the svc-17379 directory tree
find /srv/svc-17379 -mindepth 1 -type f -empty -exec gzip {} + | head -n 20
count cron jobs for svc-17380
crontab -l | grep -v '^#' | grep svc-17380
locate matching files in /srv/svc-17381
find /srv/svc-17381 -type f -name '*.conf' -size +50M -exec gzip {} + | wc -l