prompt stringlengths 6 157 | response stringlengths 1 147 |
|---|---|
list matching paths under /srv/svc-20082 | find /srv/svc-20082 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2 |
find files under /srv/svc-20083 | find /srv/svc-20083 -type d -name '*.conf' -newermt '1 day ago' -delete | tee -a /tmp/svc-20083.log |
filter JSON records for svc-20084 | jq -S '.users[] | select(.active == true) | .email' /srv/svc-20084/health.json | sort -k2 |
show running containers for svc-20085 | docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=running' | wc -l | tee /tmp/svc-20085.out | head -n 20 |
compress application files for svc-20086 | tar -cjf /backup/svc-20086.tar.bz2 -C /srv svc-20086 | paste -sd, - |
inspect recent changes in /srv/svc-20087 | git -C /srv/svc-20087 log --format='%h %ad %s' --date=short -n 100 --author='deploy' || true |
find files under /srv/svc-20088 | find /srv/svc-20088 -maxdepth 2 -type f -name '*.tmp' -size +50M -print | sed 's/^/ /' |
search the svc-20089 directory tree | find /srv/svc-20089 -mindepth 1 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | rev |
clean up selected files in /srv/svc-20090 | find /srv/svc-20090 -maxdepth 2 -type f -name '*.json' -exec gzip {} + | tail -n 5 |
compare revisions in /srv/svc-20091 | git -C /srv/svc-20091 diff --color-words HEAD~2..HEAD | paste -sd, - |
list matching paths under /srv/svc-20092 | find /srv/svc-20092 -type l -name '*.gz' -newermt '1 day ago' -exec gzip {} + | sort -k2 |
create a git commit for /srv/svc-20093 | git -C /srv/svc-20093 commit -m 'fix: handle timeout' --no-verify | head -n 10 |
display docker container details for svc-20094 | docker ps -aq --format '{{.ID}} {{.Image}}' | cat | tee /tmp/svc-20094.out | head -n 20 |
clean up selected files in /srv/svc-20095 | find /srv/svc-20095 -type l -empty -newermt '1 day ago' -exec ls -lh {} + | tail -n 10 |
display docker container details for svc-20096 | docker ps -a --no-trunc --format '{{.Names}}' --filter 'label=app=svc-20096' | head -n 5 |
list matching paths under /srv/svc-20097 | find /srv/svc-20097 -type l -name '*.tmp' -size +10M -delete 2>&1 | tee /tmp/svc-20097.log |
query JSON data for svc-20098 | jq -S '.items[] | select(.id == 20098) | .name' /srv/svc-20098/data.json | tail -n 20 |
search the svc-20099 directory tree | find /srv/svc-20099 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | grep -i warn |
clean up selected files in /srv/svc-20100 | find /srv/svc-20100 -mindepth 1 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50 |
locate matching files in /srv/svc-20101 | find /srv/svc-20101 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | tail -n 50 |
scan configuration files for svc-20102 | grep -Rn 'TODO' /srv/svc-20102 --exclude='*.min.js' | sort -nr |
find files under /srv/svc-20103 | find /srv/svc-20103 -type l -name '*.json' -size +50M -delete | head -n 20 |
query journal history for svc-20104 | journalctl -u svc-20104.service --until '1 hour ago' -n 50 > /tmp/svc-20104.out |
count matches in svc-20105 data | grep -c 'secret' /etc/svc-20105 | tail -n 5 |
locate matching files in /srv/svc-20106 | find /srv/svc-20106 -type l -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50 |
pretty-print JSON for svc-20107 | jq -e '.status == "ok"' /srv/svc-20107/health.json |
find files under /srv/svc-20108 | find /srv/svc-20108 -type f -name '*.conf' -newermt '1 day ago' -print | tac |
list scheduled jobs for svc-20109 | crontab -l | grep svc-20109 | tail -n 5 >> /tmp/svc-20109.out |
print a git log summary for /srv/svc-20110 | git -C /srv/svc-20110 log --graph --oneline -n 100 --author='deploy' >> /tmp/svc-20110.out |
read journal entries for svc-20111 | journalctl -u svc-20111.service --until '1 hour ago' -n 50 --no-pager | cut -d: -f1 |
post a test request for svc-20112 | curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:40112/svc-20112/health | cat |
show recent commits in /srv/svc-20113 | git -C /srv/svc-20113 log --name-status -n 20 --all | tail -n 10 |
check changed files in /srv/svc-20114 | git -C /srv/svc-20114 status --long --ignored --untracked-files=all | head -n 20 |
clean up selected files in /srv/svc-20115 | find /srv/svc-20115 -type l -empty -size +50M -print | column -t |
locate matching files in /srv/svc-20116 | find /srv/svc-20116 -type d -empty -mtime +7 -delete | sed 's/^/ /' |
list matching paths under /srv/svc-20117 | find /srv/svc-20117 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + || true |
restart svc-20118 by signaling its workers | pkill -TERM -u svc-20118 | head -n 10 |
list changed files in /srv/svc-20119 | git -C /srv/svc-20119 diff --name-status --cached config/ | paste -sd, - |
clean up selected files in /srv/svc-20120 | find /srv/svc-20120 -mindepth 1 -type f -empty -delete | cat |
locate matching files in /srv/svc-20121 | find /srv/svc-20121 -type l -name '*.gz' -size +50M -exec ls -lh {} + | head -n 20 |
inspect recent changes in /srv/svc-20122 | git -C /srv/svc-20122 log --stat -n 20 --author='deploy' | grep -i error |
find files under /srv/svc-20123 | find /srv/svc-20123 -type d -empty -newermt '1 day ago' -exec gzip {} + | tac |
filter log content for svc-20124 | grep -RIn '^#' /etc/svc-20124/config.ini --include='*.go' | awk '{print $1}' |
stream pod logs for svc-20125 | kubectl logs deployment/svc-20125 --tail=200 | fold -w 120 |
locate matching files in /srv/svc-20126 | find /srv/svc-20126 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec gzip {} + >> /tmp/svc-20126.out |
list matching paths under /srv/svc-20127 | find /srv/svc-20127 -type d -empty -exec gzip {} + | tee -a /tmp/svc-20127.log |
query journal history for svc-20128 | journalctl --since '1 hour ago' -u svc-20128.service -n 500 | rev |
search the svc-20129 directory tree | find /srv/svc-20129 -type l -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | head -n 20 |
list repository status details in /srv/svc-20130 | git -C /srv/svc-20130 status --long --branch --untracked-files=all > /tmp/svc-20130.out |
locate matching files in /srv/svc-20131 | find /srv/svc-20131 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | tac |
clean up svc-20132 text files | sed '/^$/d' /etc/svc-20132/hosts || true |
search text for svc-20133 | grep -Rn 'FIXME' /srv/svc-20133 --include='*.yaml' | awk '{print $1}' |
search the svc-20134 directory tree | find /srv/svc-20134 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -print | sort -u |
count matches in svc-20135 data | grep -Rn 'ERROR' /var/log/svc-20135.log --exclude-dir=vendor | grep -v '^#' |
extract JSON fields for svc-20136 | jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-20136/jobs.json | grep -i error |
copy application data for svc-20137 | rsync -av --progress /srv/svc-20137/ backup@host:/backups/svc-20137/ | grep -i warn |
query JSON data for svc-20138 | jq -e '.status == "ok"' /srv/svc-20138/config.json | head -n 5 |
read journal entries for svc-20139 | journalctl --since 'today' -n 100 | paste -sd, - | tee /tmp/svc-20139.out | head -n 20 |
clean up selected files in /srv/svc-20140 | find /srv/svc-20140 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | awk '{print $2}' |
locate matching files in /srv/svc-20141 | find /srv/svc-20141 -type d -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | tail -n 10 |
list matching paths under /srv/svc-20142 | find /srv/svc-20142 -type l -name '*.json' -mtime +7 -delete | sed 's/^/ /' |
show running containers for svc-20143 | docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-20143' | head -n 10 |
list changed files in /srv/svc-20144 | git -C /srv/svc-20144 diff --stat HEAD~1..HEAD -- | tr -s ' ' |
create a git commit for /srv/svc-20145 | git -C /srv/svc-20145 commit -m 'chore: update config' --allow-empty | paste -sd, - |
locate matching files in /srv/svc-20146 | find /srv/svc-20146 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | column -t |
read journal entries for svc-20147 | journalctl -u svc-20147.service -n 500 --no-pager | awk '{print $1}' |
list svc-20148 account details | id svc-20148 | fold -w 120 |
test TCP connectivity for svc-20149 | nc -zv svc-20149.example.com 22 | uniq -c |
clean up selected files in /srv/svc-20150 | find /srv/svc-20150 -mindepth 1 -type f -name '*.gz' -size +10M -delete | cut -d, -f1 |
locate matching files in /srv/svc-20151 | find /srv/svc-20151 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -n |
query journal history for svc-20152 | journalctl --since '1 hour ago' -u svc-20152.service | sort -n |
read journal entries for svc-20153 | journalctl -u svc-20153.service -n 100 --output=short-iso 2>/dev/null |
search the svc-20154 directory tree | find /srv/svc-20154 -maxdepth 2 -type f -name '*.conf' -size +10M -print | head -n 20 |
create a backup tarball for svc-20155 | tar -czf /backup/svc-20155.tar.gz -C /srv/svc-20155 . | fold -w 120 |
process log fields for svc-20156 | awk -F'\t' '{sum += $5} END {print sum}' /srv/svc-20156/metrics.txt | tac |
list matching paths under /srv/svc-20157 | find /srv/svc-20157 -mindepth 1 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | head -n 10 |
find files under /srv/svc-20158 | find /srv/svc-20158 -type l -name '*.json' -newermt '1 day ago' -delete | tac |
search the svc-20159 directory tree | find /srv/svc-20159 -type l -empty -mtime +30 -exec ls -lh {} + | head -n 5 |
count matches in svc-20160 data | grep -v '^#' /etc/svc-20160/config.ini --include='*.yaml' | fold -w 120 |
find matching lines for svc-20161 | grep -v '^#' /etc/svc-20161/config.ini --exclude='*.min.js' | head -n 10 |
list matching paths under /srv/svc-20162 | find /srv/svc-20162 -type l -name '*.tmp' -exec gzip {} + | grep -i warn |
show pods for svc-20163 | kubectl get pods -A -o wide | grep svc-20163 | cut -d, -f1 |
filter log content for svc-20164 | grep -Ril 'WARN' /var/log/svc-20164.log | grep -i error |
clean up selected files in /srv/svc-20165 | find /srv/svc-20165 -mindepth 1 -type f -name '*.log' -size +10M -exec gzip {} + >> /tmp/svc-20165.out |
locate matching files in /srv/svc-20166 | find /srv/svc-20166 -mindepth 1 -type f -name '*.tmp' -print | cat |
start a disposable docker container for svc-20167 | docker run --rm -d -v /srv/svc-20167:/data alpine:3.20 sh -c 'cat /etc/os-release' | grep -i error |
show git status for /srv/svc-20168 | git -C /srv/svc-20168 status --long --untracked-files=all | tail -n 20 |
search the svc-20169 directory tree | find /srv/svc-20169 -mindepth 1 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20 |
display docker container details for svc-20170 | docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | grep -E '^[^#]' | tee /tmp/svc-20170.out | head -n 20 |
inspect systemd unit state for svc-20171 | systemctl reload svc-20171.service | sed -n '1,20p' |
find processes using svc-20172 files | lsof -i :40172 -P -n | grep svc-20172 | head -n 10 |
inspect systemd unit state for svc-20173 | systemctl is-enabled svc-20173.timer --no-block | grep -E '^[^#]' |
check path selection for svc-20174.example.com | ip route get svc-20174.example.com from 10.20.81.175 || true |
count matches in svc-20175 data | grep -n -A3 -B3 'secret' /etc/svc-20175 --include='*.py' 2>/dev/null |
locate matching files in /srv/svc-20176 | find /srv/svc-20176 -type d -name '*.gz' -mtime +7 -delete | grep -E '^[^#]' |
scan configuration files for svc-20177 | grep -RInE 'secret' /etc/svc-20177 --exclude-dir=vendor | tail -n 20 |
find files under /srv/svc-20178 | find /srv/svc-20178 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | sed -n '1,20p' |
search the svc-20179 directory tree | find /srv/svc-20179 -type d -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2 |
diagnose routing to svc-20180.example.com | traceroute -n -4 svc-20180.example.com | tr -s ' ' |
show running containers for svc-20181 | docker ps --latest --filter 'status=exited' | nl -ba | tee /tmp/svc-20181.out | head -n 20 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.