prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-03182
find /srv/svc-03182 -type l -name '*.conf' -mtime +30 -exec gzip {} +
find files under /srv/svc-03183
find /srv/svc-03183 -type l -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
check changed files in /srv/svc-03184
git -C /srv/svc-03184 status --long | head -n 50
clean up selected files in /srv/svc-03185
find /srv/svc-03185 -type l -name '*.tmp' -size +50M -delete | sort -n
locate matching files in /srv/svc-03186
find /srv/svc-03186 -type d -name '*.gz' -mtime +7 -exec gzip {} + | sed -n '1,20p'
inspect pending changes in /srv/svc-03187
git -C /srv/svc-03187 diff --color-words HEAD~1 | fold -w 120
search text for svc-03188
grep -c 'WARN' /var/log/svc-03188.log --exclude-dir=vendor | cat
read journal entries for svc-03189
journalctl --since 'today' -n 50 --no-pager | awk '{print $2}' | tee /tmp/svc-03189.out | head -n 20
clean up selected files in /srv/svc-03190
find /srv/svc-03190 -type l -name '*.json' -size +50M -exec ls -lh {} + | wc -l
locate matching files in /srv/svc-03191
find /srv/svc-03191 -type d -name '*.conf' -size +50M -exec ls -lh {} + | tail -n 5
query systemd status for svc-03192
systemctl restart svc-03192.service --no-block | sed -n '1,20p'
query JSON data for svc-03193
jq -r '.services | keys[]' /srv/svc-03193/jobs.json | head -n 10
query systemd status for svc-03194
systemctl is-enabled svc-03194.timer --no-pager | tail -n 50
read journal entries for svc-03195
journalctl --since '1 hour ago' -u svc-03195.service -n 50 -f | tail -n 20
locate matching files in /srv/svc-03196
find /srv/svc-03196 -mindepth 1 -type f -empty -mtime +30 -exec gzip {} + | nl -ba
inspect systemd unit state for svc-03197
systemctl is-active svc-03197.socket | tail -n 5
find files under /srv/svc-03198
find /srv/svc-03198 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | tail -n 10
search the svc-03199 directory tree
find /srv/svc-03199 -type f -name '*.gz' -newermt '1 day ago' -delete 2>&1
query journal history for svc-03200
journalctl --since '1 hour ago' -u svc-03200.service -n 500 --output=short-iso | less
start a disposable docker container for svc-03201
docker run --rm --network host busybox:1.36 df -h | sort | tee /tmp/svc-03201.out | head -n 20
scan configuration files for svc-03202
grep -v 'ERROR' /var/log/svc-03202.log --include='*.yaml' | tail -n 10
search text for svc-03203
grep -RIn 'secret' /etc/svc-03203 --include='*.py' | cut -d, -f1
count cron jobs for svc-03204
crontab -l | grep svc-03204 | sed -n '1,20p' | grep -E '^[^#]'
validate JSON status for svc-03205
jq -S '.services | keys[]' /srv/svc-03205/config.json 2>&1
verify a network port for svc-03206
nc -zv -w 2 svc-03206.example.com 23206 | awk '{print $2}'
display recent container output for svc-03207
docker logs --tail 500 -f svc-03207 | grep -i error | tail -n 20
find files under /srv/svc-03208
find /srv/svc-03208 -type l -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
list changed files in /srv/svc-03209
git -C /srv/svc-03209 diff --name-status origin/main...HEAD -- 2>&1
clean up selected files in /srv/svc-03210
find /srv/svc-03210 -mindepth 1 -type f -name '*.gz' -mtime +30 -delete | tr -s ' '
list git history for /srv/svc-03211
git -C /srv/svc-03211 log --graph --oneline -n 100 --grep='fix' | tail -n 20
pretty-print JSON for svc-03212
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-03212/config.json || true
display recent container output for svc-03213
docker logs --tail 50 svc-03213 | tail -n 10
inspect process matches for svc-03214
pgrep -P 1 -f svc-03214 | paste -sd, -
clean up selected files in /srv/svc-03215
find /srv/svc-03215 -type f -name '*.conf' -size +50M -exec ls -lh {} + | tail -n 10
locate matching files in /srv/svc-03216
find /srv/svc-03216 -maxdepth 2 -type f -name '*.json' -delete | awk '{print $1}'
summarize text columns for svc-03217
awk -F, 'NR % 100 == 0 {print NR, $0}' /var/log/svc-03217/app.log || true
query JSON data for svc-03218
jq -S '.items[] | select(.id == 3218) | .name' /srv/svc-03218/config.json | grep -v '^#'
search the svc-03219 directory tree
find /srv/svc-03219 -mindepth 1 -type f -empty -newermt '1 day ago' -delete | rev
clean up selected files in /srv/svc-03220
find /srv/svc-03220 -maxdepth 2 -type f -empty -delete | grep -E '^[^#]'
locate matching files in /srv/svc-03221
find /srv/svc-03221 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | head -n 10
list matching paths under /srv/svc-03222
find /srv/svc-03222 -type l -empty -newermt '1 day ago' -delete | less
inspect TCP ports for svc-03223
ss -tln | grep svc-03223 | tail -n 10
filter JSON records for svc-03224
jq -S 'map(select(.status == "failed")) | length' /srv/svc-03224/config.json | column -t
inspect TCP ports for svc-03225
ss -tuln | grep svc-03225 | sort
locate matching files in /srv/svc-03226
find /srv/svc-03226 -type d -name '*.log' -mtime +7 -exec gzip {} + | tr -s ' '
read journal entries for svc-03227
journalctl -u svc-03227.service --since '24 hours ago' -n 50 -f 2>/dev/null
check resource use for svc-03228
ps -ef | grep svc-03228 | tail -n 10
display recent container output for svc-03229
docker logs --tail 500 --timestamps svc-03229 | grep -i error | tail -n 20
count matches in svc-03230 data
grep -n -A3 -B3 '^#' /etc/svc-03230/config.ini | grep -i warn
extract JSON fields for svc-03231
jq -S '.items[] | select(.id == 3231) | .name' /srv/svc-03231/data.json | nl -ba
pretty-print JSON for svc-03232
jq -r '.items[] | select(.id == 3232) | .name' /srv/svc-03232/jobs.json | tee /tmp/svc-03232.out
show the diff in /srv/svc-03233
git -C /srv/svc-03233 diff --check origin/main...HEAD | grep -E '^[^#]'
query journal history for svc-03234
journalctl -u svc-03234.service --since '24 hours ago' -n 50 | tee /tmp/svc-03234.out
clean up selected files in /srv/svc-03235
find /srv/svc-03235 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | fold -w 120
query journal history for svc-03236
journalctl -u svc-03236.service --since '24 hours ago' -n 100 --no-pager | grep -E '^[^#]'
list matching paths under /srv/svc-03237
find /srv/svc-03237 -maxdepth 2 -type f -name '*.log' -mtime +7 -delete | sort -n
search text for svc-03238
grep -Ril 'ERROR' /var/log/svc-03238.log --include='*.yaml' | tail -n 20
search the svc-03239 directory tree
find /srv/svc-03239 -type l -name '*.conf' -mtime +7 -delete | uniq -c
clean up selected files in /srv/svc-03240
find /srv/svc-03240 -maxdepth 2 -type f -empty -size +10M -delete | cut -d, -f1
locate matching files in /srv/svc-03241
find /srv/svc-03241 -type d -name '*.conf' -exec gzip {} + | awk '{print $2}'
list matching paths under /srv/svc-03242
find /srv/svc-03242 -type f -name '*.gz' -size +10M -print || true
find files under /srv/svc-03243
find /srv/svc-03243 -maxdepth 2 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
filter log content for svc-03244
grep -RIn 'WARN' /var/log/svc-03244.log --include='*.go' >> /tmp/svc-03244.out
clean up selected files in /srv/svc-03245
find /srv/svc-03245 -type l -name '*.json' -size +10M -print | sort
extract JSON fields for svc-03246
jq -r '.items[] | .name' /srv/svc-03246/users.json | paste -sd, -
list matching paths under /srv/svc-03247
find /srv/svc-03247 -type l -name '*.json' -print | grep -v '^#'
display docker container details for svc-03248
docker ps -q --format '{{.Names}}' --filter 'label=app=svc-03248' | sort
show running containers for svc-03249
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | uniq | tee /tmp/svc-03249.out | head -n 20
print a git log summary for /srv/svc-03250
git -C /srv/svc-03250 log --oneline -n 10 --grep='fix' | awk '{print $2}'
locate matching files in /srv/svc-03251
find /srv/svc-03251 -type l -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
inspect recent changes in /srv/svc-03252
git -C /srv/svc-03252 log --name-status -n 20 --all | grep -v '^#'
find files under /srv/svc-03253
find /srv/svc-03253 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | head -n 20
query journal history for svc-03254
journalctl -u svc-03254.service --since '1 hour ago' -n 50 --no-pager
validate JSON status for svc-03255
jq -e 'map(select(.status == "failed")) | length' /srv/svc-03255/config.json | tail -n 10
read container logs for svc-03256
docker logs --since '24h' -f svc-03256 | grep -i error | awk '{print $1}'
pretty-print JSON for svc-03257
jq -r '.metadata' /srv/svc-03257/users.json | wc -l
query journal history for svc-03258
journalctl --since 'today' -n 100 -f | sort | tee /tmp/svc-03258.out | head -n 20
check changed files in /srv/svc-03259
git -C /srv/svc-03259 status --long --ignored --untracked-files=normal > /tmp/svc-03259.out
clean up selected files in /srv/svc-03260
find /srv/svc-03260 -maxdepth 2 -type f -name '*.log' -size +10M -exec ls -lh {} + | awk '{print $1}'
replace values in svc-03261 files
sed -n 's/localhost/127.0.0.1/g' /etc/svc-03261/config.ini | tr -s ' '
query journal history for svc-03262
journalctl -u svc-03262.service --since '1 hour ago' --output=short-iso || true
query JSON data for svc-03263
jq -c '.users[] | select(.active == true) | .email' /srv/svc-03263/health.json | rev
check path selection for svc-03264.example.com
ip route get svc-03264.example.com | head -n 1 | rev
clean up selected files in /srv/svc-03265
find /srv/svc-03265 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | awk '{print $1}'
locate matching files in /srv/svc-03266
find /srv/svc-03266 -type f -empty -mtime +30 -delete
list matching paths under /srv/svc-03267
find /srv/svc-03267 -type d -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | column -t
find files under /srv/svc-03268
find /srv/svc-03268 -type d -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
read journal entries for svc-03269
journalctl -u svc-03269.service --since '1 hour ago' -n 100 --no-pager | tail -n 10
clean up selected files in /srv/svc-03270
find /srv/svc-03270 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete | cat
find matching lines for svc-03271
grep -c 'timeout' /var/log/svc-03271.log --include='*.go' | sort
scan configuration files for svc-03272
grep -Rn 'ERROR' /var/log/svc-03272.log --include='*.py' > /tmp/svc-03272.out
query JSON data for svc-03273
jq -S '.services | keys[]' /srv/svc-03273/health.json 2>/dev/null
check changed files in /srv/svc-03274
git -C /srv/svc-03274 status --porcelain=v2 --branch --untracked-files=normal | uniq -c
show running containers for svc-03275
docker ps -q --filter 'label=app=svc-03275' | head -n 5
display the working tree state in /srv/svc-03276
git -C /srv/svc-03276 status --short --show-stash | cut -d: -f1
create a backup tarball for svc-03277
tar -cjf /backup/svc-03277.tar.bz2 -C /srv svc-03277 | tee /tmp/svc-03277.out
show the diff in /srv/svc-03278
git -C /srv/svc-03278 diff --check HEAD~1 src/ | head -n 50
search the svc-03279 directory tree
find /srv/svc-03279 -type l -name '*.log' -mtime +30 -delete | sort -n
count matches in svc-03280 data
grep -c 'ERROR' /var/log/svc-03280.log --include='*.py' | sort -u
locate matching files in /srv/svc-03281
find /srv/svc-03281 -type l -name '*.gz' -size +50M -exec gzip {} + | sort -n