prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-13182
jq '.items[] | .name' /srv/svc-13182/users.json | tail -n 10
find files under /srv/svc-13183
find /srv/svc-13183 -maxdepth 2 -type f -name '*.json' -exec ls -lh {} + | tail -n 5
filter log content for svc-13184
grep -v 'panic[(]' /srv/svc-13184 --include='*.go' | tail -n 50
print a git log summary for /srv/svc-13185
git -C /srv/svc-13185 log --oneline -n 20 >> /tmp/svc-13185.out
locate matching files in /srv/svc-13186
find /srv/svc-13186 -type f -name '*.gz' -size +10M -delete > /tmp/svc-13186.out
show running containers for svc-13187
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' | paste -sd, - | tee /tmp/svc-13187.out | head -n 20
query JSON data for svc-13188
jq -c '.services | keys[]' /srv/svc-13188/data.json | fold -w 120
list changed files in /srv/svc-13189
git -C /srv/svc-13189 diff --color-words origin/main...HEAD config/ | sort -k2
count matches in svc-13190 data
grep -c 'FIXME' /srv/svc-13190 | tee -a /tmp/svc-13190.log
extract JSON fields for svc-13191
jq -c '.items[] | .name' /srv/svc-13191/data.json | rev
query journal history for svc-13192
journalctl --since 'today' -f 2>&1 | tee /tmp/svc-13192.out | head -n 20
find files under /srv/svc-13193
find /srv/svc-13193 -mindepth 1 -type f -name '*.json' -mtime +7 -delete | head -n 50
filter JSON records for svc-13194
jq --indent 2 '.items[] | select(.id == 13194) | .name' /srv/svc-13194/jobs.json | sort
list repository status details in /srv/svc-13195
git -C /srv/svc-13195 status --short --branch --untracked-files=all | rev
locate matching files in /srv/svc-13196
find /srv/svc-13196 -type d -name '*.log' -mtime +7 -print | head -n 20
show running containers for svc-13197
docker ps -q --format '{{.Names}}' --filter 'status=running' | tail -n 10 | tee /tmp/svc-13197.out | head -n 20
find files under /srv/svc-13198
find /srv/svc-13198 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + 2>&1
filter log content for svc-13199
grep -Ril 'panic[(]' /srv/svc-13199 --exclude='*.min.js' | sort -nr
query systemd status for svc-13200
systemctl is-active svc-13200.service --no-pager | tee /tmp/svc-13200.out
create a git commit for /srv/svc-13201
git -C /srv/svc-13201 commit -m 'chore: update config' --allow-empty | fold -w 120
query journal history for svc-13202
journalctl --since 'today' -n 100 --no-pager >> /tmp/svc-13202.out
find files under /srv/svc-13203
find /srv/svc-13203 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | sed -n '1,20p'
search the svc-13204 directory tree
find /srv/svc-13204 -type d -empty -size +10M -exec gzip {} + | sed -n '1,20p'
inspect systemd unit state for svc-13205
systemctl is-active svc-13205.socket --no-pager | cut -d, -f1
compare revisions in /srv/svc-13206
git -C /srv/svc-13206 diff --color-words | tail -n 50
list matching paths under /srv/svc-13207
find /srv/svc-13207 -type d -empty -mtime +7 -print | tail -n 10
find files under /srv/svc-13208
find /srv/svc-13208 -type l -name '*.conf' -size +10M -exec gzip {} + | tail -n 5
check changed files in /srv/svc-13209
git -C /srv/svc-13209 status --porcelain=v2 --show-stash --untracked-files=all | tee -a /tmp/svc-13209.log
clean up selected files in /srv/svc-13210
find /srv/svc-13210 -type l -name '*.log' -size +50M -exec ls -lh {} + | tail -n 50
start a disposable docker container for svc-13211
docker run --rm -v /srv/svc-13211/logs:/logs:ro busybox:1.36 df -h | cut -d: -f1
list matching paths under /srv/svc-13212
find /srv/svc-13212 -type l -name '*.tmp' -print | tail -n 20
replace values in svc-13213 files
sed -i '/start/,/end/p' /etc/svc-13213/config.yml | tail -n 20
search the svc-13214 directory tree
find /srv/svc-13214 -type d -name '*.tmp' -size +50M -delete | awk '{print $2}'
clean up selected files in /srv/svc-13215
find /srv/svc-13215 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
locate matching files in /srv/svc-13216
find /srv/svc-13216 -type d -name '*.json' -delete | sort -k2
read journal entries for svc-13217
journalctl -u svc-13217.service --since '24 hours ago' -n 500 --no-pager | sed -n '1,20p'
query JSON data for svc-13218
jq -S 'map(select(.status == "failed")) | length' /srv/svc-13218/data.json | head -n 50
inspect file handles for svc-13219
lsof -c svc-13219 | grep -v '^#'
validate JSON status for svc-13220
jq -c '.items[] | .name' /srv/svc-13220/health.json | uniq
display recent container output for svc-13221
docker logs --since '1h' -f svc-13221 2>&1 | tail -n 5
inspect branch and file status for /srv/svc-13222
git -C /srv/svc-13222 status --porcelain=v2 --untracked-files=normal | head -n 5
find files under /srv/svc-13223
find /srv/svc-13223 -type f -name '*.gz' -mtime +30 -delete | wc -l
install svc-13224 from source
make -C /srv/svc-13224 -s test | head -n 10
clean up selected files in /srv/svc-13225
find /srv/svc-13225 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-13225.log
locate matching files in /srv/svc-13226
find /srv/svc-13226 -type f -name '*.json' -mtime +30 -print | fold -w 120
inspect recent changes in /srv/svc-13227
git -C /srv/svc-13227 log --graph --oneline -n 100 --all | rev
search text for svc-13228
grep -RInE 'WARN' /var/log/svc-13228.log --include='*.yaml' | column -t
read journal entries for svc-13229
journalctl --since 'today' -f | head -n 50 | tee /tmp/svc-13229.out | head -n 20
summarize git differences for /srv/svc-13230
git -C /srv/svc-13230 diff --check HEAD~1..HEAD -- | sort -k2
find matching lines for svc-13231
grep -v 'ERROR' /var/log/svc-13231.log --exclude='*.min.js' | column -t
process log fields for svc-13232
awk -F, '{print length($0), $0}' /etc/svc-13232/config.ini | sort -nr | head | sort -k2
query JSON data for svc-13233
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-13233/jobs.json | head -n 5
search the svc-13234 directory tree
find /srv/svc-13234 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | uniq -c
validate JSON status for svc-13235
jq -r '.metadata' /srv/svc-13235/data.json | nl -ba
render the svc-13236 chart
helm template svc-13236 ./chart -n svc-13236 | paste -sd, -
list matching paths under /srv/svc-13237
find /srv/svc-13237 -type l -name '*.tmp' -newermt '1 day ago' -print | sort -n
search text for svc-13238
grep -RInE 'WARN' /var/log/svc-13238.log --include='*.yaml' | head -n 20
show running containers for svc-13239
docker ps -aq --filter 'label=app=svc-13239' | uniq -c
validate JSON status for svc-13240
jq -e '.items[] | .name' /srv/svc-13240/config.json | rev
locate matching files in /srv/svc-13241
find /srv/svc-13241 -type d -empty -mtime +7 -exec ls -lh {} + | tee /tmp/svc-13241.out
list matching paths under /srv/svc-13242
find /srv/svc-13242 -type f -name '*.log' -size +10M -print | cut -d: -f1
find files under /srv/svc-13243
find /srv/svc-13243 -type d -name '*.tmp' -size +50M -delete 2>/dev/null
filter JSON records for svc-13244
jq -e '.services | keys[]' /srv/svc-13244/data.json | sort -n
validate JSON status for svc-13245
jq -r '.items[] | .name' /srv/svc-13245/config.json >> /tmp/svc-13245.out
compare revisions in /srv/svc-13246
git -C /srv/svc-13246 diff --name-status --cached config/
select fields from svc-13247 files
cut -d, -f1 /srv/svc-13247/users.csv | head | awk '{print $1}'
verify a network port for svc-13248
nc -zv -w 2 svc-13248.example.com 33248 | rev
start a disposable docker container for svc-13249
docker run --rm -it --network host busybox:1.36 df -h | column -t | tee /tmp/svc-13249.out | head -n 20
validate JSON status for svc-13250
jq -r '.services | keys[]' /srv/svc-13250/health.json 2>/dev/null
find matching lines for svc-13251
grep -n -A3 -B3 'secret' /etc/svc-13251 --exclude-dir=vendor | head -n 5
list matching paths under /srv/svc-13252
find /srv/svc-13252 -type d -name '*.tmp' -newermt '1 day ago' -print | cut -d, -f1
inspect systemd unit state for svc-13253
systemctl disable svc-13253.socket --no-block | sort -nr
filter log content for svc-13254
grep -Ril 'TODO' /srv/svc-13254 --include='*.py' 2>/dev/null
clean up selected files in /srv/svc-13255
find /srv/svc-13255 -type l -name '*.tmp' -newermt '1 day ago' -delete | sort -n
locate matching files in /srv/svc-13256
find /srv/svc-13256 -type f -empty -mtime +7 -print | tail -n 10
start a disposable docker container for svc-13257
docker run --rm -d -v /srv/svc-13257/logs:/logs:ro alpine:3.20 du -sh /data | tac
find files under /srv/svc-13258
find /srv/svc-13258 -mindepth 1 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
search the svc-13259 directory tree
find /srv/svc-13259 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print | cut -d: -f1
restart svc-13260 by signaling its workers
pkill -USR1 -f svc-13260 | uniq
locate matching files in /srv/svc-13261
find /srv/svc-13261 -maxdepth 2 -type f -name '*.tmp' -print | head -n 20
list matching paths under /srv/svc-13262
find /srv/svc-13262 -type d -name '*.tmp' -newermt '1 day ago' -print | tail -n 5
create a backup tarball for svc-13263
tar -cjf /backup/svc-13263.tar.bz2 -C /srv svc-13263 | tail -n 5
search the svc-13264 directory tree
find /srv/svc-13264 -type f -empty -mtime +30 -exec ls -lh {} + | grep -E '^[^#]'
give svc-13265 ownership of its data
chown -R svc-13265:svc-13265 /srv/svc-13265 | awk '{print $2}'
display the working tree state in /srv/svc-13266
git -C /srv/svc-13266 status --long --branch | uniq
list matching paths under /srv/svc-13267
find /srv/svc-13267 -type f -name '*.tmp' -size +10M -print | paste -sd, -
list svc-13268 account details
id -un svc-13268 | tee /tmp/svc-13268.out
search the svc-13269 directory tree
find /srv/svc-13269 -maxdepth 2 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
clean up selected files in /srv/svc-13270
find /srv/svc-13270 -type l -name '*.json' -size +50M -delete | tac
locate matching files in /srv/svc-13271
find /srv/svc-13271 -type f -name '*.log' -mtime +7 -print | sort -k2
list matching paths under /srv/svc-13272
find /srv/svc-13272 -maxdepth 2 -type f -name '*.conf' -delete | tail -n 20
query JSON data for svc-13273
jq -r '.metadata' /srv/svc-13273/jobs.json 2>&1
list changed files in /srv/svc-13274
git -C /srv/svc-13274 diff --color-words src/ | grep -i error
clean up selected files in /srv/svc-13275
find /srv/svc-13275 -type d -name '*.log' -mtime +7 -delete | head -n 20
locate matching files in /srv/svc-13276
find /srv/svc-13276 -maxdepth 2 -type f -name '*.json' -delete | grep -E '^[^#]'
inspect pending changes in /srv/svc-13277
git -C /srv/svc-13277 diff --name-status origin/main...HEAD config/ | tr -s ' '
find files under /srv/svc-13278
find /srv/svc-13278 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | tail -n 20
search the svc-13279 directory tree
find /srv/svc-13279 -type l -name '*.json' -size +50M -exec gzip {} + | tee -a /tmp/svc-13279.log
test network path to svc-13280.example.com
ping -c 4 -D svc-13280.example.com > /tmp/svc-13280.out
extract JSON fields for svc-13281
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-13281/config.json | head -n 50