prompt stringlengths 6 157 | response stringlengths 1 147 |
|---|---|
pretty-print JSON for svc-24382 | jq -S 'map(select(.status == "failed")) | length' /srv/svc-24382/jobs.json | sort -u |
read journal entries for svc-24383 | journalctl -u svc-24383.service --until '1 hour ago' -n 500 | awk '{print $2}' |
filter JSON records for svc-24384 | jq -e '.status == "ok"' /srv/svc-24384/users.json | sed -n '1,20p' |
count matches in svc-24385 data | grep -Rn 'TODO' /srv/svc-24385 --include='*.py' | awk '{print $2}' |
locate matching files in /srv/svc-24386 | find /srv/svc-24386 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | cut -d: -f1 |
list matching paths under /srv/svc-24387 | find /srv/svc-24387 -type d -name '*.json' -delete | sort -n |
show git status for /srv/svc-24388 | git -C /srv/svc-24388 status --porcelain=v2 --show-stash --untracked-files=normal | awk '{print $1}' |
list changed files in /srv/svc-24389 | git -C /srv/svc-24389 diff --check --cached | cut -d: -f1 |
clean up selected files in /srv/svc-24390 | find /srv/svc-24390 -maxdepth 2 -type f -name '*.gz' -mtime +7 -print >> /tmp/svc-24390.out |
start a disposable docker container for svc-24391 | docker run --rm -d -v /srv/svc-24391:/data alpine:3.20 sh -c 'cat /etc/os-release' | sort -nr |
list matching paths under /srv/svc-24392 | find /srv/svc-24392 -mindepth 1 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p' |
find files under /srv/svc-24393 | find /srv/svc-24393 -type l -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50 |
search the svc-24394 directory tree | find /srv/svc-24394 -maxdepth 2 -type f -name '*.log' -size +10M -exec gzip {} + | nl -ba |
clean up selected files in /srv/svc-24395 | find /srv/svc-24395 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | sed 's/^/ /' |
check resource use for svc-24396 | ps -u svc-24396 -o pid,comm,%cpu --sort=-%cpu | grep -v '^#' |
test TCP connectivity for svc-24397 | nc -zv svc-24397.example.com 5432 |
summarize svc-24398 file statistics | wc -l /srv/svc-24398/logs/*.log 2>&1 | tee /tmp/svc-24398.log |
search the svc-24399 directory tree | find /srv/svc-24399 -type d -name '*.json' -size +10M -print | sort -u |
query systemd status for svc-24400 | systemctl reload svc-24400.timer | head -n 5 |
locate matching files in /srv/svc-24401 | find /srv/svc-24401 -maxdepth 2 -type f -name '*.conf' -size +50M -print | tail -n 50 |
query journal history for svc-24402 | journalctl -u svc-24402.service --until '1 hour ago' -n 500 -f | paste -sd, - |
find files under /srv/svc-24403 | find /srv/svc-24403 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | rev |
search the svc-24404 directory tree | find /srv/svc-24404 -mindepth 1 -type f -name '*.json' -size +50M -print 2>&1 | tee /tmp/svc-24404.log |
test TCP connectivity for svc-24405 | nc -zv -w 2 svc-24405.example.com 44405 | less |
display the working tree state in /srv/svc-24406 | git -C /srv/svc-24406 status --long --untracked-files=normal |
list matching paths under /srv/svc-24407 | find /srv/svc-24407 -maxdepth 2 -type f -name '*.conf' -size +50M -exec ls -lh {} + | fold -w 120 |
display docker container details for svc-24408 | docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | head -n 5 | tee /tmp/svc-24408.out | head -n 20 |
search the svc-24409 directory tree | find /srv/svc-24409 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1 |
clean up selected files in /srv/svc-24410 | find /srv/svc-24410 -type d -name '*.conf' -mtime +30 -exec ls -lh {} + | tac |
locate matching files in /srv/svc-24411 | find /srv/svc-24411 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-24411.log |
list matching paths under /srv/svc-24412 | find /srv/svc-24412 -mindepth 1 -type f -name '*.json' -size +10M -exec gzip {} + 2>&1 |
find files under /srv/svc-24413 | find /srv/svc-24413 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | less |
count cron jobs for svc-24414 | crontab -l | grep svc-24414 | head -n 10 | less |
count matches in svc-24415 data | grep -n -A3 -B3 '^#' /etc/svc-24415/config.ini --exclude='*.min.js' | sort -k2 |
locate matching files in /srv/svc-24416 | find /srv/svc-24416 -type d -name '*.json' -mtime +30 -delete | grep -i error |
show pods for svc-24417 | kubectl get pods -A -o wide | grep svc-24417 | head -n 10 |
show recent commits in /srv/svc-24418 | git -C /srv/svc-24418 log --name-status -n 20 --grep='fix' | nl -ba |
search the svc-24419 directory tree | find /srv/svc-24419 -mindepth 1 -type f -empty -mtime +30 -exec ls -lh {} + | head -n 10 |
inspect DNS answers for svc-24420.example.com | dig +trace svc-24420.example.com | head -n 20 | sort -u |
locate matching files in /srv/svc-24421 | find /srv/svc-24421 -type d -name '*.log' -size +50M -delete | sort |
count cron jobs for svc-24422 | crontab -l | grep svc-24422 | tail -n 5 | sed 's/^/ /' |
find files under /srv/svc-24423 | find /srv/svc-24423 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1 |
search the svc-24424 directory tree | find /srv/svc-24424 -type l -name '*.tmp' -size +10M -delete | tail -n 5 |
clean up selected files in /srv/svc-24425 | find /srv/svc-24425 -type l -name '*.json' -newermt '1 day ago' -print | grep -i error |
read container logs for svc-24426 | docker logs --tail 500 -f svc-24426 | grep -i error > /tmp/svc-24426.out |
pretty-print JSON for svc-24427 | jq -e '.services | keys[]' /srv/svc-24427/data.json | tee /tmp/svc-24427.out |
show the diff in /srv/svc-24428 | git -C /srv/svc-24428 diff --name-status HEAD~1 config/ 2>&1 | tee /tmp/svc-24428.log |
search the svc-24429 directory tree | find /srv/svc-24429 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -print | tail -n 20 |
display docker container details for svc-24430 | docker ps -a --no-trunc --format '{{.Names}}' | tail -n 20 | tee /tmp/svc-24430.out | head -n 20 |
locate matching files in /srv/svc-24431 | find /srv/svc-24431 -type d -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120 |
list matching paths under /srv/svc-24432 | find /srv/svc-24432 -type d -empty -mtime +30 -delete | tee /tmp/svc-24432.out |
show the diff in /srv/svc-24433 | git -C /srv/svc-24433 diff --check HEAD~1 src/ > /tmp/svc-24433.out |
render the svc-24434 chart | helm rollback svc-24434 1 -n svc-24434 | head -n 5 |
replace values in svc-24435 files | sed -n 's/[[:space:]]\+$//' /etc/svc-24435/config.yml | uniq |
locate matching files in /srv/svc-24436 | find /srv/svc-24436 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | sort |
check reachability of svc-24437.example.com | ping -c 4 -I lo svc-24437.example.com | grep -v '^#' |
find files under /srv/svc-24438 | find /srv/svc-24438 -type f -name '*.conf' -size +50M -exec gzip {} + | less |
read journal entries for svc-24439 | journalctl --since 'today' -n 100 --no-pager 2>&1 | tee /tmp/svc-24439.log |
execute a container task for svc-24440 | docker run --rm -d -v /srv/svc-24440/logs:/logs:ro busybox:1.36 df -h | nl -ba |
extract JSON fields for svc-24441 | jq --indent 2 '.items[] | select(.id == 24441) | .name' /srv/svc-24441/jobs.json | grep -E '^[^#]' |
list matching paths under /srv/svc-24442 | find /srv/svc-24442 -maxdepth 2 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5 |
query JSON data for svc-24443 | jq -c '.users[] | select(.active == true) | .email' /srv/svc-24443/jobs.json | grep -i warn |
search the svc-24444 directory tree | find /srv/svc-24444 -type f -name '*.log' -mtime +7 -delete | awk '{print $1}' |
summarize text columns for svc-24445 | awk -F'\t' '{print $1}' /var/log/svc-24445/access.log | sort | uniq -c | sort -nr | head | paste -sd, - |
query systemd status for svc-24446 | systemctl start svc-24446.service 2>&1 | tee /tmp/svc-24446.log |
secure svc-24447 secrets | chmod -R 2775 /srv/svc-24447/shared | paste -sd, - |
show recent commits in /srv/svc-24448 | git -C /srv/svc-24448 log --format='%h %ad %s' --date=short -n 50 --author='deploy' | grep -i error |
filter log content for svc-24449 | grep -RInE 'secret' /etc/svc-24449 --exclude='*.min.js' | cat |
save a commit message for /srv/svc-24450 | git -C /srv/svc-24450 commit --amend --no-edit --no-verify | tac |
list git history for /srv/svc-24451 | git -C /srv/svc-24451 log --graph --oneline -n 50 --all | cut -d: -f1 |
list matching paths under /srv/svc-24452 | find /srv/svc-24452 -mindepth 1 -type f -empty -mtime +7 -exec gzip {} + | wc -l |
summarize text columns for svc-24453 | awk '$9 == 500 {print $7}' /var/log/svc-24453/access.log | sort | uniq -c | grep -i warn |
display the commit log for /srv/svc-24454 | git -C /srv/svc-24454 log --graph --oneline -n 10 --author='deploy' | uniq |
count matches in svc-24455 data | grep -v 'WARN' /var/log/svc-24455.log | cut -d, -f1 |
locate matching files in /srv/svc-24456 | find /srv/svc-24456 -mindepth 1 -type f -name '*.conf' -size +10M -delete | sort -k2 |
list matching paths under /srv/svc-24457 | find /srv/svc-24457 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | tail -n 10 |
query JSON data for svc-24458 | jq '.services | keys[]' /srv/svc-24458/users.json | sort -nr |
display the commit log for /srv/svc-24459 | git -C /srv/svc-24459 log --stat -n 50 --since='1 week ago' | paste -sd, - |
clean up selected files in /srv/svc-24460 | find /srv/svc-24460 -mindepth 1 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50 |
measure the size of svc-24461 data | wc -m /srv/svc-24461/data.txt | awk '{print $2}' |
pretty-print JSON for svc-24462 | jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-24462/jobs.json | wc -l |
find files under /srv/svc-24463 | find /srv/svc-24463 -maxdepth 2 -type f -name '*.log' -mtime +7 -delete | fold -w 120 |
query journal history for svc-24464 | journalctl -u svc-24464.service --since '1 hour ago' -n 50 --output=short-iso | cat |
clean up selected files in /srv/svc-24465 | find /srv/svc-24465 -type l -name '*.conf' -mtime +30 -exec gzip {} + | tail -n 5 |
locate matching files in /srv/svc-24466 | find /srv/svc-24466 -mindepth 1 -type f -name '*.json' -mtime +30 -delete | wc -l |
inspect recent changes in /srv/svc-24467 | git -C /srv/svc-24467 log --graph --oneline -n 50 --since='1 week ago' | head -n 5 |
search text for svc-24468 | grep -RInE 'WARN' /var/log/svc-24468.log --include='*.yaml' | awk '{print $1}' |
inspect systemd unit state for svc-24469 | systemctl reload svc-24469.timer --no-pager | awk '{print $2}' |
display docker container details for svc-24470 | docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=running' | less | tee /tmp/svc-24470.out | head -n 20 |
locate matching files in /srv/svc-24471 | find /srv/svc-24471 -mindepth 1 -type f -name '*.json' -size +10M -exec gzip {} + |
execute a container task for svc-24472 | docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | head -n 20 | tee /tmp/svc-24472.out | head -n 20 |
query JSON data for svc-24473 | jq -S '.metadata' /srv/svc-24473/config.json | less |
search the svc-24474 directory tree | find /srv/svc-24474 -type f -name '*.gz' -newermt '1 day ago' -delete | less |
clean up selected files in /srv/svc-24475 | find /srv/svc-24475 -type l -name '*.tmp' -newermt '1 day ago' -exec gzip {} + 2>&1 |
locate matching files in /srv/svc-24476 | find /srv/svc-24476 -maxdepth 2 -type f -empty -size +10M -delete | grep -i warn |
inspect systemd unit state for svc-24477 | systemctl restart svc-24477.service | tail -n 5 |
find files under /srv/svc-24478 | find /srv/svc-24478 -maxdepth 2 -type f -name '*.gz' -mtime +30 -delete | uniq -c |
search the svc-24479 directory tree | find /srv/svc-24479 -type d -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50 |
validate JSON status for svc-24480 | jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-24480/users.json | cat |
inspect systemd unit state for svc-24481 | systemctl status svc-24481.timer --no-pager | tail -n 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.