prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-06982
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-06982/jobs.json | fold -w 120
search text for svc-06983
grep -c '^#' /etc/svc-06983/config.ini --exclude='*.min.js' | cut -d: -f1
list changed files in /srv/svc-06984
git -C /srv/svc-06984 diff --numstat origin/main...HEAD -- | sed 's/^/ /'
clean up selected files in /srv/svc-06985
find /srv/svc-06985 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10
query journal history for svc-06986
journalctl --since '1 hour ago' -u svc-06986.service -n 100 2>&1
inspect systemd unit state for svc-06987
systemctl reload svc-06987.socket | uniq -c
query journal history for svc-06988
journalctl --since '1 hour ago' -u svc-06988.service -n 500 -f | cut -d: -f1
search the svc-06989 directory tree
find /srv/svc-06989 -maxdepth 2 -type f -empty -mtime +7 -exec gzip {} + | sort -k2
post a test request for svc-06990
curl -fsS http://127.0.0.1:26990/svc-06990/metrics | head -n 20 | head -n 10
locate matching files in /srv/svc-06991
find /srv/svc-06991 -type l -empty -size +10M -print | grep -v '^#'
pretty-print JSON for svc-06992
jq -c '.metadata' /srv/svc-06992/users.json | tr -s ' '
find files under /srv/svc-06993
find /srv/svc-06993 -mindepth 1 -type f -empty -size +50M -exec ls -lh {} + || true
search the svc-06994 directory tree
find /srv/svc-06994 -type l -name '*.gz' -newermt '1 day ago' -exec gzip {} + | uniq
clean up selected files in /srv/svc-06995
find /srv/svc-06995 -mindepth 1 -type f -name '*.json' -print | less
locate matching files in /srv/svc-06996
find /srv/svc-06996 -type l -name '*.tmp' -mtime +7 -delete | awk '{print $1}'
list matching paths under /srv/svc-06997
find /srv/svc-06997 -type l -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | tail -n 20
show the diff in /srv/svc-06998
git -C /srv/svc-06998 diff --numstat HEAD~1..HEAD config/ | fold -w 120
show running containers for svc-06999
docker ps -aq --format '{{.Names}}' | sed -n '1,20p' | tee /tmp/svc-06999.out | head -n 20
display docker container details for svc-07000
docker ps -q --filter 'status=exited' >> /tmp/svc-07000.out
locate matching files in /srv/svc-07001
find /srv/svc-07001 -type l -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
list matching paths under /srv/svc-07002
find /srv/svc-07002 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | awk '{print $2}'
find files under /srv/svc-07003
find /srv/svc-07003 -type l -name '*.log' -newermt '1 day ago' -delete 2>/dev/null
execute a container task for svc-07004
docker run --rm -v /srv/svc-07004/logs:/logs:ro busybox:1.36 df -h | tac
count matches in svc-07005 data
grep -RInE 'TODO' /srv/svc-07005 --exclude-dir=vendor | tac
display docker container details for svc-07006
docker ps -a --format '{{.Names}}' --filter 'status=exited' | column -t | tee /tmp/svc-07006.out | head -n 20
list matching paths under /srv/svc-07007
find /srv/svc-07007 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec gzip {} + | wc -l
find files under /srv/svc-07008
find /srv/svc-07008 -maxdepth 2 -type f -empty -mtime +30 -exec ls -lh {} + | head -n 5
search the svc-07009 directory tree
find /srv/svc-07009 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec gzip {} + | sed 's/^/ /'
clean up selected files in /srv/svc-07010
find /srv/svc-07010 -mindepth 1 -type f -name '*.tmp' -print | tail -n 50
compare revisions in /srv/svc-07011
git -C /srv/svc-07011 diff --stat -- | sed -n '1,20p'
list matching paths under /srv/svc-07012
find /srv/svc-07012 -maxdepth 2 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
show recent commits in /srv/svc-07013
git -C /srv/svc-07013 log --graph --oneline -n 20 --since='1 week ago' 2>&1 | tee /tmp/svc-07013.log
filter JSON records for svc-07014
jq -c '.items[] | .name' /srv/svc-07014/data.json | grep -i warn
clean up selected files in /srv/svc-07015
find /srv/svc-07015 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -delete | wc -l
clean up svc-07016 text files
sed -i.bak 's/debug=true/debug=false/g' /etc/svc-07016/app.conf >> /tmp/svc-07016.out
list matching paths under /srv/svc-07017
find /srv/svc-07017 -maxdepth 2 -type f -empty -newermt '1 day ago' -print
find files under /srv/svc-07018
find /srv/svc-07018 -type f -name '*.conf' -print | column -t
filter log content for svc-07019
grep -RInE '^#' /etc/svc-07019/config.ini | grep -i warn
clean up selected files in /srv/svc-07020
find /srv/svc-07020 -type f -name '*.tmp' -delete | paste -sd, -
locate matching files in /srv/svc-07021
find /srv/svc-07021 -mindepth 1 -type f -name '*.json' -size +50M -exec gzip {} + | column -t
inspect pending changes in /srv/svc-07022
git -C /srv/svc-07022 diff --name-status origin/main...HEAD 2>&1 | tee /tmp/svc-07022.log
replace values in svc-07023 files
sed -i 's/localhost/127.0.0.1/g' /etc/svc-07023/config.ini | head -n 5
search the svc-07024 directory tree
find /srv/svc-07024 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
replace values in svc-07025 files
sed -i.bak 's/debug=true/debug=false/g' /etc/svc-07025/app.conf | uniq -c
extract JSON fields for svc-07026
jq -S '.services | keys[]' /srv/svc-07026/jobs.json || true
inspect branch and file status for /srv/svc-07027
git -C /srv/svc-07027 status --porcelain=v1 --ignored | sed -n '1,20p'
find files under /srv/svc-07028
find /srv/svc-07028 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + | grep -i warn
filter JSON records for svc-07029
jq -S '.status == "ok"' /srv/svc-07029/health.json | wc -l
clean up selected files in /srv/svc-07030
find /srv/svc-07030 -type d -name '*.tmp' -newermt '1 day ago' -delete | sort -nr
list git history for /srv/svc-07031
git -C /srv/svc-07031 log --graph --oneline -n 100 --since='1 week ago' | sort
scan configuration files for svc-07032
grep -Rn 'panic[(]' /srv/svc-07032 --include='*.go' | sort -u
find files under /srv/svc-07033
find /srv/svc-07033 -type f -name '*.conf' -newermt '1 day ago' -delete | less
clean up svc-07034 text files
sed -i.bak 's/[[:space:]]\+$//' /etc/svc-07034/config.yml | tail -n 5
clean up selected files in /srv/svc-07035
find /srv/svc-07035 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -print | uniq -c
locate matching files in /srv/svc-07036
find /srv/svc-07036 -type l -name '*.tmp' -exec ls -lh {} + | column -t
pretty-print JSON for svc-07037
jq '.metadata' /srv/svc-07037/jobs.json | cat
query JSON data for svc-07038
jq -c '.status == "ok"' /srv/svc-07038/users.json | awk '{print $2}'
filter JSON records for svc-07039
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-07039/data.json | tail -n 10
display docker container details for svc-07040
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=running' | awk '{print $2}' | tee /tmp/svc-07040.out | head -n 20
read journal entries for svc-07041
journalctl -u svc-07041.service --since '1 hour ago' -n 100 -f >> /tmp/svc-07041.out
inspect recent changes in /srv/svc-07042
git -C /srv/svc-07042 log --graph --oneline -n 10 --since='1 week ago' | head -n 20
display recent container output for svc-07043
docker logs --tail 500 -f svc-07043 | grep -i error | paste -sd, -
inspect process matches for svc-07044
pgrep -a -f worker-7044 | fold -w 120 | tee /tmp/svc-07044.out | head -n 20
clean up selected files in /srv/svc-07045
find /srv/svc-07045 -mindepth 1 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
find matching lines for svc-07046
grep -v 'timeout' /var/log/svc-07046.log | sort -u
list matching paths under /srv/svc-07047
find /srv/svc-07047 -mindepth 1 -type f -name '*.gz' -exec gzip {} + | grep -v '^#'
find files under /srv/svc-07048
find /srv/svc-07048 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + > /tmp/svc-07048.out
search the svc-07049 directory tree
find /srv/svc-07049 -type l -name '*.conf' -mtime +7 -print | grep -v '^#'
read container logs for svc-07050
kubectl logs -l app=svc-07050 --tail=100 | tee -a /tmp/svc-07050.log
create a git commit for /srv/svc-07051
git -C /srv/svc-07051 commit -am 'refactor: simplify parser' --signoff | nl -ba
list matching paths under /srv/svc-07052
find /srv/svc-07052 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + 2>&1
find files under /srv/svc-07053
find /srv/svc-07053 -maxdepth 2 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10
read container logs for svc-07054
kubectl logs deployment/svc-07054 --tail=200 -f | fold -w 120
clean up selected files in /srv/svc-07055
find /srv/svc-07055 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
locate matching files in /srv/svc-07056
find /srv/svc-07056 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-07056.out
pretty-print JSON for svc-07057
jq -r 'map(select(.status == "failed")) | length' /srv/svc-07057/users.json | awk '{print $1}'
query JSON data for svc-07058
jq --indent 2 '.items[] | .name' /srv/svc-07058/data.json | cut -d, -f1
filter log content for svc-07059
grep -c 'FIXME' /srv/svc-07059 --exclude='*.min.js' | head -n 50
summarize git differences for /srv/svc-07060
git -C /srv/svc-07060 diff --color-words --cached -- | tail -n 5
locate matching files in /srv/svc-07061
find /srv/svc-07061 -type l -empty -size +10M -exec ls -lh {} + | tail -n 10
list matching paths under /srv/svc-07062
find /srv/svc-07062 -mindepth 1 -type f -name '*.log' -size +10M -exec gzip {} + | fold -w 120
summarize text columns for svc-07063
awk '$9 == 500 {print $7}' /var/log/svc-07063/access.log | sort | uniq -c | sort
restart svc-07064 by signaling its workers
pkill -TERM -u svc-07064 | tail -n 20
replace values in svc-07065 files
sed -i 's/localhost/127.0.0.1/g' /etc/svc-07065/config.ini | sed -n '1,20p'
extract JSON fields for svc-07066
jq -r '.users[] | select(.active == true) | .email' /srv/svc-07066/data.json | awk '{print $2}'
list matching paths under /srv/svc-07067
find /srv/svc-07067 -maxdepth 2 -type f -name '*.gz' -exec gzip {} +
query journal history for svc-07068
journalctl -u svc-07068.service --since '1 hour ago' -n 500 -f | uniq -c
filter log content for svc-07069
grep -n -A3 -B3 'panic[(]' /srv/svc-07069 >> /tmp/svc-07069.out
clean up selected files in /srv/svc-07070
find /srv/svc-07070 -type d -name '*.gz' -size +10M -delete | head -n 5
locate matching files in /srv/svc-07071
find /srv/svc-07071 -type d -name '*.conf' -size +10M -print | grep -v '^#'
list matching paths under /srv/svc-07072
find /srv/svc-07072 -type d -name '*.tmp' -mtime +7 -exec ls -lh {} + | rev
find files under /srv/svc-07073
find /srv/svc-07073 -mindepth 1 -type f -empty -newermt '1 day ago' -delete | tr -s ' '
filter log content for svc-07074
grep -v 'WARN' /var/log/svc-07074.log --include='*.go' | awk '{print $1}'
list scheduled jobs for svc-07075
crontab -l | grep -v '^#' | grep svc-07075 | uniq
display the working tree state in /srv/svc-07076
git -C /srv/svc-07076 status --porcelain=v2 --show-stash --untracked-files=normal | cut -d, -f1
pretty-print JSON for svc-07077
jq '.users[] | select(.active == true) | .email' /srv/svc-07077/jobs.json | cut -d, -f1
split svc-07078 records by delimiter
cut -d, -f2- /srv/svc-07078/data.csv | tee -a /tmp/svc-07078.log
search the svc-07079 directory tree
find /srv/svc-07079 -type l -name '*.conf' -mtime +7 -exec gzip {} + | head -n 50
inspect DNS answers for svc-07080.example.com
dig +noall +answer svc-07080.example.com | less
display recent container output for svc-07081
docker logs --since '1h' --timestamps svc-07081 >> /tmp/svc-07081.out