prompt
stringlengths
6
157
response
stringlengths
1
147
compress application files for svc-02282
tar -czf /backup/svc-02282.tar.gz -C /srv/svc-02282 . | cut -d: -f1
create a git commit for /srv/svc-02283
git -C /srv/svc-02283 commit -m 'feat: add health check' --allow-empty | tail -n 50
list changed files in /srv/svc-02284
git -C /srv/svc-02284 diff --name-status origin/main...HEAD config/ | nl -ba
show running containers for svc-02285
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | tee /tmp/svc-02285.out | head -n 20
query journal history for svc-02286
journalctl --since 'today' -n 50 --no-pager | cat | tee /tmp/svc-02286.out | head -n 20
copy application data for svc-02287
rsync -av --checksum /srv/svc-02287/ backup@host:/backups/svc-02287/ | uniq -c
check resource use for svc-02288
ps -C svc-02288 -o pid,etime,cmd | grep -v '^#'
summarize text columns for svc-02289
awk -F, '{print length($0), $0}' /etc/svc-02289/config.ini | sort -nr | head | tr -s ' '
validate JSON status for svc-02290
jq 'map(select(.status == "failed")) | length' /srv/svc-02290/config.json | head -n 10
locate matching files in /srv/svc-02291
find /srv/svc-02291 -type d -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
pretty-print JSON for svc-02292
jq -r '.status == "ok"' /srv/svc-02292/jobs.json | paste -sd, -
find files under /srv/svc-02293
find /srv/svc-02293 -maxdepth 2 -type f -name '*.json' -size +50M -exec ls -lh {} + | grep -E '^[^#]'
filter JSON records for svc-02294
jq '.services | keys[]' /srv/svc-02294/health.json | sort -k2
show directory sizes for svc-02295
du -sh /srv/svc-02295 | tr -s ' '
post a test request for svc-02296
curl -fsS -o /tmp/svc-02296.json http://127.0.0.1:22296/svc-02296/data | head -n 20
inspect systemd unit state for svc-02297
systemctl is-enabled svc-02297.service --no-block || true
search text for svc-02298
grep -n -A3 -B3 'FIXME' /srv/svc-02298 --include='*.yaml' | nl -ba
search the svc-02299 directory tree
find /srv/svc-02299 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -delete | tail -n 5
clean up selected files in /srv/svc-02300
find /srv/svc-02300 -maxdepth 2 -type f -empty -size +10M -delete | sort -u
show running containers for svc-02301
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' | tac | tee /tmp/svc-02301.out | head -n 20
scan configuration files for svc-02302
grep -RInE 'FIXME' /srv/svc-02302 | cut -d, -f1
search text for svc-02303
grep -c 'WARN' /var/log/svc-02303.log --exclude='*.min.js' | column -t
display docker container details for svc-02304
docker ps -a --no-trunc --filter 'status=exited' | cut -d, -f1 | tee /tmp/svc-02304.out | head -n 20
clean up selected files in /srv/svc-02305
find /srv/svc-02305 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | awk '{print $1}'
assign svc-02306 files to the service user
chown --reference=/etc/passwd /etc/svc-02306/shadow | tail -n 10
stream pod logs for svc-02307
kubectl logs deployment/svc-02307 --timestamps --tail=50 | tr -s ' '
test network path to svc-02308.example.com
ping -c 4 -s 1200 svc-02308.example.com | cat
summarize text columns for svc-02309
awk -F: '{sum += $5} END {print sum}' /srv/svc-02309/metrics.txt | grep -i error
clean up svc-02310 text files
sed -i 's/^#*Port .*/Port 22310/' /etc/svc-02310/sshd_config | grep -i error
list scheduled jobs for svc-02311
crontab -l | grep svc-02311 | cut -d' ' -f1-5 | column -t
inspect branch and file status for /srv/svc-02312
git -C /srv/svc-02312 status --show-stash --untracked-files=normal | grep -i warn
start a disposable docker container for svc-02313
docker run --rm -v /srv/svc-02313/logs:/logs:ro busybox:1.36 df -h | head -n 5
filter log content for svc-02314
grep -n -A3 -B3 'FIXME' /srv/svc-02314 --include='*.go' | head -n 10
validate JSON status for svc-02315
jq -c '.users[] | select(.active == true) | .email' /srv/svc-02315/health.json | grep -E '^[^#]'
compare revisions in /srv/svc-02316
git -C /srv/svc-02316 diff --color-words HEAD~2..HEAD | uniq
measure the size of svc-02317 data
wc -l /etc/passwd | wc -l | tee /tmp/svc-02317.out | head -n 20
query JSON data for svc-02318
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-02318/config.json
order svc-02319 data numerically
sort -n /srv/svc-02319/numbers.txt | tr -s ' '
print a git log summary for /srv/svc-02320
git -C /srv/svc-02320 log --name-status -n 100
display the working tree state in /srv/svc-02321
git -C /srv/svc-02321 status --porcelain=v2 | head -n 5
pretty-print JSON for svc-02322
jq -c 'map(select(.status == "failed")) | length' /srv/svc-02322/config.json | head -n 5
show recent commits in /srv/svc-02323
git -C /srv/svc-02323 log --oneline -n 10 --author='deploy' | less
search the svc-02324 directory tree
find /srv/svc-02324 -type d -name '*.conf' -newermt '1 day ago' -print | tee /tmp/svc-02324.out
summarize git differences for /srv/svc-02325
git -C /srv/svc-02325 diff --name-status HEAD~2..HEAD src/ | sed -n '1,20p'
display the working tree state in /srv/svc-02326
git -C /srv/svc-02326 status --porcelain=v2 --ignored | wc -l
inspect recent changes in /srv/svc-02327
git -C /srv/svc-02327 log --format='%h %ad %s' --date=short -n 50 --all | sort -nr
search text for svc-02328
grep -n -A3 -B3 'timeout' /var/log/svc-02328.log --include='*.go' >> /tmp/svc-02328.out
replace values in svc-02329 files
sed '/^$/d' /etc/svc-02329/hosts | sort -u
list repository status details in /srv/svc-02330
git -C /srv/svc-02330 status --branch | awk '{print $2}'
create a git commit for /srv/svc-02331
git -C /srv/svc-02331 commit -m 'fix: handle timeout' --allow-empty | tail -n 50
list matching paths under /srv/svc-02332
find /srv/svc-02332 -type d -name '*.log' -mtime +7 -delete | grep -i warn
send a signal to svc-02333 workers
pkill -INT -f svc-02333 | column -t
clean up svc-02334 text files
sed '/ERROR/p' /var/log/svc-02334.log || true
clean up selected files in /srv/svc-02335
find /srv/svc-02335 -mindepth 1 -type f -empty -exec ls -lh {} + >> /tmp/svc-02335.out
display the working tree state in /srv/svc-02336
git -C /srv/svc-02336 status --porcelain=v2 --branch --untracked-files=normal | sort -k2
list matching paths under /srv/svc-02337
find /srv/svc-02337 -type d -name '*.tmp' -delete 2>/dev/null
show the diff in /srv/svc-02338
git -C /srv/svc-02338 diff --name-status HEAD~2..HEAD | cat
search the svc-02339 directory tree
find /srv/svc-02339 -mindepth 1 -type f -name '*.conf' -mtime +7 -print | tee /tmp/svc-02339.out
list repository status details in /srv/svc-02340
git -C /srv/svc-02340 status --porcelain=v1 --show-stash | fold -w 120
locate matching files in /srv/svc-02341
find /srv/svc-02341 -type d -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
pretty-print JSON for svc-02342
jq -e '.items[] | select(.id == 2342) | .name' /srv/svc-02342/data.json | uniq
show running containers for svc-02343
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' | nl -ba | tee /tmp/svc-02343.out | head -n 20
filter JSON records for svc-02344
jq -S 'map(select(.status == "failed")) | length' /srv/svc-02344/config.json | head -n 20
clean up selected files in /srv/svc-02345
find /srv/svc-02345 -mindepth 1 -type f -name '*.conf' -mtime +30 -print | sort -n
locate matching files in /srv/svc-02346
find /srv/svc-02346 -mindepth 1 -type f -name '*.conf' -size +10M -delete | grep -v '^#'
inspect branch and file status for /srv/svc-02347
git -C /srv/svc-02347 status --show-stash --untracked-files=all | tail -n 20
search text for svc-02348
grep -Rn '^#' /etc/svc-02348/config.ini | wc -l
inspect running tasks for svc-02349
ps -p $(pgrep -f svc-02349) -o pid,cmd | cut -d, -f1
count matches in svc-02350 data
grep -RInE '^#' /etc/svc-02350/config.ini --include='*.py' | sed 's/^/ /'
give svc-02351 ownership of its data
chown svc-02351:svc-02351 /srv/svc-02351/data | sort -n
pretty-print JSON for svc-02352
jq --indent 2 '.services | keys[]' /srv/svc-02352/config.json | grep -i error
find files under /srv/svc-02353
find /srv/svc-02353 -mindepth 1 -type f -name '*.log' -size +50M -exec gzip {} + | head -n 50
search the svc-02354 directory tree
find /srv/svc-02354 -mindepth 1 -type f -name '*.conf' -print | tee -a /tmp/svc-02354.log
count matches in svc-02355 data
grep -RIn 'FIXME' /srv/svc-02355 --include='*.go' | wc -l
read container logs for svc-02356
docker logs --tail 100 svc-02356 2>&1 | cut -d: -f1
inspect pending changes in /srv/svc-02357
git -C /srv/svc-02357 diff --stat --cached | grep -i error
show git status for /srv/svc-02358
git -C /srv/svc-02358 status --short --ignored | cut -d, -f1
search the svc-02359 directory tree
find /srv/svc-02359 -maxdepth 2 -type f -name '*.log' -size +10M -exec gzip {} + | sort -k2
clean up selected files in /srv/svc-02360
find /srv/svc-02360 -type f -name '*.conf' -size +10M -print | sort -u
locate matching files in /srv/svc-02361
find /srv/svc-02361 -type l -name '*.log' -newermt '1 day ago' -delete 2>&1 | tee /tmp/svc-02361.log
diagnose routing to svc-02362.example.com
traceroute -n -f 2 svc-02362.example.com | less
query JSON data for svc-02363
jq -e '.metadata' /srv/svc-02363/jobs.json | paste -sd, -
query systemd status for svc-02364
systemctl reload svc-02364.timer --no-pager | sed 's/^/ /'
summarize git differences for /srv/svc-02365
git -C /srv/svc-02365 diff --color-words HEAD~1..HEAD src/ | rev
extract JSON fields for svc-02366
jq '.metadata' /srv/svc-02366/data.json | sort -k2
list matching paths under /srv/svc-02367
find /srv/svc-02367 -mindepth 1 -type f -name '*.json' -size +10M -print | uniq
query JSON data for svc-02368
jq -c '.metadata' /srv/svc-02368/users.json | head -n 50
display the commit log for /srv/svc-02369
git -C /srv/svc-02369 log --oneline -n 10 --grep='fix' | grep -v '^#'
clean up selected files in /srv/svc-02370
find /srv/svc-02370 -maxdepth 2 -type f -name '*.gz' -size +50M -exec gzip {} + | grep -E '^[^#]'
extract JSON fields for svc-02371
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-02371/data.json | sort -u
check port bindings for svc-02372
ss -tlnp | grep -E 'svc-02372|LISTEN' | tac
find files under /srv/svc-02373
find /srv/svc-02373 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec gzip {} + | grep -v '^#'
filter JSON records for svc-02374
jq 'map(select(.status == "failed")) | length' /srv/svc-02374/config.json | paste -sd, -
clean up selected files in /srv/svc-02375
find /srv/svc-02375 -type l -name '*.conf' -size +10M -exec gzip {} + | column -t
locate matching files in /srv/svc-02376
find /srv/svc-02376 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -delete | tee -a /tmp/svc-02376.log
summarize text columns for svc-02377
awk -F'\t' '{print $1}' /etc/passwd | cat | tee /tmp/svc-02377.out | head -n 20
query JSON data for svc-02378
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-02378/jobs.json | uniq -c
filter log content for svc-02379
grep -c 'panic[(]' /srv/svc-02379 | wc -l
clean up selected files in /srv/svc-02380
find /srv/svc-02380 -type d -name '*.tmp' -size +50M -exec ls -lh {} + | wc -l
start a disposable docker container for svc-02381
docker run --rm -d -v /srv/svc-02381:/data alpine:3.20 sh -c 'cat /etc/os-release' | sort -u