prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-03982
find /srv/svc-03982 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec gzip {} + | cat
display recent container output for svc-03983
docker logs --tail 500 -f svc-03983 | grep -i error | cut -d, -f1
list svc-03984 account details
id -G svc-03984 | tee /tmp/svc-03984.out
start a disposable docker container for svc-03985
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' | sed 's/^/ /' | tee /tmp/svc-03985.out | head -n 20
find matching lines for svc-03986
grep -Ril 'secret' /etc/svc-03986 --include='*.go' | tee /tmp/svc-03986.out
pretty-print JSON for svc-03987
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-03987/users.json | grep -i warn
find files under /srv/svc-03988
find /srv/svc-03988 -type d -empty -newermt '1 day ago' -exec ls -lh {} + | nl -ba
filter log content for svc-03989
grep -c 'FIXME' /srv/svc-03989 --exclude-dir=vendor | cut -d: -f1
print a git log summary for /srv/svc-03990
git -C /srv/svc-03990 log --format='%h %ad %s' --date=short -n 50 --decorate | tail -n 10
test TCP connectivity for svc-03991
nc -zv svc-03991.example.com 6379 | head -n 10
list matching paths under /srv/svc-03992
find /srv/svc-03992 -type l -name '*.tmp' -newermt '1 day ago' -delete | sort -nr
query JSON data for svc-03993
jq -S '.services | keys[]' /srv/svc-03993/jobs.json | uniq -c
search the svc-03994 directory tree
find /srv/svc-03994 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + | tail -n 50
validate JSON status for svc-03995
jq '.items[] | [.id, .name] | @tsv' /srv/svc-03995/health.json | grep -v '^#'
locate matching files in /srv/svc-03996
find /srv/svc-03996 -type l -name '*.tmp' -mtime +7 -exec gzip {} + | fold -w 120
list matching paths under /srv/svc-03997
find /srv/svc-03997 -type l -name '*.conf' -size +50M -delete | awk '{print $1}'
find files under /srv/svc-03998
find /srv/svc-03998 -type d -name '*.gz' -size +10M -exec ls -lh {} + | head -n 10
filter log content for svc-03999
grep -Ril 'TODO' /srv/svc-03999 --include='*.go' | sort -u
clean up selected files in /srv/svc-04000
find /srv/svc-04000 -type f -name '*.log' -print | sort -k2
locate matching files in /srv/svc-04001
find /srv/svc-04001 -maxdepth 2 -type f -name '*.json' -size +50M -exec gzip {} + | less
pretty-print JSON for svc-04002
jq -c '.status == "ok"' /srv/svc-04002/health.json | sort
find files under /srv/svc-04003
find /srv/svc-04003 -type f -name '*.gz' -mtime +30 -print | less
search the svc-04004 directory tree
find /srv/svc-04004 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -print | rev
inspect systemd unit state for svc-04005
systemctl restart svc-04005.socket | sort -nr
save a commit message for /srv/svc-04006
git -C /srv/svc-04006 commit -am 'refactor: simplify parser' --no-verify | awk '{print $2}'
list matching paths under /srv/svc-04007
find /srv/svc-04007 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | paste -sd, -
test network path to svc-04008.example.com
ping -6 -c 4 svc-04008.example.com > /tmp/svc-04008.out
search the svc-04009 directory tree
find /srv/svc-04009 -type f -name '*.log' -newermt '1 day ago' -delete | wc -l
validate JSON status for svc-04010
jq -e '.status == "ok"' /srv/svc-04010/health.json | grep -E '^[^#]'
start a disposable docker container for svc-04011
docker run --rm -it -v /srv/svc-04011:/data busybox:1.36 df -h 2>/dev/null
list matching paths under /srv/svc-04012
find /srv/svc-04012 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
find files under /srv/svc-04013
find /srv/svc-04013 -type l -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | uniq
display the commit log for /srv/svc-04014
git -C /srv/svc-04014 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | awk '{print $1}'
summarize text columns for svc-04015
awk -F, '/ERROR/ {count++} END {print count+0}' /var/log/svc-04015.log | sort -n
locate matching files in /srv/svc-04016
find /srv/svc-04016 -type d -name '*.conf' -size +50M -exec ls -lh {} + 2>&1 | tee /tmp/svc-04016.log
list matching paths under /srv/svc-04017
find /srv/svc-04017 -type f -name '*.tmp' -mtime +7 -print | sort -n
find files under /srv/svc-04018
find /srv/svc-04018 -type f -name '*.json' -size +10M -exec gzip {} + | awk '{print $2}'
filter JSON records for svc-04019
jq --indent 2 '.services | keys[]' /srv/svc-04019/config.json | cut -d: -f1
summarize git differences for /srv/svc-04020
git -C /srv/svc-04020 diff --stat origin/main...HEAD -- 2>&1 | tee /tmp/svc-04020.log
display the working tree state in /srv/svc-04021
git -C /srv/svc-04021 status --porcelain=v2 --ignored --untracked-files=all | sort -n
list matching paths under /srv/svc-04022
find /srv/svc-04022 -mindepth 1 -type f -name '*.tmp' -size +50M -exec gzip {} + | cat
search text for svc-04023
grep -n -A3 -B3 'TODO' /srv/svc-04023 --include='*.yaml' | tac
list changed files in /srv/svc-04024
git -C /srv/svc-04024 diff --stat HEAD~1 -- | wc -l
clean up selected files in /srv/svc-04025
find /srv/svc-04025 -type f -name '*.log' -size +10M -print | head -n 20
find matching lines for svc-04026
grep -Rn 'timeout' /var/log/svc-04026.log --include='*.py' | sort -nr
count matching processes for svc-04027
pgrep -c -f svc-04027 2>&1 | tee /tmp/svc-04027.log
sort svc-04028 files with custom fields
sort -h /srv/svc-04028/sizes.txt | tail -n 5
give svc-04029 ownership of its data
chown svc-04029:svc-04029 /var/log/svc-04029.log | tail -n 20
read container logs for svc-04030
kubectl logs deployment/svc-04030 -c api --tail=100 | sed -n '1,20p'
find matching lines for svc-04031
grep -Rn 'TODO' /srv/svc-04031 --include='*.go' | tee -a /tmp/svc-04031.log
scan configuration files for svc-04032
grep -RInE 'FIXME' /srv/svc-04032 --include='*.py' | head -n 5
find files under /srv/svc-04033
find /srv/svc-04033 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
search the svc-04034 directory tree
find /srv/svc-04034 -type l -name '*.conf' -newermt '1 day ago' -print | fold -w 120
list repository status details in /srv/svc-04035
git -C /srv/svc-04035 status --porcelain=v1 --show-stash --untracked-files=normal | sed -n '1,20p'
locate matching files in /srv/svc-04036
find /srv/svc-04036 -maxdepth 2 -type f -name '*.conf' -mtime +30 -print | tee /tmp/svc-04036.out
list matching paths under /srv/svc-04037
find /srv/svc-04037 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
read container logs for svc-04038
docker logs --tail 500 --timestamps svc-04038 | grep -i error | cat
read journal entries for svc-04039
journalctl --since '1 hour ago' -u svc-04039.service -n 100 -f | tail -n 20
check resource use for svc-04040
ps -eo pid,lstart,cmd | grep svc-04040 | head -n 50
create a git commit for /srv/svc-04041
git -C /srv/svc-04041 commit --amend --no-edit --allow-empty
list matching paths under /srv/svc-04042
find /srv/svc-04042 -type f -name '*.tmp' -size +50M -print | tail -n 50
query JSON data for svc-04043
jq -S 'map(select(.status == "failed")) | length' /srv/svc-04043/users.json > /tmp/svc-04043.out
list changed files in /srv/svc-04044
git -C /srv/svc-04044 diff --stat origin/main...HEAD config/ | tail -n 20
summarize git differences for /srv/svc-04045
git -C /srv/svc-04045 diff --name-status --cached src/ | uniq
locate matching files in /srv/svc-04046
find /srv/svc-04046 -type l -name '*.log' -newermt '1 day ago' -exec gzip {} + | tail -n 20
pretty-print JSON for svc-04047
jq 'map(select(.status == "failed")) | length' /srv/svc-04047/config.json
show recent commits in /srv/svc-04048
git -C /srv/svc-04048 log --oneline -n 10 --author='deploy' | awk '{print $2}'
filter JSON records for svc-04049
jq --indent 2 '.items[] | select(.id == 4049) | .name' /srv/svc-04049/jobs.json | rev
summarize git differences for /srv/svc-04050
git -C /srv/svc-04050 diff --check HEAD~2..HEAD config/ 2>&1 | tee /tmp/svc-04050.log
replace values in svc-04051 files
sed -i.bak '/start/,/end/p' /etc/svc-04051/config.yml | uniq
list matching paths under /srv/svc-04052
find /srv/svc-04052 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + | sort -nr
find files under /srv/svc-04053
find /srv/svc-04053 -type d -name '*.tmp' -exec gzip {} + | grep -E '^[^#]'
filter log content for svc-04054
grep -RIn 'secret' /etc/svc-04054 --exclude='*.min.js' | head -n 10
count matches in svc-04055 data
grep -v '^#' /etc/svc-04055/config.ini --include='*.yaml' | grep -i warn
query systemd status for svc-04056
systemctl restart svc-04056.socket --no-block
stream pod logs for svc-04057
kubectl logs deployment/svc-04057 --previous | head -n 10
query systemd status for svc-04058
systemctl status svc-04058.timer --no-block | uniq
read journal entries for svc-04059
journalctl --since 'today' -n 500 | sort -k2 | tee /tmp/svc-04059.out | head -n 20
clean up selected files in /srv/svc-04060
find /srv/svc-04060 -mindepth 1 -type f -name '*.log' -print | fold -w 120
find matching lines for svc-04061
grep -RIn 'panic[(]' /srv/svc-04061 --include='*.yaml' | tr -s ' '
list matching paths under /srv/svc-04062
find /srv/svc-04062 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -print | wc -l
show git status for /srv/svc-04063
git -C /srv/svc-04063 status --long --branch --untracked-files=normal | tail -n 10
filter log content for svc-04064
grep -v 'timeout' /var/log/svc-04064.log --exclude='*.min.js' | tail -n 5
show running containers for svc-04065
docker ps -aq --format '{{.Names}}' --filter 'status=running' | head -n 10 | tee /tmp/svc-04065.out | head -n 20
locate matching files in /srv/svc-04066
find /srv/svc-04066 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | tee -a /tmp/svc-04066.log
stream pod logs for svc-04067
kubectl logs deployment/svc-04067 -c api --tail=100 | tail -n 50
install svc-04068 from source
make -C /srv/svc-04068 -n test | fold -w 120
search the svc-04069 directory tree
find /srv/svc-04069 -type d -empty -mtime +30 -delete | sort
count matches in svc-04070 data
grep -RInE 'WARN' /var/log/svc-04070.log --exclude-dir=vendor | grep -E '^[^#]'
compare revisions in /srv/svc-04071
git -C /srv/svc-04071 diff --check --cached src/ | column -t
list matching paths under /srv/svc-04072
find /srv/svc-04072 -mindepth 1 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
inspect systemd unit state for svc-04073
systemctl reload svc-04073.socket --no-pager | head -n 50
search the svc-04074 directory tree
find /srv/svc-04074 -type l -name '*.gz' -print > /tmp/svc-04074.out
count matches in svc-04075 data
grep -RIn '^#' /etc/svc-04075/config.ini --exclude='*.min.js' | head -n 20
extract JSON fields for svc-04076
jq -r '.users[] | select(.active == true) | .email' /srv/svc-04076/data.json | grep -i error
list matching paths under /srv/svc-04077
find /srv/svc-04077 -mindepth 1 -type f -name '*.gz' -mtime +7 -print | uniq
search text for svc-04078
grep -RIn 'ERROR' /var/log/svc-04078.log --include='*.go' | sort -k2
search the svc-04079 directory tree
find /srv/svc-04079 -mindepth 1 -type f -name '*.json' -mtime +30 -print | cut -d: -f1
summarize svc-04080 file statistics
wc -l /var/log/svc-04080/*.log | tail -n 1 | tail -n 10
extract JSON fields for svc-04081
jq -e '.items[] | select(.id == 4081) | .name' /srv/svc-04081/data.json | tail -n 20