prompt stringlengths 6 157 | response stringlengths 1 147 |
|---|---|
pretty-print JSON for svc-07982 | jq -r 'map(select(.status == "failed")) | length' /srv/svc-07982/config.json | head -n 20 |
show recent commits in /srv/svc-07983 | git -C /srv/svc-07983 log --oneline -n 20 --since='1 week ago' | less |
query journal history for svc-07984 | journalctl -u svc-07984.service --since '1 hour ago' --no-pager 2>/dev/null |
list repository status details in /srv/svc-07985 | git -C /srv/svc-07985 status --porcelain=v1 --ignored --untracked-files=normal > /tmp/svc-07985.out |
find matching lines for svc-07986 | grep -n -A3 -B3 'ERROR' /var/log/svc-07986.log --include='*.yaml' | nl -ba |
inspect pending changes in /srv/svc-07987 | git -C /srv/svc-07987 diff --check HEAD~1 src/ | cut -d, -f1 |
process log fields for svc-07988 | awk '$9 == 500 {print $7}' /var/log/svc-07988/access.log | sort | uniq -c | uniq -c |
search the svc-07989 directory tree | find /srv/svc-07989 -type l -name '*.json' -size +10M -print | sed 's/^/ /' |
restart svc-07990 by signaling its workers | pkill -KILL -f 'worker-7990' | tail -n 20 | tee /tmp/svc-07990.out | head -n 20 |
find matching lines for svc-07991 | grep -c 'WARN' /var/log/svc-07991.log --include='*.go' | awk '{print $1}' |
read container logs for svc-07992 | docker logs --tail 100 svc-07992 | head -n 5 |
show running containers for svc-07993 | docker ps -aq --format 'table {{.Names}}\t{{.Status}}' | wc -l | tee /tmp/svc-07993.out | head -n 20 |
process log fields for svc-07994 | awk -F: '/ERROR/ {count++} END {print count+0}' /var/log/svc-07994.log | nl -ba |
validate JSON status for svc-07995 | jq -r '.metadata' /srv/svc-07995/health.json | tee -a /tmp/svc-07995.log |
compare revisions in /srv/svc-07996 | git -C /srv/svc-07996 diff --numstat HEAD~1 src/ | tail -n 50 |
inspect recent changes in /srv/svc-07997 | git -C /srv/svc-07997 log --oneline -n 20 --all |
query JSON data for svc-07998 | jq -S '.items[] | .name' /srv/svc-07998/users.json | sort |
filter log content for svc-07999 | grep -n -A3 -B3 'secret' /etc/svc-07999 --exclude-dir=vendor >> /tmp/svc-07999.out |
clean up svc-08000 text files | sed -i.bak 's/debug=true/debug=false/g' /etc/svc-08000/app.conf | less |
inspect systemd unit state for svc-08001 | systemctl is-enabled svc-08001.socket --no-pager | grep -E '^[^#]' |
list matching paths under /srv/svc-08002 | find /srv/svc-08002 -mindepth 1 -type f -name '*.tmp' -size +10M -exec gzip {} + | head -n 10 |
find files under /srv/svc-08003 | find /srv/svc-08003 -mindepth 1 -type f -name '*.log' -mtime +7 -exec gzip {} + | sort -u |
search the svc-08004 directory tree | find /srv/svc-08004 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 |
clean up selected files in /srv/svc-08005 | find /srv/svc-08005 -mindepth 1 -type f -name '*.json' -mtime +30 -delete 2>&1 |
find matching lines for svc-08006 | grep -RInE 'WARN' /var/log/svc-08006.log --exclude-dir=vendor | less |
show pods for svc-08007 | kubectl get events -n svc-08007 --sort-by=.lastTimestamp | wc -l |
find files under /srv/svc-08008 | find /srv/svc-08008 -type f -name '*.log' -size +10M -print | head -n 10 |
search the svc-08009 directory tree | find /srv/svc-08009 -type l -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | awk '{print $1}' |
read container logs for svc-08010 | docker logs --tail 50 --timestamps svc-08010 | fold -w 120 |
find matching lines for svc-08011 | grep -Rn 'timeout' /var/log/svc-08011.log --exclude='*.min.js' | sed -n '1,20p' |
list matching paths under /srv/svc-08012 | find /srv/svc-08012 -type l -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1 |
find files under /srv/svc-08013 | find /srv/svc-08013 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error |
inspect process matches for svc-08014 | pgrep -n -f svc-08014 | sed -n '1,20p' |
count matches in svc-08015 data | grep -Rn 'FIXME' /srv/svc-08015 --include='*.go' | head -n 20 |
read container logs for svc-08016 | docker logs --tail 500 svc-08016 2>&1 | tail -n 5 |
scan configuration files for svc-08017 | grep -RIn 'TODO' /srv/svc-08017 --exclude-dir=vendor | grep -E '^[^#]' |
find files under /srv/svc-08018 | find /srv/svc-08018 -maxdepth 2 -type f -empty -size +50M -print || true |
inspect systemd unit state for svc-08019 | systemctl restart svc-08019.service --no-block | grep -v '^#' |
clean up selected files in /srv/svc-08020 | find /srv/svc-08020 -type l -name '*.json' -newermt '1 day ago' -exec gzip {} + | wc -l |
display recent container output for svc-08021 | docker logs --tail 500 --timestamps svc-08021 | tac |
list matching paths under /srv/svc-08022 | find /srv/svc-08022 -type l -name '*.log' -size +50M -print | head -n 10 |
find files under /srv/svc-08023 | find /srv/svc-08023 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1 |
search the svc-08024 directory tree | find /srv/svc-08024 -type l -name '*.conf' -exec gzip {} + 2>&1 |
validate JSON status for svc-08025 | jq -c '.items[] | select(.id == 8025) | .name' /srv/svc-08025/jobs.json | tee /tmp/svc-08025.out |
locate matching files in /srv/svc-08026 | find /srv/svc-08026 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | grep -i error |
read journal entries for svc-08027 | journalctl --since 'today' -n 50 --no-pager | sed -n '1,20p' | tee /tmp/svc-08027.out | head -n 20 |
find files under /srv/svc-08028 | find /srv/svc-08028 -type l -empty -newermt '1 day ago' -exec gzip {} + | tee -a /tmp/svc-08028.log |
check changed files in /srv/svc-08029 | git -C /srv/svc-08029 status --short | uniq -c |
clean up selected files in /srv/svc-08030 | find /srv/svc-08030 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -print | tr -s ' ' |
locate matching files in /srv/svc-08031 | find /srv/svc-08031 -type l -name '*.json' -mtime +7 -exec gzip {} + | head -n 50 |
list matching paths under /srv/svc-08032 | find /srv/svc-08032 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -delete | sort |
secure svc-08033 secrets | chmod -R g+rX /srv/svc-08033/public | grep -v '^#' |
search the svc-08034 directory tree | find /srv/svc-08034 -type l -name '*.log' -mtime +30 -exec gzip {} + | tee /tmp/svc-08034.out |
clean up selected files in /srv/svc-08035 | find /srv/svc-08035 -type f -name '*.tmp' -size +50M -delete | grep -i warn |
locate matching files in /srv/svc-08036 | find /srv/svc-08036 -maxdepth 2 -type f -name '*.log' -size +50M -exec ls -lh {} + 2>/dev/null |
select fields from svc-08037 files | cut -d: -f3 /etc/passwd | sort -n | tr -s ' ' | tee /tmp/svc-08037.out | head -n 20 |
run a background task for svc-08038 | nice -n 5 rsync -a /srv/svc-08038/ /backup/svc-08038/ > /tmp/svc-08038.out |
search the svc-08039 directory tree | find /srv/svc-08039 -mindepth 1 -type f -name '*.gz' -exec gzip {} + >> /tmp/svc-08039.out |
print a git log summary for /srv/svc-08040 | git -C /srv/svc-08040 log --graph --oneline -n 50 --decorate 2>&1 | tee /tmp/svc-08040.log |
locate matching files in /srv/svc-08041 | find /srv/svc-08041 -type f -name '*.log' -size +10M -print | grep -v '^#' |
read container logs for svc-08042 | docker logs --since '1h' svc-08042 | grep -i error | grep -i error |
search text for svc-08043 | grep -n -A3 -B3 'TODO' /srv/svc-08043 --include='*.yaml' | grep -i error |
search the svc-08044 directory tree | find /srv/svc-08044 -type d -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | less |
clean up selected files in /srv/svc-08045 | find /srv/svc-08045 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | tee -a /tmp/svc-08045.log |
extract JSON fields for svc-08046 | jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-08046/config.json | sort -u |
inspect systemd unit state for svc-08047 | systemctl status svc-08047.timer | tr -s ' ' |
clean up svc-08048 text files | sed -n 's/localhost/127.0.0.1/g' /etc/svc-08048/config.ini |
inspect network hops for svc-08049.example.com | traceroute -n -4 svc-08049.example.com | sort -k2 |
execute a container task for svc-08050 | docker run --rm -v /srv/svc-08050:/data alpine:3.20 sh -c 'cat /etc/os-release' | head -n 5 |
locate matching files in /srv/svc-08051 | find /srv/svc-08051 -type d -name '*.log' -mtime +7 -exec gzip {} + | tail -n 20 |
query journal history for svc-08052 | journalctl --since 'today' -n 500 -f | wc -l | tee /tmp/svc-08052.out | head -n 20 |
test TCP connectivity for svc-08053 | nc -zv svc-08053.example.com 8080 | less |
query systemd status for svc-08054 | systemctl enable --now svc-08054.timer --no-block | head -n 50 |
validate JSON status for svc-08055 | jq '.status == "ok"' /srv/svc-08055/health.json | rev |
split svc-08056 records by delimiter | cut -d: -f3 /etc/passwd | sort -n | head -n 50 | tee /tmp/svc-08056.out | head -n 20 |
list matching paths under /srv/svc-08057 | find /srv/svc-08057 -maxdepth 2 -type f -name '*.gz' -exec ls -lh {} + 2>/dev/null |
query JSON data for svc-08058 | jq '.items[] | .name' /srv/svc-08058/jobs.json | grep -i error |
search the svc-08059 directory tree | find /srv/svc-08059 -maxdepth 2 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1 |
clean up selected files in /srv/svc-08060 | find /srv/svc-08060 -type l -name '*.json' -mtime +7 -delete | column -t |
locate matching files in /srv/svc-08061 | find /srv/svc-08061 -type d -name '*.gz' -size +50M -exec ls -lh {} + | tail -n 5 |
list matching paths under /srv/svc-08062 | find /srv/svc-08062 -type d -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50 |
find files under /srv/svc-08063 | find /srv/svc-08063 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | awk '{print $1}' |
search the svc-08064 directory tree | find /srv/svc-08064 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | uniq |
validate JSON status for svc-08065 | jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-08065/health.json | tail -n 50 |
locate matching files in /srv/svc-08066 | find /srv/svc-08066 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | column -t |
summarize text columns for svc-08067 | awk '{sum += $5} END {print sum}' /srv/svc-08067/metrics.txt | sort -k2 |
find files under /srv/svc-08068 | find /srv/svc-08068 -maxdepth 2 -type f -name '*.log' -size +10M -exec ls -lh {} + | grep -i error |
upgrade the svc-08069 chart | helm status svc-08069 -n svc-08069 | paste -sd, - |
inspect DNS answers for svc-08070.example.com | dig +noall +answer svc-08070.example.com >> /tmp/svc-08070.out |
extract JSON fields for svc-08071 | jq -e '.items[] | select(.id == 8071) | .name' /srv/svc-08071/data.json | tail -n 10 |
list matching paths under /srv/svc-08072 | find /srv/svc-08072 -type f -name '*.gz' -mtime +30 -print | head -n 10 |
give svc-08073 ownership of its data | chown -R root:root /etc/svc-08073 | tac |
check cluster state for svc-08074 | kubectl get pods -n svc-08074 --field-selector=status.phase=Running 2>/dev/null |
show running containers for svc-08075 | docker ps --latest --filter 'label=app=svc-08075' | head -n 10 |
locate matching files in /srv/svc-08076 | find /srv/svc-08076 -type l -name '*.log' -mtime +7 -delete | grep -i warn |
list matching paths under /srv/svc-08077 | find /srv/svc-08077 -type f -name '*.log' -mtime +30 -exec ls -lh {} + 2>/dev/null |
find files under /srv/svc-08078 | find /srv/svc-08078 -mindepth 1 -type f -empty -newermt '1 day ago' -exec gzip {} + | wc -l |
display the commit log for /srv/svc-08079 | git -C /srv/svc-08079 log --graph --oneline -n 20 --author='deploy' > /tmp/svc-08079.out |
clean up selected files in /srv/svc-08080 | find /srv/svc-08080 -type l -name '*.json' -mtime +7 -delete | tail -n 50 |
locate matching files in /srv/svc-08081 | find /srv/svc-08081 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + || true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.