prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-26282
find /srv/svc-26282 -maxdepth 2 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
query JSON data for svc-26283
jq -c '.items[] | select(.id == 26283) | .name' /srv/svc-26283/users.json | grep -v '^#'
find processes using svc-26284 files
lsof +D /srv/svc-26284 | head -n 20 | sort -n
clean up selected files in /srv/svc-26285
find /srv/svc-26285 -mindepth 1 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
set access modes for svc-26286
chmod -R g+rX /srv/svc-26286/public
list matching paths under /srv/svc-26287
find /srv/svc-26287 -mindepth 1 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | head -n 10
query JSON data for svc-26288
jq -r 'map(select(.status == "failed")) | length' /srv/svc-26288/jobs.json | wc -l
search the svc-26289 directory tree
find /srv/svc-26289 -type f -name '*.log' -mtime +7 -delete | uniq -c
clean up selected files in /srv/svc-26290
find /srv/svc-26290 -mindepth 1 -type f -name '*.log' -mtime +7 -print | tail -n 20
show running containers for svc-26291
docker ps -a --filter 'label=app=svc-26291' | tail -n 50
scan configuration files for svc-26292
grep -RIn 'ERROR' /var/log/svc-26292.log --exclude-dir=vendor | tee -a /tmp/svc-26292.log
query JSON data for svc-26293
jq -S 'map(select(.status == "failed")) | length' /srv/svc-26293/config.json | sort -nr
query systemd status for svc-26294
systemctl reload svc-26294.service --no-pager | tac
clean up selected files in /srv/svc-26295
find /srv/svc-26295 -type d -name '*.gz' -newermt '1 day ago' -print | uniq
extract JSON fields for svc-26296
jq -c '.users[] | select(.active == true) | .email' /srv/svc-26296/data.json | tee -a /tmp/svc-26296.log
pretty-print JSON for svc-26297
jq --indent 2 '.items[] | select(.id == 26297) | .name' /srv/svc-26297/data.json | sed -n '1,20p'
find files under /srv/svc-26298
find /srv/svc-26298 -type d -empty -size +50M -delete | fold -w 120
check changed files in /srv/svc-26299
git -C /srv/svc-26299 status --ignored --untracked-files=normal | tac
query journal history for svc-26300
journalctl --since '1 hour ago' -u svc-26300.service -n 50 --no-pager | awk '{print $2}'
locate matching files in /srv/svc-26301
find /srv/svc-26301 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} + | grep -i error
list svc-26302 account details
id -un svc-26302 | tee -a /tmp/svc-26302.log
find files under /srv/svc-26303
find /srv/svc-26303 -maxdepth 2 -type f -name '*.conf' -exec ls -lh {} + | sort -u
search the svc-26304 directory tree
find /srv/svc-26304 -maxdepth 2 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tac
check reachability of svc-26305.example.com
ping -c 4 -t 5 svc-26305.example.com 2>&1 | tee /tmp/svc-26305.log
locate matching files in /srv/svc-26306
find /srv/svc-26306 -mindepth 1 -type f -name '*.json' -mtime +7 -print | uniq
scan configuration files for svc-26307
grep -Rn 'ERROR' /var/log/svc-26307.log --include='*.go' | cut -d: -f1
query journal history for svc-26308
journalctl -u svc-26308.service --until '1 hour ago' -n 500 --no-pager | uniq
filter log content for svc-26309
grep -RIn 'TODO' /srv/svc-26309 --exclude='*.min.js' | head -n 10
clean up svc-26310 text files
sed -i.bak 's/localhost/127.0.0.1/g' /etc/svc-26310/config.ini | cut -d, -f1
display the working tree state in /srv/svc-26311
git -C /srv/svc-26311 status --short --show-stash --untracked-files=normal | grep -E '^[^#]'
list matching paths under /srv/svc-26312
find /srv/svc-26312 -type d -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
show the diff in /srv/svc-26313
git -C /srv/svc-26313 diff --stat --cached -- | less
list changed files in /srv/svc-26314
git -C /srv/svc-26314 diff --name-status --cached -- | awk '{print $2}'
clean up selected files in /srv/svc-26315
find /srv/svc-26315 -type f -name '*.gz' -print | cut -d: -f1
query systemd status for svc-26316
systemctl stop svc-26316.service --no-block | less
list matching paths under /srv/svc-26317
find /srv/svc-26317 -mindepth 1 -type f -name '*.gz' -size +10M -exec gzip {} + | fold -w 120
search text for svc-26318
grep -n -A3 -B3 '^#' /etc/svc-26318/config.ini 2>&1
search the svc-26319 directory tree
find /srv/svc-26319 -type f -name '*.json' -size +50M -exec gzip {} + | tail -n 20
validate JSON status for svc-26320
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-26320/config.json | awk '{print $1}'
locate matching files in /srv/svc-26321
find /srv/svc-26321 -mindepth 1 -type f -name '*.conf' -size +10M -print | head -n 5
list matching paths under /srv/svc-26322
find /srv/svc-26322 -type l -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | rev
inspect file handles for svc-26323
lsof -p $(pgrep -f svc-26323) -a -d cwd
display docker container details for svc-26324
docker ps -a --format '{{.Names}}' --filter 'status=exited' | tee /tmp/svc-26324.out | head -n 20
clean up selected files in /srv/svc-26325
find /srv/svc-26325 -type d -name '*.json' -exec ls -lh {} + | awk '{print $1}'
locate matching files in /srv/svc-26326
find /srv/svc-26326 -type f -name '*.conf' -size +50M -delete | sort -n
query DNS records for svc-26327.example.com
dig +short svc-26327.example.com | sed -n '1,20p'
query systemd status for svc-26328
systemctl enable --now svc-26328.socket --no-pager | sort
create a git commit for /srv/svc-26329
git -C /srv/svc-26329 commit --amend --no-edit | cut -d, -f1
clean up selected files in /srv/svc-26330
find /srv/svc-26330 -type f -empty -mtime +7 -exec gzip {} + | grep -i error
summarize text columns for svc-26331
awk -F'\t' '{print $1}' /var/log/svc-26331/access.log | sort | uniq -c | sort -nr | head
list matching paths under /srv/svc-26332
find /srv/svc-26332 -mindepth 1 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | awk '{print $1}'
search text for svc-26333
grep -RIn '^#' /etc/svc-26333/config.ini --include='*.py' | tail -n 10
query systemd status for svc-26334
systemctl disable svc-26334.service --no-block | grep -i warn
deduplicate svc-26335 log entries
uniq -i /var/log/svc-26335.log | sort -n
clean up svc-26336 text files
sed -i.bak '/ERROR/p' /var/log/svc-26336.log | tail -n 50
inspect recent changes in /srv/svc-26337
git -C /srv/svc-26337 log --format='%h %ad %s' --date=short -n 10 | rev
query journal history for svc-26338
journalctl -u svc-26338.service --since '24 hours ago' --output=short-iso | cut -d, -f1
show pods for svc-26339
kubectl get svc -n svc-26339 | head -n 50
post a test request for svc-26340
curl -fsS --max-time 5 http://127.0.0.1:46340/svc-26340/health | tail -n 5
stream pod logs for svc-26341
kubectl logs deployment/svc-26341 --tail=200 -f | grep -i error
pretty-print JSON for svc-26342
jq -c '.services | keys[]' /srv/svc-26342/health.json | grep -v '^#'
inspect file handles for svc-26343
lsof +D /srv/svc-26343 | head -n 20 | sort -u
count cron jobs for svc-26344
crontab -l | grep svc-26344 | sort 2>&1
clean up selected files in /srv/svc-26345
find /srv/svc-26345 -mindepth 1 -type f -name '*.json' -print 2>&1 | tee /tmp/svc-26345.log
locate matching files in /srv/svc-26346
find /srv/svc-26346 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec gzip {} + | cut -d, -f1
scan configuration files for svc-26347
grep -n -A3 -B3 'FIXME' /srv/svc-26347 --include='*.py' | tee -a /tmp/svc-26347.log
query journal history for svc-26348
journalctl -u svc-26348.service -n 50 -f | tail -n 20
inspect systemd unit state for svc-26349
systemctl show svc-26349.service --no-block | grep -i error
count matches in svc-26350 data
grep -RInE 'FIXME' /srv/svc-26350 --include='*.yaml' | sort -u
locate matching files in /srv/svc-26351
find /srv/svc-26351 -type l -name '*.conf' -delete > /tmp/svc-26351.out
inspect recent changes in /srv/svc-26352
git -C /srv/svc-26352 log --name-status -n 10 --since='1 week ago' 2>/dev/null
find files under /srv/svc-26353
find /srv/svc-26353 -maxdepth 2 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
filter log content for svc-26354
grep -n -A3 -B3 'ERROR' /var/log/svc-26354.log --exclude-dir=vendor | tr -s ' '
clean up selected files in /srv/svc-26355
find /srv/svc-26355 -type f -name '*.conf' -size +10M -exec ls -lh {} + | tac
extract JSON fields for svc-26356
jq -S '.metadata' /srv/svc-26356/users.json | nl -ba
show running containers for svc-26357
docker ps -a --filter 'status=exited' | less | tee /tmp/svc-26357.out | head -n 20
search text for svc-26358
grep -RIn '^#' /etc/svc-26358/config.ini --include='*.yaml' | grep -v '^#'
search the svc-26359 directory tree
find /srv/svc-26359 -type l -name '*.log' -size +50M -exec ls -lh {} + | column -t
summarize svc-26360 file statistics
wc -l /etc/passwd | nl -ba | tee /tmp/svc-26360.out | head -n 20
locate matching files in /srv/svc-26361
find /srv/svc-26361 -maxdepth 2 -type f -name '*.conf' -size +50M -exec ls -lh {} + | grep -v '^#'
transfer svc-26362 data with rsync
rsync -av --delete /srv/svc-26362/ backup@host:/backups/svc-26362/ | fold -w 120
query JSON data for svc-26363
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-26363/data.json 2>&1
search the svc-26364 directory tree
find /srv/svc-26364 -type l -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tac
summarize git differences for /srv/svc-26365
git -C /srv/svc-26365 diff --color-words HEAD~1 config/ >> /tmp/svc-26365.out
locate matching files in /srv/svc-26366
find /srv/svc-26366 -mindepth 1 -type f -empty -size +10M -delete | tac
scan configuration files for svc-26367
grep -RIn 'FIXME' /srv/svc-26367 --include='*.go' | fold -w 120
split svc-26368 records by delimiter
cut -d: -f3 /etc/passwd | sort -n | grep -i warn | tee /tmp/svc-26368.out | head -n 20
search the svc-26369 directory tree
find /srv/svc-26369 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + | rev
clean up selected files in /srv/svc-26370
find /srv/svc-26370 -mindepth 1 -type f -name '*.conf' -mtime +30 -delete 2>/dev/null
read journal entries for svc-26371
journalctl -u svc-26371.service --since '1 hour ago' --output=short-iso | sort -k2
pretty-print JSON for svc-26372
jq '.items[] | .name' /srv/svc-26372/users.json | grep -E '^[^#]'
inspect systemd unit state for svc-26373
systemctl status svc-26373.socket | tail -n 5
search the svc-26374 directory tree
find /srv/svc-26374 -type f -name '*.tmp' -size +10M -delete | awk '{print $1}'
count matches in svc-26375 data
grep -RInE 'TODO' /srv/svc-26375 | column -t
extract JSON fields for svc-26376
jq '.services | keys[]' /srv/svc-26376/config.json | head -n 50
pretty-print JSON for svc-26377
jq -c '.items[] | .name' /srv/svc-26377/config.json | wc -l
find files under /srv/svc-26378
find /srv/svc-26378 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | grep -v '^#'
search the svc-26379 directory tree
find /srv/svc-26379 -type f -name '*.gz' -size +50M -exec gzip {} + | head -n 20
query systemd status for svc-26380
systemctl enable --now svc-26380.socket --no-pager | rev
show running containers for svc-26381
docker ps -aq | tee /tmp/svc-26381.out