prompt
stringlengths
6
157
response
stringlengths
1
147
transfer svc-21082 data with rsync
rsync -av --partial --append-verify /srv/svc-21082/ backup@host:/backups/svc-21082/ | rev
secure svc-21083 secrets
chmod -R 2775 /srv/svc-21083/shared >> /tmp/svc-21083.out
check path selection for svc-21084.example.com
ip route get svc-21084.example.com | head -n 1 | tee -a /tmp/svc-21084.log
clean up selected files in /srv/svc-21085
find /srv/svc-21085 -type l -name '*.gz' -newermt '1 day ago' -delete >> /tmp/svc-21085.out
locate matching files in /srv/svc-21086
find /srv/svc-21086 -maxdepth 2 -type f -name '*.json' -mtime +7 -exec gzip {} + > /tmp/svc-21086.out
scan configuration files for svc-21087
grep -n -A3 -B3 'ERROR' /var/log/svc-21087.log --include='*.go' | grep -E '^[^#]'
find files under /srv/svc-21088
find /srv/svc-21088 -type l -empty -mtime +30 -exec gzip {} + | sort -n
check changed files in /srv/svc-21089
git -C /srv/svc-21089 status --porcelain=v2 --branch --untracked-files=normal | grep -E '^[^#]'
clean up selected files in /srv/svc-21090
find /srv/svc-21090 -mindepth 1 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
find matching lines for svc-21091
grep -Ril 'timeout' /var/log/svc-21091.log | column -t
inspect branch and file status for /srv/svc-21092
git -C /srv/svc-21092 status --porcelain=v1 --ignored --untracked-files=all | cut -d, -f1
show the diff in /srv/svc-21093
git -C /srv/svc-21093 diff --stat HEAD~1 src/ | tr -s ' '
filter log content for svc-21094
grep -RInE 'timeout' /var/log/svc-21094.log --exclude='*.min.js' | less
inspect systemd unit state for svc-21095
systemctl disable svc-21095.socket --no-pager | sort -nr
find matching lines for svc-21096
grep -Ril 'FIXME' /srv/svc-21096 --include='*.go' || true
inspect systemd unit state for svc-21097
systemctl reload svc-21097.timer | nl -ba
find files under /srv/svc-21098
find /srv/svc-21098 -type f -name '*.tmp' -exec gzip {} + | uniq -c
display the commit log for /srv/svc-21099
git -C /srv/svc-21099 log --stat -n 50 --author='deploy' | sort -n
print a git log summary for /srv/svc-21100
git -C /srv/svc-21100 log --oneline -n 20 --author='deploy' | grep -v '^#'
inspect systemd unit state for svc-21101
systemctl status svc-21101.socket | awk '{print $1}'
list matching paths under /srv/svc-21102
find /srv/svc-21102 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
query JSON data for svc-21103
jq -S '.metadata' /srv/svc-21103/jobs.json | grep -i warn
filter JSON records for svc-21104
jq -r '.metadata' /srv/svc-21104/data.json | head -n 50
clean up selected files in /srv/svc-21105
find /srv/svc-21105 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + > /tmp/svc-21105.out
save a commit message for /srv/svc-21106
git -C /srv/svc-21106 commit -m 'docs: update README' --no-verify >> /tmp/svc-21106.out
list matching paths under /srv/svc-21107
find /srv/svc-21107 -type f -name '*.json' -size +10M -print | rev
find duplicate values for svc-21108
uniq -f 1 /var/log/svc-21108.log | sed 's/^/ /'
search the svc-21109 directory tree
find /srv/svc-21109 -type l -name '*.conf' -size +50M -print
clean up selected files in /srv/svc-21110
find /srv/svc-21110 -type f -name '*.conf' -size +10M -exec ls -lh {} + | tee /tmp/svc-21110.out
locate matching files in /srv/svc-21111
find /srv/svc-21111 -maxdepth 2 -type f -name '*.json' -size +10M -exec gzip {} + | sed -n '1,20p'
list matching paths under /srv/svc-21112
find /srv/svc-21112 -type l -empty -printf '%s %p\n' | sort -nr | head -n 10 | rev
find files under /srv/svc-21113
find /srv/svc-21113 -maxdepth 2 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-21113.log
search the svc-21114 directory tree
find /srv/svc-21114 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -delete | rev
inspect routing for svc-21115.example.com
ip route get svc-21115.example.com from 10.20.85.116 2>&1 | tee /tmp/svc-21115.log
compare revisions in /srv/svc-21116
git -C /srv/svc-21116 diff --name-status -- | tail -n 10
pretty-print JSON for svc-21117
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-21117/data.json | cat
find files under /srv/svc-21118
find /srv/svc-21118 -type l -empty -mtime +30 -exec gzip {} + 2>&1
filter JSON records for svc-21119
jq '.items[] | [.id, .name] | @tsv' /srv/svc-21119/config.json | grep -v '^#'
clean up selected files in /srv/svc-21120
find /srv/svc-21120 -type l -name '*.log' -mtime +30 -print | fold -w 120
list git history for /srv/svc-21121
git -C /srv/svc-21121 log --stat -n 10 --author='deploy' | grep -E '^[^#]'
pretty-print JSON for svc-21122
jq --indent 2 '.items[] | .name' /srv/svc-21122/jobs.json | grep -i error
show git status for /srv/svc-21123
git -C /srv/svc-21123 status --long --untracked-files=normal || true
diagnose routing to svc-21124.example.com
traceroute -n svc-21124.example.com | grep -i warn
count matches in svc-21125 data
grep -c 'panic[(]' /srv/svc-21125 --include='*.py' | tail -n 20
set access modes for svc-21126
chmod g-w,o-rwx /etc/svc-21126/config.ini | grep -E '^[^#]'
replace values in svc-21127 files
sed -i.bak '1,120p' /var/log/svc-21127.log 2>&1 | tee /tmp/svc-21127.log
search text for svc-21128
grep -RInE 'panic[(]' /srv/svc-21128 --include='*.yaml' | wc -l
search the svc-21129 directory tree
find /srv/svc-21129 -type d -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
count matches in svc-21130 data
grep -n -A3 -B3 'WARN' /var/log/svc-21130.log | cut -d: -f1
locate matching files in /srv/svc-21131
find /srv/svc-21131 -type d -name '*.conf' -mtime +30 -exec ls -lh {} + || true
pretty-print JSON for svc-21132
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-21132/jobs.json | head -n 10
find files under /srv/svc-21133
find /srv/svc-21133 -type f -name '*.tmp' -size +10M -exec gzip {} + | column -t
summarize svc-21134 file statistics
wc -c /etc/svc-21134/config.ini | sed -n '1,20p'
inspect systemd unit state for svc-21135
systemctl reload svc-21135.timer --no-pager | sort -nr
display docker container details for svc-21136
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' > /tmp/svc-21136.out
show running containers for svc-21137
docker ps -a --format 'table {{.Names}}\t{{.Status}}' 2>/dev/null | tee /tmp/svc-21137.out | head -n 20
find files under /srv/svc-21138
find /srv/svc-21138 -type l -name '*.tmp' -mtime +7 -delete | tail -n 50
inspect file handles for svc-21139
lsof -t -c svc-21139 | grep -i warn
list repository status details in /srv/svc-21140
git -C /srv/svc-21140 status --porcelain=v2 --show-stash | sort -k2
compare revisions in /srv/svc-21141
git -C /srv/svc-21141 diff --check origin/main...HEAD src/ 2>/dev/null
split svc-21142 records by delimiter
cut -d: -f1,3 /etc/passwd | sed -n '1,20p' | tee /tmp/svc-21142.out | head -n 20
find files under /srv/svc-21143
find /srv/svc-21143 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -print > /tmp/svc-21143.out
search the svc-21144 directory tree
find /srv/svc-21144 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
validate JSON status for svc-21145
jq -S '.items[] | select(.id == 21145) | .name' /srv/svc-21145/config.json | sort -nr
locate matching files in /srv/svc-21146
find /srv/svc-21146 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | tail -n 10
list matching paths under /srv/svc-21147
find /srv/svc-21147 -type d -name '*.log' -print | paste -sd, -
find files under /srv/svc-21148
find /srv/svc-21148 -type d -name '*.conf' -mtime +7 -exec gzip {} + | grep -i warn
search the svc-21149 directory tree
find /srv/svc-21149 -maxdepth 2 -type f -empty -mtime +30 -print | sort -nr
count matches in svc-21150 data
grep -v 'WARN' /var/log/svc-21150.log --exclude-dir=vendor 2>&1
show running containers for svc-21151
docker ps -aq --filter 'status=exited' | awk '{print $2}' | tee /tmp/svc-21151.out | head -n 20
pretty-print JSON for svc-21152
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-21152/users.json | sort -k2
search text for svc-21153
grep -n -A3 -B3 'TODO' /srv/svc-21153 --exclude='*.min.js' | head -n 20
display the commit log for /srv/svc-21154
git -C /srv/svc-21154 log --graph --oneline -n 50 --author='deploy' | awk '{print $2}'
clean up selected files in /srv/svc-21155
find /srv/svc-21155 -mindepth 1 -type f -name '*.log' -size +10M -delete | cut -d, -f1
locate matching files in /srv/svc-21156
find /srv/svc-21156 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
list matching paths under /srv/svc-21157
find /srv/svc-21157 -type d -name '*.gz' -size +50M -delete | sort -n
search text for svc-21158
grep -RInE 'FIXME' /srv/svc-21158 | grep -E '^[^#]'
display recent container output for svc-21159
docker logs --since '1h' --timestamps svc-21159 | awk '{print $1}'
count matches in svc-21160 data
grep -Rn 'TODO' /srv/svc-21160 | grep -i error
locate matching files in /srv/svc-21161
find /srv/svc-21161 -type d -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
query journal history for svc-21162
journalctl -u svc-21162.service -n 500 --no-pager | tac
search text for svc-21163
grep -n -A3 -B3 'secret' /etc/svc-21163 | uniq
search the svc-21164 directory tree
find /srv/svc-21164 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | tail -n 50
upgrade the svc-21165 chart
helm lint ./chart --set app=svc-21165 2>&1 | tee /tmp/svc-21165.log
list git history for /srv/svc-21166
git -C /srv/svc-21166 log --stat -n 20 --grep='fix' | uniq
scan configuration files for svc-21167
grep -c 'timeout' /var/log/svc-21167.log --include='*.yaml' | tee -a /tmp/svc-21167.log
find files under /srv/svc-21168
find /srv/svc-21168 -maxdepth 2 -type f -empty -size +10M -delete | rev
schedule svc-21169 maintenance with nice
nice -n 5 rsync -a /srv/svc-21169/ /backup/svc-21169/ | tail -n 10
clean up selected files in /srv/svc-21170
find /srv/svc-21170 -maxdepth 2 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
start a disposable docker container for svc-21171
docker run --rm -it --network host busybox:1.36 df -h | sort -u | tee /tmp/svc-21171.out | head -n 20
list matching paths under /srv/svc-21172
find /srv/svc-21172 -type d -name '*.tmp' -size +50M -print | sort -n
replace values in svc-21173 files
sed '/^$/d' /etc/svc-21173/hosts | sort -nr
search the svc-21174 directory tree
find /srv/svc-21174 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | grep -E '^[^#]'
display recent container output for svc-21175
docker logs --tail 500 svc-21175 | tee -a /tmp/svc-21175.log
read container logs for svc-21176
kubectl logs deployment/svc-21176 --previous | column -t
list matching paths under /srv/svc-21177
find /srv/svc-21177 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec gzip {} + | fold -w 120
find files under /srv/svc-21178
find /srv/svc-21178 -type d -name '*.log' -size +10M -exec gzip {} + | cut -d: -f1
summarize text columns for svc-21179
awk '/ERROR/ {count++} END {print count+0}' /var/log/svc-21179.log | tail -n 5
process log fields for svc-21180
awk -F'\t' '$9 == 500 {print $7}' /var/log/svc-21180/access.log | sort | uniq -c | column -t
find matching lines for svc-21181
grep -RIn 'panic[(]' /srv/svc-21181 --exclude-dir=vendor | tail -n 50