prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-00082
find /srv/svc-00082 -type d -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
inspect systemd unit state for svc-00083
systemctl is-enabled svc-00083.socket --no-block | awk '{print $1}'
filter log content for svc-00084
grep -RIn 'secret' /etc/svc-00084 | tee /tmp/svc-00084.out
count matches in svc-00085 data
grep -c 'timeout' /var/log/svc-00085.log --include='*.yaml' | head -n 10
summarize svc-00086 file statistics
wc -l /srv/svc-00086/logs/*.log | sort -k2
read journal entries for svc-00087
journalctl -u svc-00087.service --output=short-iso | tail -n 20
show recent commits in /srv/svc-00088
git -C /srv/svc-00088 log --oneline -n 10 --grep='fix' | cat
display recent container output for svc-00089
docker logs --since '1h' svc-00089 >> /tmp/svc-00089.out
clean up selected files in /srv/svc-00090
find /srv/svc-00090 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | tail -n 50
find matching lines for svc-00091
grep -RIn 'secret' /etc/svc-00091 --exclude='*.min.js' | tail -n 50
pretty-print JSON for svc-00092
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-00092/health.json | tr -s ' '
find files under /srv/svc-00093
find /srv/svc-00093 -mindepth 1 -type f -name '*.tmp' -size +10M -exec gzip {} + >> /tmp/svc-00093.out
sort svc-00094 files with custom fields
sort -V /srv/svc-00094/versions.txt | grep -v '^#'
clean up selected files in /srv/svc-00095
find /srv/svc-00095 -type l -name '*.tmp' -mtime +30 -exec ls -lh {} + | head -n 50
list git history for /srv/svc-00096
git -C /srv/svc-00096 log --format='%h %ad %s' --date=short -n 50 --all >> /tmp/svc-00096.out
replace values in svc-00097 files
sed -n 's/[[:space:]]\+$//' /etc/svc-00097/config.yml | head -n 10
find files under /srv/svc-00098
find /srv/svc-00098 -mindepth 1 -type f -name '*.json' -delete | sort -n
search the svc-00099 directory tree
find /srv/svc-00099 -maxdepth 2 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-00099.out
clean up selected files in /srv/svc-00100
find /srv/svc-00100 -mindepth 1 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | sed -n '1,20p'
list git history for /srv/svc-00101
git -C /srv/svc-00101 log --graph --oneline -n 50 --decorate 2>/dev/null
scan configuration files for svc-00102
grep -n -A3 -B3 'WARN' /var/log/svc-00102.log --exclude='*.min.js' | tail -n 50
query JSON data for svc-00103
jq 'map(select(.status == "failed")) | length' /srv/svc-00103/data.json | sed 's/^/ /'
query journal history for svc-00104
journalctl -u svc-00104.service --until '1 hour ago' --output=short-iso | uniq -c
count matches in svc-00105 data
grep -v 'ERROR' /var/log/svc-00105.log --exclude-dir=vendor | cut -d: -f1
check resource use for svc-00106
ps -ef | grep svc-00106 | tee -a /tmp/svc-00106.log
inspect pending changes in /srv/svc-00107
git -C /srv/svc-00107 diff --color-words --cached --
find files under /srv/svc-00108
find /srv/svc-00108 -type f -empty -size +10M -exec ls -lh {} + | grep -i error
filter log content for svc-00109
grep -RIn 'FIXME' /srv/svc-00109 --include='*.yaml' | head -n 50
clean up selected files in /srv/svc-00110
find /srv/svc-00110 -type f -name '*.gz' -delete | head -n 10
locate matching files in /srv/svc-00111
find /srv/svc-00111 -type f -empty -size +50M -delete 2>&1
pretty-print JSON for svc-00112
jq '.items[] | select(.id == 112) | .name' /srv/svc-00112/config.json | sed -n '1,20p'
find files under /srv/svc-00113
find /srv/svc-00113 -type d -name '*.gz' -mtime +7 -exec gzip {} + | fold -w 120
search the svc-00114 directory tree
find /srv/svc-00114 -type l -name '*.tmp' -size +10M -delete | cat
show running containers for svc-00115
docker ps -a --format 'table {{.Names}}\t{{.Status}}' | rev | tee /tmp/svc-00115.out | head -n 20
extract JSON fields for svc-00116
jq '.services | keys[]' /srv/svc-00116/users.json | sed 's/^/ /'
scan configuration files for svc-00117
grep -RIn 'ERROR' /var/log/svc-00117.log --exclude='*.min.js' | tee /tmp/svc-00117.out
query journal history for svc-00118
journalctl -u svc-00118.service --since '24 hours ago' -n 500 -f | sort -k2
filter log content for svc-00119
grep -Rn 'FIXME' /srv/svc-00119 --exclude='*.min.js' | cut -d: -f1
clean up selected files in /srv/svc-00120
find /srv/svc-00120 -type d -name '*.json' -newermt '1 day ago' -exec gzip {} + | sort -u
find matching lines for svc-00121
grep -c 'panic[(]' /srv/svc-00121 --include='*.go' 2>&1 | tee /tmp/svc-00121.log
list matching paths under /srv/svc-00122
find /srv/svc-00122 -type d -name '*.tmp' -mtime +30 -delete | head -n 10
read journal entries for svc-00123
journalctl --since '1 hour ago' -u svc-00123.service -n 50 --no-pager | grep -i error
filter JSON records for svc-00124
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-00124/data.json | tac
display recent container output for svc-00125
docker logs --tail 100 --timestamps svc-00125 | grep -i error 2>&1
locate matching files in /srv/svc-00126
find /srv/svc-00126 -type f -empty -newermt '1 day ago' -delete 2>/dev/null
read journal entries for svc-00127
journalctl -u svc-00127.service --until '1 hour ago' -f 2>&1
find files under /srv/svc-00128
find /srv/svc-00128 -maxdepth 2 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cat
search the svc-00129 directory tree
find /srv/svc-00129 -type l -name '*.json' -size +50M -exec ls -lh {} + | column -t
clean up selected files in /srv/svc-00130
find /srv/svc-00130 -type f -name '*.tmp' -size +10M -delete 2>&1 | tee /tmp/svc-00130.log
locate matching files in /srv/svc-00131
find /srv/svc-00131 -type l -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10
list matching paths under /srv/svc-00132
find /srv/svc-00132 -mindepth 1 -type f -name '*.gz' -size +50M -print | sed -n '1,20p'
find files under /srv/svc-00133
find /srv/svc-00133 -mindepth 1 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
filter log content for svc-00134
grep -n -A3 -B3 'TODO' /srv/svc-00134 --exclude='*.min.js' | cut -d, -f1
clean up selected files in /srv/svc-00135
find /srv/svc-00135 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | less
extract JSON fields for svc-00136
jq -e '.items[] | .name' /srv/svc-00136/config.json | grep -v '^#'
summarize text columns for svc-00137
awk -F: '/ERROR/ {count++} END {print count+0}' /var/log/svc-00137.log | grep -v '^#'
show recent commits in /srv/svc-00138
git -C /srv/svc-00138 log --name-status -n 100 --decorate | grep -E '^[^#]'
filter log content for svc-00139
grep -Ril 'WARN' /var/log/svc-00139.log --include='*.yaml' | grep -v '^#'
count matches in svc-00140 data
grep -RIn 'timeout' /var/log/svc-00140.log --include='*.yaml' | head -n 50
find matching lines for svc-00141
grep -v 'timeout' /var/log/svc-00141.log | cat
scan configuration files for svc-00142
grep -v '^#' /etc/svc-00142/config.ini --include='*.py' | uniq -c
search text for svc-00143
grep -Ril 'TODO' /srv/svc-00143 --include='*.yaml' | sed -n '1,20p'
display the commit log for /srv/svc-00144
git -C /srv/svc-00144 log --stat -n 20 --decorate | head -n 20
count matches in svc-00145 data
grep -Ril 'panic[(]' /srv/svc-00145 | column -t
locate matching files in /srv/svc-00146
find /srv/svc-00146 -type d -name '*.tmp' -size +10M -exec ls -lh {} + | sort
secure svc-00147 secrets
chmod g-w,o-rwx /etc/svc-00147/config.ini 2>/dev/null
find files under /srv/svc-00148
find /srv/svc-00148 -type f -name '*.conf' -size +50M -exec ls -lh {} + | head -n 10
search the svc-00149 directory tree
find /srv/svc-00149 -mindepth 1 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
process log fields for svc-00150
awk -F, '{sum += $5} END {print sum}' /srv/svc-00150/metrics.txt | head -n 50
list git history for /srv/svc-00151
git -C /srv/svc-00151 log --format='%h %ad %s' --date=short -n 100 --grep='fix' 2>&1 | tee /tmp/svc-00151.log
list matching paths under /srv/svc-00152
find /srv/svc-00152 -type l -name '*.tmp' -newermt '1 day ago' -delete > /tmp/svc-00152.out
find files under /srv/svc-00153
find /srv/svc-00153 -mindepth 1 -type f -name '*.tmp' -print | sort -nr
filter log content for svc-00154
grep -Rn 'secret' /etc/svc-00154 --exclude-dir=vendor | grep -i warn
clean up selected files in /srv/svc-00155
find /srv/svc-00155 -maxdepth 2 -type f -empty -exec ls -lh {} + | sort -k2
extract JSON fields for svc-00156
jq -r '.status == "ok"' /srv/svc-00156/config.json | paste -sd, -
scan configuration files for svc-00157
grep -RInE 'FIXME' /srv/svc-00157 --include='*.py' | tee /tmp/svc-00157.out
find files under /srv/svc-00158
find /srv/svc-00158 -type l -name '*.log' -size +50M -exec ls -lh {} + | sort
search the svc-00159 directory tree
find /srv/svc-00159 -type d -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-00159.log
render the svc-00160 chart
helm upgrade svc-00160 ./chart -n svc-00160 | column -t
find matching lines for svc-00161
grep -Ril 'timeout' /var/log/svc-00161.log --exclude-dir=vendor | grep -E '^[^#]'
list matching paths under /srv/svc-00162
find /srv/svc-00162 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec gzip {} + | tee -a /tmp/svc-00162.log
find files under /srv/svc-00163
find /srv/svc-00163 -maxdepth 2 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
search the svc-00164 directory tree
find /srv/svc-00164 -type d -name '*.gz' -mtime +7 -exec ls -lh {} + | head -n 10
validate JSON status for svc-00165
jq -r '.status == "ok"' /srv/svc-00165/data.json | cut -d: -f1
locate matching files in /srv/svc-00166
find /srv/svc-00166 -type d -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
inspect pending changes in /srv/svc-00167
git -C /srv/svc-00167 diff --color-words HEAD~1..HEAD -- | cut -d, -f1
query JSON data for svc-00168
jq -r '.metadata' /srv/svc-00168/health.json | head -n 5
filter log content for svc-00169
grep -Ril 'ERROR' /var/log/svc-00169.log --include='*.py' > /tmp/svc-00169.out
summarize git differences for /srv/svc-00170
git -C /srv/svc-00170 diff --numstat HEAD~1 --
extract JSON fields for svc-00171
jq -r '.items[] | .name' /srv/svc-00171/users.json | head -n 10
query systemd status for svc-00172
systemctl restart svc-00172.service --no-pager | sed 's/^/ /'
search text for svc-00173
grep -v 'TODO' /srv/svc-00173 --include='*.go' | head -n 5
filter log content for svc-00174
grep -RIn 'timeout' /var/log/svc-00174.log --exclude-dir=vendor | column -t
create a git commit for /srv/svc-00175
git -C /srv/svc-00175 commit -m 'feat: add health check' > /tmp/svc-00175.out
display docker container details for svc-00176
docker ps -a --no-trunc | uniq | tee /tmp/svc-00176.out | head -n 20
inspect pending changes in /srv/svc-00177
git -C /srv/svc-00177 diff --name-status HEAD~1..HEAD || true
search text for svc-00178
grep -n -A3 -B3 'WARN' /var/log/svc-00178.log --exclude-dir=vendor | tee /tmp/svc-00178.out
show running containers for svc-00179
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-00179' | tac
count matches in svc-00180 data
grep -RInE 'ERROR' /var/log/svc-00180.log --exclude='*.min.js' 2>/dev/null
locate matching files in /srv/svc-00181
find /srv/svc-00181 -type l -name '*.log' -mtime +30 -print 2>/dev/null