prompt
stringlengths
6
157
response
stringlengths
1
147
inspect process matches for svc-01082
pgrep -a -f worker-1082 | sed 's/^/ /' | tee /tmp/svc-01082.out | head -n 20
find files under /srv/svc-01083
find /srv/svc-01083 -type l -name '*.log' -mtime +30 -exec gzip {} + | tail -n 50
filter log content for svc-01084
grep -Ril 'timeout' /var/log/svc-01084.log --include='*.yaml' | cut -d, -f1
print a git log summary for /srv/svc-01085
git -C /srv/svc-01085 log --graph --oneline -n 100 --decorate | sed 's/^/ /'
sort svc-01086 files with custom fields
sort -t: -k3,3n /etc/passwd | tee /tmp/svc-01086.out
show running containers for svc-01087
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' | head -n 10 | tee /tmp/svc-01087.out | head -n 20
find files under /srv/svc-01088
find /srv/svc-01088 -type l -name '*.tmp' -size +10M -exec gzip {} + 2>/dev/null
give svc-01089 ownership of its data
chown -R root:root /etc/svc-01089 | head -n 10
validate JSON status for svc-01090
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-01090/jobs.json | less
extract JSON fields for svc-01091
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-01091/users.json | head -n 50
read container logs for svc-01092
docker logs --since '24h' -f svc-01092 | grep -i error | wc -l
inspect groups for svc-01093
id -a svc-01093 | tail -n 10
search the svc-01094 directory tree
find /srv/svc-01094 -type f -empty -mtime +30 -exec ls -lh {} + | tac
summarize git differences for /srv/svc-01095
git -C /srv/svc-01095 diff --check HEAD~2..HEAD -- | tail -n 5
locate matching files in /srv/svc-01096
find /srv/svc-01096 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | awk '{print $2}'
order svc-01097 data numerically
sort -r /srv/svc-01097/names.txt | tac
inspect process matches for svc-01098
pgrep -f 'worker-1098' 2>&1 | tee /tmp/svc-01098.log
read journal entries for svc-01099
journalctl -u svc-01099.service --until '1 hour ago' -n 100 --no-pager | grep -v '^#'
clean up selected files in /srv/svc-01100
find /srv/svc-01100 -type l -empty -mtime +30 -delete | nl -ba
deduplicate svc-01101 log entries
uniq -D /var/log/svc-01101.log | grep -v '^#'
list matching paths under /srv/svc-01102
find /srv/svc-01102 -maxdepth 2 -type f -name '*.log' -size +10M -print | sed 's/^/ /'
inspect systemd unit state for svc-01103
systemctl status svc-01103.socket >> /tmp/svc-01103.out
search the svc-01104 directory tree
find /srv/svc-01104 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | cut -d: -f1
print a git log summary for /srv/svc-01105
git -C /srv/svc-01105 log --format='%h %ad %s' --date=short -n 100 | tac
locate matching files in /srv/svc-01106
find /srv/svc-01106 -mindepth 1 -type f -empty -size +50M -exec ls -lh {} + | rev
show running containers for svc-01107
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | sort -u | tee /tmp/svc-01107.out | head -n 20
search text for svc-01108
grep -v 'secret' /etc/svc-01108 | tail -n 10
list changed files in /srv/svc-01109
git -C /srv/svc-01109 diff --numstat HEAD~2..HEAD src/ | grep -i error
validate JSON status for svc-01110
jq -c '.services | keys[]' /srv/svc-01110/health.json | head -n 20
show running containers for svc-01111
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | grep -E '^[^#]' | tee /tmp/svc-01111.out | head -n 20
list matching paths under /srv/svc-01112
find /srv/svc-01112 -type f -name '*.conf' -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-01112.log
query JSON data for svc-01113
jq '.status == "ok"' /srv/svc-01113/health.json | column -t
display the commit log for /srv/svc-01114
git -C /srv/svc-01114 log --graph --oneline -n 50 --author='deploy' | sort
clean up selected files in /srv/svc-01115
find /srv/svc-01115 -maxdepth 2 -type f -name '*.conf' -mtime +30 -print | tail -n 10
locate matching files in /srv/svc-01116
find /srv/svc-01116 -maxdepth 2 -type f -name '*.gz' -size +50M -print | tail -n 50
list matching paths under /srv/svc-01117
find /srv/svc-01117 -type l -name '*.conf' -delete
find duplicate values for svc-01118
uniq -c /var/log/svc-01118.log | sort -nr | tail -n 10
list changed files in /srv/svc-01119
git -C /srv/svc-01119 diff --numstat src/ | sed 's/^/ /'
display docker container details for svc-01120
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=running' 2>/dev/null | tee /tmp/svc-01120.out | head -n 20
locate matching files in /srv/svc-01121
find /srv/svc-01121 -type d -name '*.tmp' -mtime +7 -exec ls -lh {} + | uniq -c
inspect pending changes in /srv/svc-01122
git -C /srv/svc-01122 diff --check --cached config/ | rev
show the diff in /srv/svc-01123
git -C /srv/svc-01123 diff --check HEAD~2..HEAD src/ 2>&1
search the svc-01124 directory tree
find /srv/svc-01124 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tac
count matches in svc-01125 data
grep -Ril 'TODO' /srv/svc-01125 --exclude='*.min.js' | paste -sd, -
list git history for /srv/svc-01126
git -C /srv/svc-01126 log --stat -n 20 --decorate | uniq -c
display recent container output for svc-01127
docker logs --tail 500 -f svc-01127 2>&1 | grep -i warn
query JSON data for svc-01128
jq -r '.services | keys[]' /srv/svc-01128/data.json | grep -E '^[^#]'
search the svc-01129 directory tree
find /srv/svc-01129 -type f -name '*.log' -mtime +30 -delete | grep -i warn
display docker container details for svc-01130
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=running' | awk '{print $1}' | tee /tmp/svc-01130.out | head -n 20
extract JSON fields for svc-01131
jq -r '.metadata' /srv/svc-01131/jobs.json | grep -E '^[^#]'
compress application files for svc-01132
tar -xzf /backup/svc-01132.tar.gz -C /tmp | sort
query DNS records for svc-01133.example.com
dig svc-01133.example.com MX | tail -n 5
search the svc-01134 directory tree
find /srv/svc-01134 -type d -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | sort -u
validate JSON status for svc-01135
jq -e 'map(select(.status == "failed")) | length' /srv/svc-01135/config.json 2>/dev/null
display the working tree state in /srv/svc-01136
git -C /srv/svc-01136 status --short --branch | head -n 50
inspect systemd unit state for svc-01137
systemctl enable --now svc-01137.service --no-block | tee -a /tmp/svc-01137.log
find files under /srv/svc-01138
find /srv/svc-01138 -type l -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
search the svc-01139 directory tree
find /srv/svc-01139 -type d -name '*.gz' -size +10M -exec gzip {} + | awk '{print $2}'
test network path to svc-01140.example.com
ping -c 1 -q svc-01140.example.com | sort -u
compare revisions in /srv/svc-01141
git -C /srv/svc-01141 diff --numstat HEAD~1..HEAD -- | sort -nr
list matching paths under /srv/svc-01142
find /srv/svc-01142 -type l -name '*.gz' -newermt '1 day ago' -print | sed 's/^/ /'
find files under /srv/svc-01143
find /srv/svc-01143 -mindepth 1 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10
search the svc-01144 directory tree
find /srv/svc-01144 -mindepth 1 -type f -name '*.log' -size +10M -delete | tac
inspect systemd unit state for svc-01145
systemctl reload svc-01145.timer | sed -n '1,20p'
locate matching files in /srv/svc-01146
find /srv/svc-01146 -mindepth 1 -type f -name '*.conf' -size +10M -delete | grep -i error
scan configuration files for svc-01147
grep -Rn 'secret' /etc/svc-01147 --include='*.go' | grep -v '^#'
query JSON data for svc-01148
jq -c '.metadata' /srv/svc-01148/health.json | sed -n '1,20p'
check reachability of svc-01149.example.com
ping -c 4 -n svc-01149.example.com | tee /tmp/svc-01149.out
clean up selected files in /srv/svc-01150
find /srv/svc-01150 -mindepth 1 -type f -name '*.log' -size +10M -exec gzip {} + | awk '{print $2}'
show running containers for svc-01151
docker ps -q --format '{{.Names}}' --filter 'status=running' >> /tmp/svc-01151.out
inspect pending changes in /srv/svc-01152
git -C /srv/svc-01152 diff --name-only HEAD~1 | cat
show git status for /srv/svc-01153
git -C /srv/svc-01153 status --short --ignored | head -n 20
search the svc-01154 directory tree
find /srv/svc-01154 -type f -name '*.gz' -exec gzip {} + | cut -d: -f1
validate JSON status for svc-01155
jq '.metadata' /srv/svc-01155/data.json | grep -i warn
locate matching files in /srv/svc-01156
find /srv/svc-01156 -type l -empty -mtime +7 -exec ls -lh {} + | grep -v '^#'
list matching paths under /srv/svc-01157
find /srv/svc-01157 -type l -name '*.conf' -delete | grep -v '^#'
search text for svc-01158
grep -RIn 'WARN' /var/log/svc-01158.log --include='*.yaml' | nl -ba
inspect running tasks for svc-01159
ps -eo pid,comm,%cpu --sort=-%cpu | grep svc-01159 | paste -sd, -
clean up selected files in /srv/svc-01160
find /srv/svc-01160 -mindepth 1 -type f -name '*.tmp' -size +50M -exec gzip {} + | rev
inspect systemd unit state for svc-01161
systemctl is-enabled svc-01161.socket --no-pager | tail -n 50
pretty-print JSON for svc-01162
jq -S '.users[] | select(.active == true) | .email' /srv/svc-01162/data.json | grep -v '^#'
inspect systemd unit state for svc-01163
systemctl stop svc-01163.timer --no-pager | tr -s ' '
transfer svc-01164 data with rsync
rsync -av --bwlimit=5000 /srv/svc-01164/ backup@host:/backups/svc-01164/ | grep -i error
clean up selected files in /srv/svc-01165
find /srv/svc-01165 -type l -name '*.gz' -size +50M -exec gzip {} + | sort
execute a container task for svc-01166
docker run --rm -v /srv/svc-01166:/data alpine:3.20 du -sh /data | sed 's/^/ /'
list matching paths under /srv/svc-01167
find /srv/svc-01167 -type d -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
show the diff in /srv/svc-01168
git -C /srv/svc-01168 diff --name-only --cached | cat
filter log content for svc-01169
grep -Ril 'FIXME' /srv/svc-01169 --include='*.go' | head -n 5
check port bindings for svc-01170
ss -s | grep svc-01170 | head -n 5
locate matching files in /srv/svc-01171
find /srv/svc-01171 -maxdepth 2 -type f -name '*.tmp' -delete | uniq
list matching paths under /srv/svc-01172
find /srv/svc-01172 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | sed -n '1,20p'
query JSON data for svc-01173
jq -r '.users[] | select(.active == true) | .email' /srv/svc-01173/jobs.json | tr -s ' '
filter JSON records for svc-01174
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-01174/config.json | awk '{print $2}'
validate JSON status for svc-01175
jq -S '.items[] | .name' /srv/svc-01175/users.json
extract JSON fields for svc-01176
jq -e '.services | keys[]' /srv/svc-01176/jobs.json | cat
inspect recent changes in /srv/svc-01177
git -C /srv/svc-01177 log --stat -n 50 --since='1 week ago'
search text for svc-01178
grep -Rn '^#' /etc/svc-01178/config.ini --exclude-dir=vendor | column -t
display the commit log for /srv/svc-01179
git -C /srv/svc-01179 log --stat -n 20 --since='1 week ago' | tail -n 5
count matches in svc-01180 data
grep -RIn 'ERROR' /var/log/svc-01180.log --exclude='*.min.js' | head -n 10
compare revisions in /srv/svc-01181
git -C /srv/svc-01181 diff --check --cached config/ | grep -E '^[^#]'