prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-27182
find /srv/svc-27182 -maxdepth 2 -type f -empty -mtime +7 -delete | head -n 10
find files under /srv/svc-27183
find /srv/svc-27183 -type d -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | column -t
search the svc-27184 directory tree
find /srv/svc-27184 -type d -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
show running containers for svc-27185
docker ps --latest --format '{{.Names}}' --filter 'label=app=svc-27185' | tail -n 50
list git history for /srv/svc-27186
git -C /srv/svc-27186 log --name-status -n 100 --since='1 week ago' | awk '{print $2}'
list matching paths under /srv/svc-27187
find /srv/svc-27187 -mindepth 1 -type f -name '*.log' -size +50M -exec ls -lh {} + | tr -s ' '
find files under /srv/svc-27188
find /srv/svc-27188 -maxdepth 2 -type f -name '*.conf' -size +10M -exec gzip {} + | grep -v '^#'
search the svc-27189 directory tree
find /srv/svc-27189 -type f -name '*.conf' -exec ls -lh {} + | sort -u
clean up svc-27190 text files
sed -n 's/localhost/127.0.0.1/g' /etc/svc-27190/config.ini | uniq
extract JSON fields for svc-27191
jq --indent 2 '.services | keys[]' /srv/svc-27191/data.json | tail -n 10
list matching paths under /srv/svc-27192
find /srv/svc-27192 -type f -name '*.tmp' -exec gzip {} + | sort -k2
show the diff in /srv/svc-27193
git -C /srv/svc-27193 diff --stat HEAD~2..HEAD -- | head -n 10
inspect process matches for svc-27194
pgrep -l -f svc-27194 | sort -k2
clean up selected files in /srv/svc-27195
find /srv/svc-27195 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | sed 's/^/ /'
query systemd status for svc-27196
systemctl is-active svc-27196.service | cut -d, -f1
inspect pending changes in /srv/svc-27197
git -C /srv/svc-27197 diff --name-only HEAD~2..HEAD -- | tr -s ' '
read container logs for svc-27198
kubectl logs deployment/svc-27198 --tail=200 | column -t
replace values in svc-27199 files
sed -i 's/[[:space:]]\+$//' /etc/svc-27199/config.yml | tail -n 20
print a git log summary for /srv/svc-27200
git -C /srv/svc-27200 log --stat -n 50 --author='deploy'
show running containers for svc-27201
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=running' | tail -n 5 | tee /tmp/svc-27201.out | head -n 20
scan configuration files for svc-27202
grep -RInE 'secret' /etc/svc-27202 --include='*.go' | paste -sd, -
find files under /srv/svc-27203
find /srv/svc-27203 -maxdepth 2 -type f -name '*.tmp' -exec ls -lh {} + | nl -ba
filter log content for svc-27204
grep -n -A3 -B3 'WARN' /var/log/svc-27204.log | tr -s ' '
count matches in svc-27205 data
grep -RInE 'panic[(]' /srv/svc-27205 --include='*.yaml'
find matching lines for svc-27206
grep -Ril 'timeout' /var/log/svc-27206.log --exclude-dir=vendor | head -n 10
inspect systemd unit state for svc-27207
systemctl stop svc-27207.socket --no-pager | sed 's/^/ /'
find duplicate values for svc-27208
uniq -s 5 /var/log/svc-27208.log | tac
show running containers for svc-27209
docker ps -a --format '{{.Names}}' --filter 'label=app=svc-27209' | awk '{print $2}'
validate JSON status for svc-27210
jq --indent 2 '.services | keys[]' /srv/svc-27210/config.json > /tmp/svc-27210.out
locate matching files in /srv/svc-27211
find /srv/svc-27211 -type d -name '*.gz' -size +10M -exec gzip {} + | less
pretty-print JSON for svc-27212
jq '.services | keys[]' /srv/svc-27212/jobs.json | paste -sd, -
find files under /srv/svc-27213
find /srv/svc-27213 -type d -name '*.conf' -newermt '1 day ago' -print | tail -n 20
search the svc-27214 directory tree
find /srv/svc-27214 -mindepth 1 -type f -name '*.conf' -mtime +7 -delete || true
validate JSON status for svc-27215
jq -S '.items[] | .name' /srv/svc-27215/data.json | tail -n 10
list svc-27216 account details
id -u svc-27216 | grep -i error
inspect recent changes in /srv/svc-27217
git -C /srv/svc-27217 log --oneline -n 20 | head -n 10
show recent commits in /srv/svc-27218
git -C /srv/svc-27218 log --format='%h %ad %s' --date=short -n 20 | tail -n 20
search the svc-27219 directory tree
find /srv/svc-27219 -type d -name '*.conf' -mtime +30 -exec gzip {} + | fold -w 120
count matches in svc-27220 data
grep -RIn 'TODO' /srv/svc-27220 --include='*.py' | cut -d, -f1
list git history for /srv/svc-27221
git -C /srv/svc-27221 log --stat -n 50 --decorate | head -n 5
clean up svc-27222 text files
sed -i 's/debug=true/debug=false/g' /etc/svc-27222/app.conf | grep -v '^#'
query DNS records for svc-27223.example.com
dig +trace svc-27223.example.com | head -n 20 || true
query systemd status for svc-27224
systemctl stop svc-27224.timer --no-block | sort -nr
clean up selected files in /srv/svc-27225
find /srv/svc-27225 -maxdepth 2 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
locate matching files in /srv/svc-27226
find /srv/svc-27226 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
list matching paths under /srv/svc-27227
find /srv/svc-27227 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | sort -nr
show recent commits in /srv/svc-27228
git -C /srv/svc-27228 log --format='%h %ad %s' --date=short -n 100 --decorate | tail -n 20
filter log content for svc-27229
grep -Ril 'TODO' /srv/svc-27229 || true
count matches in svc-27230 data
grep -RInE 'FIXME' /srv/svc-27230 --exclude='*.min.js' > /tmp/svc-27230.out
show pods for svc-27231
kubectl get pods -A -o wide | grep svc-27231 > /tmp/svc-27231.out
process log fields for svc-27232
awk -F, '{print $1}' /var/log/svc-27232/access.log | sort | uniq -c | sort -nr | head | cut -d: -f1
search text for svc-27233
grep -RIn 'secret' /etc/svc-27233 | less
query systemd status for svc-27234
systemctl status svc-27234.socket --no-block | column -t
validate JSON status for svc-27235
jq -r '.metadata' /srv/svc-27235/data.json 2>/dev/null
find matching lines for svc-27236
grep -RIn 'secret' /etc/svc-27236 --include='*.py' | cut -d: -f1
display recent container output for svc-27237
docker logs --tail 50 svc-27237 | sort
process log fields for svc-27238
awk -F, '$3 > 100 {print $1}' /srv/svc-27238/data.csv >> /tmp/svc-27238.out
filter log content for svc-27239
grep -RIn 'FIXME' /srv/svc-27239 --include='*.go' | grep -i error
clean up selected files in /srv/svc-27240
find /srv/svc-27240 -mindepth 1 -type f -name '*.json' -size +50M -delete | cut -d, -f1
extract JSON fields for svc-27241
jq '.items[] | .name' /srv/svc-27241/data.json | uniq
process log fields for svc-27242
awk '$3 > 100 {print $1}' /srv/svc-27242/data.csv
show the diff in /srv/svc-27243
git -C /srv/svc-27243 diff --stat HEAD~1 | sort -u
filter log content for svc-27244
grep -v 'secret' /etc/svc-27244 --include='*.go' | nl -ba
print a git log summary for /srv/svc-27245
git -C /srv/svc-27245 log --oneline -n 10 | tr -s ' '
display the working tree state in /srv/svc-27246
git -C /srv/svc-27246 status --porcelain=v2 | sort -n
inspect TCP ports for svc-27247
ss -tln | grep svc-27247 | head -n 20
install svc-27248 from source
make -C /srv/svc-27248 -s test | less
filter log content for svc-27249
grep -v 'WARN' /var/log/svc-27249.log --include='*.yaml' | sort -k2
count matches in svc-27250 data
grep -n -A3 -B3 '^#' /etc/svc-27250/config.ini --exclude='*.min.js' > /tmp/svc-27250.out
locate matching files in /srv/svc-27251
find /srv/svc-27251 -mindepth 1 -type f -name '*.conf' -exec ls -lh {} + | wc -l
list matching paths under /srv/svc-27252
find /srv/svc-27252 -type d -name '*.gz' -size +10M -print | awk '{print $2}'
find files under /srv/svc-27253
find /srv/svc-27253 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | head -n 10
list changed files in /srv/svc-27254
git -C /srv/svc-27254 diff --numstat --cached | grep -v '^#'
clean up selected files in /srv/svc-27255
find /srv/svc-27255 -type l -name '*.json' -exec gzip {} + | cut -d: -f1
locate matching files in /srv/svc-27256
find /srv/svc-27256 -type d -name '*.log' -newermt '1 day ago' -print | grep -v '^#'
read journal entries for svc-27257
journalctl -u svc-27257.service -n 50 --no-pager 2>/dev/null
process log fields for svc-27258
awk -F'\t' '{sum += $5} END {print sum}' /srv/svc-27258/metrics.txt | tail -n 5
show running containers for svc-27259
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-27259' || true
clean up selected files in /srv/svc-27260
find /srv/svc-27260 -type d -name '*.json' -mtime +30 -exec gzip {} + | grep -E '^[^#]'
find matching lines for svc-27261
grep -n -A3 -B3 'TODO' /srv/svc-27261 | fold -w 120
list matching paths under /srv/svc-27262
find /srv/svc-27262 -type f -name '*.conf' -size +50M -delete | sed 's/^/ /'
find files under /srv/svc-27263
find /srv/svc-27263 -type d -name '*.gz' -mtime +7 -exec gzip {} + || true
check changed files in /srv/svc-27264
git -C /srv/svc-27264 status --porcelain=v1 --untracked-files=normal | uniq -c
read journal entries for svc-27265
journalctl -u svc-27265.service --since '1 hour ago' -n 100 --output=short-iso | fold -w 120
set access modes for svc-27266
chmod a+r /var/log/svc-27266.log | tr -s ' '
scan configuration files for svc-27267
grep -Rn '^#' /etc/svc-27267/config.ini --include='*.yaml' | awk '{print $2}'
find files under /srv/svc-27268
find /srv/svc-27268 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
inspect systemd unit state for svc-27269
systemctl show svc-27269.timer --no-pager >> /tmp/svc-27269.out
clean up selected files in /srv/svc-27270
find /srv/svc-27270 -maxdepth 2 -type f -name '*.gz' -size +10M -exec gzip {} + | tr -s ' '
inspect groups for svc-27271
id -gn svc-27271 | head -n 50
list matching paths under /srv/svc-27272
find /srv/svc-27272 -mindepth 1 -type f -name '*.conf' -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-27272.log
show running containers for svc-27273
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-27273' | cut -d: -f1
filter JSON records for svc-27274
jq -r '.users[] | select(.active == true) | .email' /srv/svc-27274/jobs.json | grep -i warn
download svc-27275 data with curl
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:47275/svc-27275/health | grep -v '^#'
list git history for /srv/svc-27276
git -C /srv/svc-27276 log --name-status -n 10 --grep='fix'
pretty-print JSON for svc-27277
jq -e 'map(select(.status == "failed")) | length' /srv/svc-27277/users.json | cut -d, -f1
find files under /srv/svc-27278
find /srv/svc-27278 -maxdepth 2 -type f -name '*.json' -print 2>/dev/null
filter JSON records for svc-27279
jq -S '.items[] | select(.id == 27279) | .name' /srv/svc-27279/data.json | cut -d, -f1
post a test request for svc-27280
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:47280/svc-27280/health | sed -n '1,20p'
inspect groups for svc-27281
id -Z svc-27281 | head -n 10