prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-29282
find /srv/svc-29282 -type l -name '*.gz' -size +10M -exec gzip {} + | sed 's/^/ /'
list scheduled jobs for svc-29283
crontab -l | grep svc-29283 | cut -d' ' -f1-5 | awk '{print $1}'
find duplicate values for svc-29284
uniq -u /var/log/svc-29284.log 2>&1 | tee /tmp/svc-29284.log
clean up selected files in /srv/svc-29285
find /srv/svc-29285 -type l -name '*.conf' -delete | sort -nr
locate matching files in /srv/svc-29286
find /srv/svc-29286 -mindepth 1 -type f -name '*.log' -exec ls -lh {} + | sort -k2
list matching paths under /srv/svc-29287
find /srv/svc-29287 -maxdepth 2 -type f -name '*.json' -size +10M -exec gzip {} + | sort -n
find files under /srv/svc-29288
find /srv/svc-29288 -maxdepth 2 -type f -name '*.tmp' -exec ls -lh {} + | head -n 5
filter JSON records for svc-29289
jq '.users[] | select(.active == true) | .email' /srv/svc-29289/data.json | cut -d: -f1
clean up selected files in /srv/svc-29290
find /srv/svc-29290 -mindepth 1 -type f -name '*.tmp' -mtime +30 -print | wc -l
locate matching files in /srv/svc-29291
find /srv/svc-29291 -maxdepth 2 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
list matching paths under /srv/svc-29292
find /srv/svc-29292 -type d -name '*.json' -mtime +30 -exec ls -lh {} + | nl -ba
find files under /srv/svc-29293
find /srv/svc-29293 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | sed -n '1,20p'
search the svc-29294 directory tree
find /srv/svc-29294 -mindepth 1 -type f -empty -mtime +7 -print | nl -ba
clean up selected files in /srv/svc-29295
find /srv/svc-29295 -type f -name '*.log' -newermt '1 day ago' -delete 2>/dev/null
locate matching files in /srv/svc-29296
find /srv/svc-29296 -type l -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | tail -n 5
list matching paths under /srv/svc-29297
find /srv/svc-29297 -mindepth 1 -type f -empty -mtime +7 -print 2>&1
query JSON data for svc-29298
jq '.items[] | [.id, .name] | @tsv' /srv/svc-29298/jobs.json | wc -l
filter JSON records for svc-29299
jq --indent 2 '.items[] | .name' /srv/svc-29299/jobs.json | paste -sd, -
query journal history for svc-29300
journalctl --since '1 hour ago' -u svc-29300.service --no-pager | tr -s ' '
extract JSON fields for svc-29301
jq '.services | keys[]' /srv/svc-29301/users.json
pretty-print JSON for svc-29302
jq -S '.services | keys[]' /srv/svc-29302/data.json | uniq
inspect systemd unit state for svc-29303
systemctl is-enabled svc-29303.timer --no-pager | tail -n 20
process log fields for svc-29304
awk -F'\t' '$9 == 500 {print $7}' /var/log/svc-29304/access.log | sort | uniq -c | fold -w 120
validate JSON status for svc-29305
jq -e '.items[] | .name' /srv/svc-29305/config.json | head -n 20
locate matching files in /srv/svc-29306
find /srv/svc-29306 -maxdepth 2 -type f -name '*.json' -size +50M -print | cut -d, -f1
create a backup tarball for svc-29307
tar -tvf /backup/svc-29307.tar.gz | head -n 20 | awk '{print $1}'
find files under /srv/svc-29308
find /srv/svc-29308 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
show pods for svc-29309
kubectl get all -n svc-29309 | sort -u
display docker container details for svc-29310
docker ps --latest --filter 'status=exited' | awk '{print $1}' | tee /tmp/svc-29310.out | head -n 20
locate matching files in /srv/svc-29311
find /srv/svc-29311 -mindepth 1 -type f -name '*.json' -size +10M -delete | tail -n 10
list matching paths under /srv/svc-29312
find /srv/svc-29312 -type l -name '*.tmp' -delete | cat
find files under /srv/svc-29313
find /srv/svc-29313 -mindepth 1 -type f -empty -size +50M -delete | column -t
search the svc-29314 directory tree
find /srv/svc-29314 -mindepth 1 -type f -name '*.log' -size +10M -exec gzip {} + | grep -E '^[^#]'
clean up selected files in /srv/svc-29315
find /srv/svc-29315 -type f -name '*.json' -mtime +30 -print | tail -n 20
locate matching files in /srv/svc-29316
find /srv/svc-29316 -type d -empty -newermt '1 day ago' -exec ls -lh {} + | tr -s ' '
scan configuration files for svc-29317
grep -RInE 'WARN' /var/log/svc-29317.log --include='*.yaml' | cut -d: -f1
query JSON data for svc-29318
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-29318/users.json | tac
check changed files in /srv/svc-29319
git -C /srv/svc-29319 status --short --untracked-files=normal | head -n 5
list repository status details in /srv/svc-29320
git -C /srv/svc-29320 status --show-stash | awk '{print $2}'
locate matching files in /srv/svc-29321
find /srv/svc-29321 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete | sort -u
list matching paths under /srv/svc-29322
find /srv/svc-29322 -type d -name '*.json' -mtime +30 -exec gzip {} + | grep -i error
search text for svc-29323
grep -Rn '^#' /etc/svc-29323/config.ini --include='*.yaml' | tee -a /tmp/svc-29323.log
filter JSON records for svc-29324
jq -c '.items[] | select(.id == 29324) | .name' /srv/svc-29324/users.json | cut -d: -f1
print a git log summary for /srv/svc-29325
git -C /srv/svc-29325 log --name-status -n 20 --since='1 week ago' | grep -E '^[^#]'
post a test request for svc-29326
curl -I http://127.0.0.1:49326/svc-29326/ | fold -w 120
pretty-print JSON for svc-29327
jq -c '.services | keys[]' /srv/svc-29327/data.json | sort
find processes using svc-29328 files
lsof -u svc-29328 2>/dev/null
filter JSON records for svc-29329
jq '.items[] | [.id, .name] | @tsv' /srv/svc-29329/config.json 2>&1
clean up selected files in /srv/svc-29330
find /srv/svc-29330 -type l -name '*.log' -print | rev
secure svc-29331 secrets
chmod u+x /srv/svc-29331/bin/start.sh | rev
scan configuration files for svc-29332
grep -v 'timeout' /var/log/svc-29332.log | tail -n 5
find files under /srv/svc-29333
find /srv/svc-29333 -maxdepth 2 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | rev
search the svc-29334 directory tree
find /srv/svc-29334 -type f -name '*.log' -size +50M -exec ls -lh {} + | sort -nr
secure svc-29335 secrets
chmod 600 /etc/svc-29335/id_rsa 2>&1
locate matching files in /srv/svc-29336
find /srv/svc-29336 -maxdepth 2 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cat
scan configuration files for svc-29337
grep -n -A3 -B3 'TODO' /srv/svc-29337 --include='*.yaml' | tr -s ' '
find files under /srv/svc-29338
find /srv/svc-29338 -type d -empty -exec ls -lh {} + | sort
filter JSON records for svc-29339
jq -c '.status == "ok"' /srv/svc-29339/data.json || true
validate JSON status for svc-29340
jq -S '.metadata' /srv/svc-29340/users.json | sort -n
locate matching files in /srv/svc-29341
find /srv/svc-29341 -maxdepth 2 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-29341.out
list matching paths under /srv/svc-29342
find /srv/svc-29342 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | head -n 50
find files under /srv/svc-29343
find /srv/svc-29343 -mindepth 1 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-29343.out
search the svc-29344 directory tree
find /srv/svc-29344 -mindepth 1 -type f -name '*.gz' -size +10M -delete | cat
clean up selected files in /srv/svc-29345
find /srv/svc-29345 -maxdepth 2 -type f -name '*.json' -mtime +7 -exec ls -lh {} + > /tmp/svc-29345.out
locate matching files in /srv/svc-29346
find /srv/svc-29346 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -delete | sort -nr
list matching paths under /srv/svc-29347
find /srv/svc-29347 -type l -name '*.log' -exec gzip {} + 2>&1 | tee /tmp/svc-29347.log
show the diff in /srv/svc-29348
git -C /srv/svc-29348 diff --stat origin/main...HEAD config/ | sort -u
search the svc-29349 directory tree
find /srv/svc-29349 -mindepth 1 -type f -name '*.log' -size +50M -exec ls -lh {} + | sort -n
display docker container details for svc-29350
docker ps -q | fold -w 120 | tee /tmp/svc-29350.out | head -n 20
locate matching files in /srv/svc-29351
find /srv/svc-29351 -type f -name '*.gz' -size +50M -exec ls -lh {} + | tail -n 20
list matching paths under /srv/svc-29352
find /srv/svc-29352 -maxdepth 2 -type f -empty -print | wc -l
show git status for /srv/svc-29353
git -C /srv/svc-29353 status --long --untracked-files=normal | grep -i warn
display docker container details for svc-29354
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-29354' | tac
read journal entries for svc-29355
journalctl -u svc-29355.service --since '1 hour ago' -n 100 | head -n 10
assign svc-29356 files to the service user
chown -h svc-29356:svc-29356 /srv/svc-29356/current | tail -n 50
replace values in svc-29357 files
sed '1,120p' /var/log/svc-29357.log | tee -a /tmp/svc-29357.log
find files under /srv/svc-29358
find /srv/svc-29358 -type l -empty -size +10M -delete
filter JSON records for svc-29359
jq -S '.metadata' /srv/svc-29359/jobs.json | head -n 10
read container logs for svc-29360
docker logs --since '24h' --timestamps svc-29360 | less
replace values in svc-29361 files
sed -i.bak '/start/,/end/p' /etc/svc-29361/config.yml | cut -d, -f1
list matching paths under /srv/svc-29362
find /srv/svc-29362 -maxdepth 2 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | cut -d: -f1
copy application data for svc-29363
rsync -av --include='*.conf' --exclude='*' /srv/svc-29363/ backup@host:/backups/svc-29363/ | sed 's/^/ /'
filter log content for svc-29364
grep -c 'ERROR' /var/log/svc-29364.log | tail -n 5
count matches in svc-29365 data
grep -c 'secret' /etc/svc-29365 | sort -n
list svc-29366 account details
id svc-29366 | sed 's/^/ /'
scan configuration files for svc-29367
grep -c 'FIXME' /srv/svc-29367 --include='*.yaml' | head -n 5
search text for svc-29368
grep -RIn 'FIXME' /srv/svc-29368 --exclude='*.min.js' | head -n 20
filter log content for svc-29369
grep -v '^#' /etc/svc-29369/config.ini --include='*.py' | head -n 10
clean up selected files in /srv/svc-29370
find /srv/svc-29370 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
locate matching files in /srv/svc-29371
find /srv/svc-29371 -mindepth 1 -type f -empty -size +10M -delete | head -n 20
sort svc-29372 files with custom fields
sort -k2,2 /etc/svc-29372/hosts >> /tmp/svc-29372.out
find files under /srv/svc-29373
find /srv/svc-29373 -maxdepth 2 -type f -name '*.json' -mtime +7 -print 2>&1 | tee /tmp/svc-29373.log
display docker container details for svc-29374
docker ps -q --format 'table {{.Names}}\t{{.Status}}' | head -n 5 | tee /tmp/svc-29374.out | head -n 20
summarize git differences for /srv/svc-29375
git -C /srv/svc-29375 diff --name-status HEAD~1 src/ | head -n 20
display docker container details for svc-29376
docker ps -aq --format '{{.Names}}' --filter 'label=app=svc-29376' | cut -d, -f1
inspect recent changes in /srv/svc-29377
git -C /srv/svc-29377 log --oneline -n 100 --since='1 week ago' | sort -n
show recent commits in /srv/svc-29378
git -C /srv/svc-29378 log --name-status -n 100 --since='1 week ago' || true
search the svc-29379 directory tree
find /srv/svc-29379 -type d -name '*.conf' -newermt '1 day ago' -exec gzip {} + | less
clean up selected files in /srv/svc-29380
find /srv/svc-29380 -type f -name '*.gz' -newermt '1 day ago' -print | wc -l
locate matching files in /srv/svc-29381
find /srv/svc-29381 -maxdepth 2 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10