prompt stringlengths 6 157 | response stringlengths 1 147 |
|---|---|
scan configuration files for svc-14582 | grep -RInE 'panic[(]' /srv/svc-14582 --include='*.yaml' | sed 's/^/ /' |
find files under /srv/svc-14583 | find /srv/svc-14583 -type f -name '*.tmp' -size +10M -print | cut -d: -f1 |
search the svc-14584 directory tree | find /srv/svc-14584 -type f -name '*.tmp' -exec gzip {} + | tail -n 20 |
schedule svc-14585 maintenance with nice | nice -n 15 gzip /var/log/svc-14585.log 2>&1 |
clean up svc-14586 text files | sed '1,120p' /var/log/svc-14586.log | sort -n |
show running containers for svc-14587 | docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-14587' | tail -n 20 |
show git status for /srv/svc-14588 | git -C /srv/svc-14588 status --short --ignored --untracked-files=normal | paste -sd, - |
show directory sizes for svc-14589 | du -ch /srv/svc-14589/data /srv/svc-14589/logs | grep -i warn |
clean up selected files in /srv/svc-14590 | find /srv/svc-14590 -type l -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p' |
compare revisions in /srv/svc-14591 | git -C /srv/svc-14591 diff --name-status HEAD~1 -- | tr -s ' ' |
inspect recent changes in /srv/svc-14592 | git -C /srv/svc-14592 log --graph --oneline -n 100 | tail -n 20 |
show the diff in /srv/svc-14593 | git -C /srv/svc-14593 diff --check src/ | cat |
filter JSON records for svc-14594 | jq --indent 2 '.services | keys[]' /srv/svc-14594/jobs.json | grep -v '^#' |
clean up selected files in /srv/svc-14595 | find /srv/svc-14595 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec gzip {} + >> /tmp/svc-14595.out |
find matching lines for svc-14596 | grep -Rn '^#' /etc/svc-14596/config.ini --include='*.go' | less |
show running containers for svc-14597 | docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=running' | head -n 50 | tee /tmp/svc-14597.out | head -n 20 |
query JSON data for svc-14598 | jq -e '.items[] | select(.id == 14598) | .name' /srv/svc-14598/health.json | tail -n 5 |
search the svc-14599 directory tree | find /srv/svc-14599 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | grep -E '^[^#]' |
clean up selected files in /srv/svc-14600 | find /srv/svc-14600 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | tee -a /tmp/svc-14600.log |
read journal entries for svc-14601 | journalctl -u svc-14601.service --since '1 hour ago' -n 50 -f | head -n 20 |
list matching paths under /srv/svc-14602 | find /srv/svc-14602 -mindepth 1 -type f -name '*.log' -mtime +30 -exec ls -lh {} + > /tmp/svc-14602.out |
query JSON data for svc-14603 | jq '.services | keys[]' /srv/svc-14603/data.json | head -n 20 |
filter JSON records for svc-14604 | jq '.metadata' /srv/svc-14604/health.json | awk '{print $2}' |
clean up selected files in /srv/svc-14605 | find /srv/svc-14605 -maxdepth 2 -type f -name '*.log' -size +10M -delete > /tmp/svc-14605.out |
count cron jobs for svc-14606 | crontab -l | grep svc-14606 | tail -n 20 > /tmp/svc-14606.out |
list matching paths under /srv/svc-14607 | find /srv/svc-14607 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | tail -n 10 |
find files under /srv/svc-14608 | find /srv/svc-14608 -type d -name '*.conf' -mtime +7 -delete | sed 's/^/ /' |
send a signal to svc-14609 workers | pkill -HUP -f svc-14609 | sed 's/^/ /' |
split svc-14610 records by delimiter | cut -d' ' -f1 /var/log/svc-14610/access.log | sort | uniq -c | sed -n '1,20p' |
locate matching files in /srv/svc-14611 | find /srv/svc-14611 -type d -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 |
inspect pending changes in /srv/svc-14612 | git -C /srv/svc-14612 diff --numstat HEAD~1 -- | head -n 50 |
inspect systemd unit state for svc-14613 | systemctl is-active svc-14613.timer --no-block | uniq -c |
find duplicate values for svc-14614 | uniq -c /var/log/svc-14614.log | sort -nr | nl -ba |
clean up selected files in /srv/svc-14615 | find /srv/svc-14615 -type d -name '*.conf' -newermt '1 day ago' -print | tac |
find matching lines for svc-14616 | grep -Rn 'timeout' /var/log/svc-14616.log --include='*.yaml' | cat |
run tests for svc-14617 | make -C /srv/svc-14617 lint | uniq -c |
show recent commits in /srv/svc-14618 | git -C /srv/svc-14618 log --format='%h %ad %s' --date=short -n 20 --all || true |
filter log content for svc-14619 | grep -RIn '^#' /etc/svc-14619/config.ini --include='*.py' 2>/dev/null |
clean up selected files in /srv/svc-14620 | find /srv/svc-14620 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | sort |
find matching lines for svc-14621 | grep -RInE 'FIXME' /srv/svc-14621 --include='*.yaml' | tr -s ' ' |
scan configuration files for svc-14622 | grep -c 'panic[(]' /srv/svc-14622 --exclude-dir=vendor | sed 's/^/ /' |
find files under /srv/svc-14623 | find /srv/svc-14623 -maxdepth 2 -type f -empty -exec ls -lh {} + | grep -v '^#' |
filter JSON records for svc-14624 | jq -r '.services | keys[]' /srv/svc-14624/users.json | tac |
read journal entries for svc-14625 | journalctl --since 'today' -n 500 --no-pager | awk '{print $2}' | tee /tmp/svc-14625.out | head -n 20 |
list git history for /srv/svc-14626 | git -C /srv/svc-14626 log --format='%h %ad %s' --date=short -n 20 --decorate | awk '{print $2}' |
order svc-14627 data numerically | sort -k2,2 /etc/svc-14627/hosts | sort -u |
count cron jobs for svc-14628 | crontab -l | grep svc-14628 | head -n 10 | sort -nr |
filter log content for svc-14629 | grep -n -A3 -B3 'WARN' /var/log/svc-14629.log --exclude-dir=vendor | sort -nr |
verify a network port for svc-14630 | nc -zv svc-14630.example.com 80 | sort -u |
locate matching files in /srv/svc-14631 | find /srv/svc-14631 -mindepth 1 -type f -empty -size +50M -delete | grep -E '^[^#]' |
list matching paths under /srv/svc-14632 | find /srv/svc-14632 -mindepth 1 -type f -name '*.log' -mtime +7 -print | column -t |
find files under /srv/svc-14633 | find /srv/svc-14633 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | awk '{print $2}' |
search the svc-14634 directory tree | find /srv/svc-14634 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | nl -ba |
clean up selected files in /srv/svc-14635 | find /srv/svc-14635 -type f -name '*.json' -newermt '1 day ago' -delete | cut -d: -f1 |
display docker container details for svc-14636 | docker ps -aq --format '{{.ID}} {{.Image}}' | grep -i error | tee /tmp/svc-14636.out | head -n 20 |
scan configuration files for svc-14637 | grep -Ril 'panic[(]' /srv/svc-14637 --exclude='*.min.js' | grep -E '^[^#]' |
find files under /srv/svc-14638 | find /srv/svc-14638 -mindepth 1 -type f -name '*.tmp' -mtime +30 -delete | wc -l |
start a disposable docker container for svc-14639 | docker run --rm -it --network host busybox:1.36 df -h | paste -sd, - | tee /tmp/svc-14639.out | head -n 20 |
restart svc-14640 by signaling its workers | pkill -HUP -f svc-14640 | fold -w 120 |
locate matching files in /srv/svc-14641 | find /srv/svc-14641 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq |
query journal history for svc-14642 | journalctl --since '1 hour ago' -u svc-14642.service -n 100 -f | tail -n 50 |
query JSON data for svc-14643 | jq -e '.users[] | select(.active == true) | .email' /srv/svc-14643/config.json | grep -E '^[^#]' |
query journal history for svc-14644 | journalctl -u svc-14644.service --until '1 hour ago' -n 50 --output=short-iso | rev |
clean up selected files in /srv/svc-14645 | find /srv/svc-14645 -type f -name '*.tmp' -size +50M -exec gzip {} + 2>/dev/null |
extract JSON fields for svc-14646 | jq 'map(select(.status == "failed")) | length' /srv/svc-14646/data.json | cut -d, -f1 |
list matching paths under /srv/svc-14647 | find /srv/svc-14647 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | head -n 50 |
find files under /srv/svc-14648 | find /srv/svc-14648 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | nl -ba |
search the svc-14649 directory tree | find /srv/svc-14649 -type d -empty -newermt '1 day ago' -exec ls -lh {} + | column -t |
clean up selected files in /srv/svc-14650 | find /srv/svc-14650 -maxdepth 2 -type f -name '*.gz' -delete | head -n 10 |
show running containers for svc-14651 | docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | sort -n | tee /tmp/svc-14651.out | head -n 20 |
display docker container details for svc-14652 | docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=exited' | cut -d: -f1 | tee /tmp/svc-14652.out | head -n 20 |
query JSON data for svc-14653 | jq -c '.status == "ok"' /srv/svc-14653/health.json | awk '{print $1}' |
check path selection for svc-14654.example.com | ip route get svc-14654.example.com > /tmp/svc-14654.out |
read journal entries for svc-14655 | journalctl -u svc-14655.service -n 50 --no-pager | grep -i error |
locate matching files in /srv/svc-14656 | find /srv/svc-14656 -type d -name '*.tmp' -size +50M -print | tail -n 5 |
scan configuration files for svc-14657 | grep -n -A3 -B3 'FIXME' /srv/svc-14657 | cut -d: -f1 |
find files under /srv/svc-14658 | find /srv/svc-14658 -type f -name '*.log' -size +50M -delete | head -n 10 |
search the svc-14659 directory tree | find /srv/svc-14659 -mindepth 1 -type f -name '*.json' -size +50M -print | column -t |
display docker container details for svc-14660 | docker ps -a --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-14660' 2>&1 |
locate matching files in /srv/svc-14661 | find /srv/svc-14661 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -delete | uniq -c |
scan configuration files for svc-14662 | grep -RIn 'timeout' /var/log/svc-14662.log --include='*.py' | grep -E '^[^#]' |
test TCP connectivity for svc-14663 | nc -zv svc-14663.example.com 8080 | fold -w 120 |
filter log content for svc-14664 | grep -RIn 'FIXME' /srv/svc-14664 --exclude='*.min.js' 2>&1 |
give svc-14665 ownership of its data | chown --reference=/etc/passwd /etc/svc-14665/shadow | awk '{print $1}' |
extract JSON fields for svc-14666 | jq -r 'map(select(.status == "failed")) | length' /srv/svc-14666/config.json | nl -ba |
show running containers for svc-14667 | docker ps --latest --format '{{.Names}}' --filter 'status=running' | rev | tee /tmp/svc-14667.out | head -n 20 |
show the diff in /srv/svc-14668 | git -C /srv/svc-14668 diff --color-words -- | tail -n 10 |
filter JSON records for svc-14669 | jq -e '.services | keys[]' /srv/svc-14669/config.json 2>&1 |
clean up selected files in /srv/svc-14670 | find /srv/svc-14670 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -delete | uniq -c |
display recent container output for svc-14671 | docker logs --tail 500 -f svc-14671 2>&1 | sort -u |
inspect pending changes in /srv/svc-14672 | git -C /srv/svc-14672 diff --stat --cached | tail -n 5 |
find files under /srv/svc-14673 | find /srv/svc-14673 -type d -name '*.gz' -size +50M -print | grep -i warn |
read container logs for svc-14674 | kubectl logs pod/svc-14674-0 -n svc-14674 | awk '{print $2}' |
count matches in svc-14675 data | grep -Rn 'ERROR' /var/log/svc-14675.log | nl -ba |
query journal history for svc-14676 | journalctl --since '1 hour ago' -u svc-14676.service --output=short-iso >> /tmp/svc-14676.out |
query DNS records for svc-14677.example.com | dig +dnssec svc-14677.example.com | tr -s ' ' |
show the diff in /srv/svc-14678 | git -C /srv/svc-14678 diff --check origin/main...HEAD config/ 2>&1 |
search the svc-14679 directory tree | find /srv/svc-14679 -type l -name '*.tmp' -exec gzip {} + | wc -l |
clean up selected files in /srv/svc-14680 | find /srv/svc-14680 -type d -name '*.gz' -size +50M -delete | head -n 10 |
locate matching files in /srv/svc-14681 | find /srv/svc-14681 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print | awk '{print $1}' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.