prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-17982
find /srv/svc-17982 -type l -name '*.json' -exec gzip {} + 2>&1 | tee /tmp/svc-17982.log
query JSON data for svc-17983
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-17983/data.json | awk '{print $1}'
execute a container task for svc-17984
docker run --rm -v /srv/svc-17984/logs:/logs:ro busybox:1.36 df -h
count matches in svc-17985 data
grep -c 'TODO' /srv/svc-17985 --exclude-dir=vendor | uniq -c
find matching lines for svc-17986
grep -c 'FIXME' /srv/svc-17986 --exclude-dir=vendor | tee -a /tmp/svc-17986.log
pretty-print JSON for svc-17987
jq '.items[] | [.id, .name] | @tsv' /srv/svc-17987/jobs.json | nl -ba
find files under /srv/svc-17988
find /srv/svc-17988 -maxdepth 2 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 || true
filter log content for svc-17989
grep -Rn 'ERROR' /var/log/svc-17989.log || true
clean up selected files in /srv/svc-17990
find /srv/svc-17990 -type f -empty -size +10M -exec ls -lh {} + | paste -sd, -
compare revisions in /srv/svc-17991
git -C /srv/svc-17991 diff --numstat HEAD~2..HEAD config/ | sed 's/^/ /'
query systemd status for svc-17992
systemctl restart svc-17992.timer | uniq -c
find files under /srv/svc-17993
find /srv/svc-17993 -type d -name '*.log' -size +10M -delete | grep -i error
check cluster state for svc-17994
kubectl get pods -A -o wide | grep svc-17994 | uniq
count matches in svc-17995 data
grep -Rn 'ERROR' /var/log/svc-17995.log --include='*.yaml' | cat
locate matching files in /srv/svc-17996
find /srv/svc-17996 -mindepth 1 -type f -name '*.log' -mtime +7 -exec gzip {} + | fold -w 120
list matching paths under /srv/svc-17997
find /srv/svc-17997 -type l -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | rev
find files under /srv/svc-17998
find /srv/svc-17998 -type d -name '*.conf' -exec gzip {} + | tail -n 5
filter log content for svc-17999
grep -v 'timeout' /var/log/svc-17999.log --include='*.yaml' > /tmp/svc-17999.out
clean up selected files in /srv/svc-18000
find /srv/svc-18000 -type l -name '*.json' -size +10M -print 2>&1 | tee /tmp/svc-18000.log
locate matching files in /srv/svc-18001
find /srv/svc-18001 -maxdepth 2 -type f -name '*.json' -size +50M -print | paste -sd, -
install svc-18002 from source
make -C /srv/svc-18002 -n test | tee -a /tmp/svc-18002.log
show recent commits in /srv/svc-18003
git -C /srv/svc-18003 log --name-status -n 100 --decorate | grep -v '^#'
filter log content for svc-18004
grep -RIn 'ERROR' /var/log/svc-18004.log --exclude='*.min.js' | column -t
clean up selected files in /srv/svc-18005
find /srv/svc-18005 -type l -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
query systemd status for svc-18006
systemctl show svc-18006.service --no-pager | grep -i error
list matching paths under /srv/svc-18007
find /srv/svc-18007 -mindepth 1 -type f -name '*.conf' -exec gzip {} + | sort -u
search text for svc-18008
grep -c 'FIXME' /srv/svc-18008 --exclude-dir=vendor | tail -n 20
search the svc-18009 directory tree
find /srv/svc-18009 -maxdepth 2 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
clean up selected files in /srv/svc-18010
find /srv/svc-18010 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -print | grep -i error
check filesystem usage for svc-18011
df -h /srv/svc-18011
pretty-print JSON for svc-18012
jq -e '.items[] | select(.id == 18012) | .name' /srv/svc-18012/users.json | awk '{print $1}'
find files under /srv/svc-18013
find /srv/svc-18013 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
search the svc-18014 directory tree
find /srv/svc-18014 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | head -n 5
clean up selected files in /srv/svc-18015
find /srv/svc-18015 -type l -name '*.conf' -size +50M -exec gzip {} + | sort -n
find matching lines for svc-18016
grep -RInE 'TODO' /srv/svc-18016 --exclude-dir=vendor | awk '{print $2}'
copy application data for svc-18017
rsync -av --dry-run /srv/svc-18017/ backup@host:/backups/svc-18017/ | grep -E '^[^#]'
query systemd status for svc-18018
systemctl start svc-18018.timer --no-block | sort -n
replace values in svc-18019 files
sed -i.bak 's/^#*Port .*/Port 38019/' /etc/svc-18019/sshd_config | grep -E '^[^#]'
verify a network port for svc-18020
nc -zv svc-18020.example.com 80 | tr -s ' '
extract JSON fields for svc-18021
jq --indent 2 '.status == "ok"' /srv/svc-18021/users.json | cat
scan configuration files for svc-18022
grep -v 'FIXME' /srv/svc-18022 --exclude-dir=vendor | sort -k2
query JSON data for svc-18023
jq -r '.metadata' /srv/svc-18023/config.json | uniq -c
filter log content for svc-18024
grep -RIn 'ERROR' /var/log/svc-18024.log --include='*.py' | awk '{print $1}'
list repository status details in /srv/svc-18025
git -C /srv/svc-18025 status --branch --untracked-files=normal | wc -l
locate matching files in /srv/svc-18026
find /srv/svc-18026 -type d -name '*.log' -size +50M -print | awk '{print $2}'
inspect pending changes in /srv/svc-18027
git -C /srv/svc-18027 diff --stat --cached | uniq -c
clean up svc-18028 text files
sed -i 's/localhost/127.0.0.1/g' /etc/svc-18028/config.ini | tail -n 50
search the svc-18029 directory tree
find /srv/svc-18029 -mindepth 1 -type f -name '*.json' -mtime +7 -delete | tail -n 10
clean up selected files in /srv/svc-18030
find /srv/svc-18030 -type f -empty -delete | awk '{print $1}'
find matching lines for svc-18031
grep -Ril 'WARN' /var/log/svc-18031.log --include='*.py' | fold -w 120
list matching paths under /srv/svc-18032
find /srv/svc-18032 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | head -n 10
find files under /srv/svc-18033
find /srv/svc-18033 -type d -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
filter JSON records for svc-18034
jq -e '.status == "ok"' /srv/svc-18034/health.json | sed -n '1,20p'
measure the size of svc-18035 data
wc -l /etc/passwd | sort -k2 | tee /tmp/svc-18035.out | head -n 20
assign svc-18036 files to the service user
chown svc-18036:svc-18036 /srv/svc-18036/data | grep -E '^[^#]'
list matching paths under /srv/svc-18037
find /srv/svc-18037 -type f -name '*.gz' -size +10M -print | tail -n 5
find files under /srv/svc-18038
find /srv/svc-18038 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | tail -n 50
filter JSON records for svc-18039
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-18039/users.json
count matches in svc-18040 data
grep -n -A3 -B3 'TODO' /srv/svc-18040 --exclude='*.min.js' 2>&1 | tee /tmp/svc-18040.log
show running containers for svc-18041
docker ps -a --format '{{.ID}} {{.Image}}' | cat | tee /tmp/svc-18041.out | head -n 20
scan configuration files for svc-18042
grep -n -A3 -B3 'timeout' /var/log/svc-18042.log --include='*.py' | tr -s ' '
find files under /srv/svc-18043
find /srv/svc-18043 -type l -name '*.tmp' -size +10M -exec gzip {} + | grep -i error
filter log content for svc-18044
grep -RIn 'timeout' /var/log/svc-18044.log --include='*.py' | cut -d, -f1
clean up selected files in /srv/svc-18045
find /srv/svc-18045 -type l -name '*.json' -mtime +7 -exec ls -lh {} + | tail -n 5
extract JSON fields for svc-18046
jq -e '.metadata' /srv/svc-18046/data.json | grep -i warn
query DNS records for svc-18047.example.com
dig +trace svc-18047.example.com | head -n 20 2>/dev/null
show the diff in /srv/svc-18048
git -C /srv/svc-18048 diff --stat origin/main...HEAD | cat
create a git commit for /srv/svc-18049
git -C /srv/svc-18049 commit -am 'refactor: simplify parser' --no-verify | tail -n 50
summarize git differences for /srv/svc-18050
git -C /srv/svc-18050 diff --check config/ | sort -nr
display recent container output for svc-18051
docker logs --since '1h' -f svc-18051 | grep -i error | wc -l
query systemd status for svc-18052
systemctl reload svc-18052.socket > /tmp/svc-18052.out
find files under /srv/svc-18053
find /srv/svc-18053 -type f -name '*.tmp' -delete | nl -ba
display the commit log for /srv/svc-18054
git -C /srv/svc-18054 log --oneline -n 100 --grep='fix' | cut -d: -f1
replace values in svc-18055 files
sed '/start/,/end/p' /etc/svc-18055/config.yml | fold -w 120
count cron jobs for svc-18056
crontab -l | grep svc-18056 | cut -d' ' -f1-5 | head -n 10
pretty-print JSON for svc-18057
jq '.items[] | .name' /srv/svc-18057/users.json | head -n 50
find files under /srv/svc-18058
find /srv/svc-18058 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + 2>&1
display the commit log for /srv/svc-18059
git -C /srv/svc-18059 log --oneline -n 50 --since='1 week ago' | head -n 10
count matches in svc-18060 data
grep -Ril '^#' /etc/svc-18060/config.ini | grep -v '^#'
deduplicate svc-18061 log entries
uniq -u /var/log/svc-18061.log | grep -E '^[^#]'
pretty-print JSON for svc-18062
jq -c 'map(select(.status == "failed")) | length' /srv/svc-18062/data.json | rev
send a signal to svc-18063 workers
pkill -USR2 -f svc-18063 | tail -n 20
list changed files in /srv/svc-18064
git -C /srv/svc-18064 diff --numstat -- | awk '{print $1}'
count matches in svc-18065 data
grep -RInE 'timeout' /var/log/svc-18065.log --exclude-dir=vendor | grep -i warn
locate matching files in /srv/svc-18066
find /srv/svc-18066 -type d -name '*.tmp' -mtime +30 -exec gzip {} + 2>/dev/null
secure svc-18067 secrets
chmod -R 750 /srv/svc-18067 | tail -n 10
find files under /srv/svc-18068
find /srv/svc-18068 -type d -name '*.tmp' -mtime +7 -exec gzip {} + | tail -n 5
display the commit log for /srv/svc-18069
git -C /srv/svc-18069 log --stat -n 100 --decorate | column -t
clean up selected files in /srv/svc-18070
find /srv/svc-18070 -maxdepth 2 -type f -name '*.gz' -size +10M -print | tail -n 10
list git history for /srv/svc-18071
git -C /srv/svc-18071 log --oneline -n 50 --author='deploy' | head -n 5
inspect recent changes in /srv/svc-18072
git -C /srv/svc-18072 log --stat -n 10 --grep='fix' | awk '{print $1}'
test TCP connectivity for svc-18073
nc -zv svc-18073.example.com 6379 2>/dev/null
query journal history for svc-18074
journalctl -u svc-18074.service --until '1 hour ago' -n 50 | grep -i error
clean up selected files in /srv/svc-18075
find /srv/svc-18075 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec gzip {} + | sort
check resource use for svc-18076
ps aux | grep svc-18076 | sort -nr
pretty-print JSON for svc-18077
jq -c '.services | keys[]' /srv/svc-18077/config.json | head -n 10
query JSON data for svc-18078
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-18078/data.json || true
search the svc-18079 directory tree
find /srv/svc-18079 -mindepth 1 -type f -name '*.tmp' -delete | tac
summarize git differences for /srv/svc-18080
git -C /srv/svc-18080 diff --check origin/main...HEAD src/ | cut -d, -f1
locate matching files in /srv/svc-18081
find /srv/svc-18081 -maxdepth 2 -type f -name '*.json' -size +10M -exec ls -lh {} + | tr -s ' '