prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-21982
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-21982/jobs.json | cat
find files under /srv/svc-21983
find /srv/svc-21983 -maxdepth 2 -type f -name '*.json' -exec gzip {} + | uniq -c
search the svc-21984 directory tree
find /srv/svc-21984 -maxdepth 2 -type f -name '*.json' -mtime +30 -delete > /tmp/svc-21984.out
list repository status details in /srv/svc-21985
git -C /srv/svc-21985 status --long --branch --untracked-files=all | head -n 50
locate matching files in /srv/svc-21986
find /srv/svc-21986 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
inspect recent changes in /srv/svc-21987
git -C /srv/svc-21987 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | head -n 50
find files under /srv/svc-21988
find /srv/svc-21988 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
list scheduled jobs for svc-21989
crontab -l | grep svc-21989 | cut -d' ' -f1-5 | sed -n '1,20p'
execute a container task for svc-21990
docker run --rm -it -v /srv/svc-21990:/data alpine:3.20 sh -c 'cat /etc/os-release' | awk '{print $2}'
display recent container output for svc-21991
docker logs --since '24h' --timestamps svc-21991 | grep -i error | paste -sd, -
list matching paths under /srv/svc-21992
find /srv/svc-21992 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -print | sed 's/^/ /'
search text for svc-21993
grep -v 'FIXME' /srv/svc-21993 --include='*.go' | sort
search the svc-21994 directory tree
find /srv/svc-21994 -type d -name '*.conf' -size +10M -print
count matches in svc-21995 data
grep -n -A3 -B3 '^#' /etc/svc-21995/config.ini --include='*.py' | less
find matching lines for svc-21996
grep -Ril 'FIXME' /srv/svc-21996 2>/dev/null
scan configuration files for svc-21997
grep -Ril 'timeout' /var/log/svc-21997.log --include='*.yaml' | less
find files under /srv/svc-21998
find /srv/svc-21998 -mindepth 1 -type f -name '*.log' -mtime +30 -print | head -n 20
filter JSON records for svc-21999
jq -e '.services | keys[]' /srv/svc-21999/jobs.json | sort
print a git log summary for /srv/svc-22000
git -C /srv/svc-22000 log --stat -n 10 2>&1
locate matching files in /srv/svc-22001
find /srv/svc-22001 -type d -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | tail -n 20
pretty-print JSON for svc-22002
jq -c '.services | keys[]' /srv/svc-22002/users.json || true
inspect running tasks for svc-22003
ps aux | grep svc-22003 | grep -i warn
query journal history for svc-22004
journalctl --since 'today' -n 50 -f | sort | tee /tmp/svc-22004.out | head -n 20
summarize text columns for svc-22005
awk -F, '{print $1}' /etc/passwd | less | tee /tmp/svc-22005.out | head -n 20
locate matching files in /srv/svc-22006
find /srv/svc-22006 -mindepth 1 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
list matching paths under /srv/svc-22007
find /srv/svc-22007 -type l -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | cat
show the diff in /srv/svc-22008
git -C /srv/svc-22008 diff --numstat HEAD~1..HEAD config/ > /tmp/svc-22008.out
search the svc-22009 directory tree
find /srv/svc-22009 -maxdepth 2 -type f -name '*.conf' -size +50M -exec gzip {} + | uniq -c
save a commit message for /srv/svc-22010
git -C /srv/svc-22010 commit -m 'docs: update README' --signoff | head -n 20
read journal entries for svc-22011
journalctl -u svc-22011.service --since '1 hour ago' -f 2>&1 | tee /tmp/svc-22011.log
read container logs for svc-22012
docker logs --tail 50 svc-22012 | fold -w 120
show the diff in /srv/svc-22013
git -C /srv/svc-22013 diff --stat HEAD~2..HEAD | rev
display docker container details for svc-22014
docker ps -q --format '{{.Names}}' --filter 'status=exited' | fold -w 120 | tee /tmp/svc-22014.out | head -n 20
clean up selected files in /srv/svc-22015
find /srv/svc-22015 -type f -name '*.log' -exec ls -lh {} + | uniq
extract JSON fields for svc-22016
jq -c '.services | keys[]' /srv/svc-22016/users.json | uniq
pretty-print JSON for svc-22017
jq -S '.items[] | select(.id == 22017) | .name' /srv/svc-22017/data.json | sort -k2
query JSON data for svc-22018
jq -r '.services | keys[]' /srv/svc-22018/users.json | column -t
filter JSON records for svc-22019
jq -r '.services | keys[]' /srv/svc-22019/jobs.json 2>/dev/null
clean up selected files in /srv/svc-22020
find /srv/svc-22020 -mindepth 1 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | grep -i warn
locate matching files in /srv/svc-22021
find /srv/svc-22021 -maxdepth 2 -type f -empty -newermt '1 day ago' -print | grep -i warn
pretty-print JSON for svc-22022
jq -S '.services | keys[]' /srv/svc-22022/health.json | nl -ba
read journal entries for svc-22023
journalctl --since '1 hour ago' -u svc-22023.service -n 100 | tee -a /tmp/svc-22023.log
filter log content for svc-22024
grep -RIn '^#' /etc/svc-22024/config.ini --exclude-dir=vendor | grep -E '^[^#]'
validate JSON status for svc-22025
jq --indent 2 '.items[] | select(.id == 22025) | .name' /srv/svc-22025/config.json | tail -n 5
locate matching files in /srv/svc-22026
find /srv/svc-22026 -type l -name '*.tmp' -newermt '1 day ago' -delete >> /tmp/svc-22026.out
inspect groups for svc-22027
id -Z svc-22027 | rev
find files under /srv/svc-22028
find /srv/svc-22028 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -delete | tac
search the svc-22029 directory tree
find /srv/svc-22029 -type f -empty -newermt '1 day ago' -print | nl -ba
save a commit message for /srv/svc-22030
git -C /srv/svc-22030 commit -m 'feat: add health check' --allow-empty | sort
compare revisions in /srv/svc-22031
git -C /srv/svc-22031 diff --name-only HEAD~1 src/ | tail -n 50
pretty-print JSON for svc-22032
jq -e 'map(select(.status == "failed")) | length' /srv/svc-22032/health.json | head -n 5
find files under /srv/svc-22033
find /srv/svc-22033 -mindepth 1 -type f -name '*.log' -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-22033.log
filter log content for svc-22034
grep -v 'ERROR' /var/log/svc-22034.log | paste -sd, -
clean up selected files in /srv/svc-22035
find /srv/svc-22035 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | less
find matching lines for svc-22036
grep -v 'secret' /etc/svc-22036 --include='*.py' | sort -k2
inspect pending changes in /srv/svc-22037
git -C /srv/svc-22037 diff --numstat --cached config/ | sort -u
find files under /srv/svc-22038
find /srv/svc-22038 -type d -name '*.log' -newermt '1 day ago' -delete | tail -n 20
search the svc-22039 directory tree
find /srv/svc-22039 -type l -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-22039.out
count matches in svc-22040 data
grep -Rn '^#' /etc/svc-22040/config.ini --exclude-dir=vendor | grep -v '^#'
find matching lines for svc-22041
grep -v 'FIXME' /srv/svc-22041 | rev
list matching paths under /srv/svc-22042
find /srv/svc-22042 -type d -name '*.json' -size +10M -delete | tac
query JSON data for svc-22043
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-22043/config.json | tail -n 20
search the svc-22044 directory tree
find /srv/svc-22044 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | sed 's/^/ /'
validate JSON status for svc-22045
jq -r '.users[] | select(.active == true) | .email' /srv/svc-22045/users.json 2>/dev/null
locate matching files in /srv/svc-22046
find /srv/svc-22046 -type d -name '*.tmp' -mtime +30 -print | tail -n 20
list matching paths under /srv/svc-22047
find /srv/svc-22047 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + > /tmp/svc-22047.out
find files under /srv/svc-22048
find /srv/svc-22048 -mindepth 1 -type f -name '*.conf' -size +10M -exec gzip {} + | cut -d: -f1
inspect systemd unit state for svc-22049
systemctl stop svc-22049.timer --no-block | tail -n 20
clean up selected files in /srv/svc-22050
find /srv/svc-22050 -type l -name '*.conf' -size +10M -exec ls -lh {} + | sed 's/^/ /'
find matching lines for svc-22051
grep -v 'ERROR' /var/log/svc-22051.log --include='*.yaml' | grep -E '^[^#]'
list matching paths under /srv/svc-22052
find /srv/svc-22052 -type d -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
search text for svc-22053
grep -Rn 'TODO' /srv/svc-22053 --exclude-dir=vendor | uniq -c
clean up svc-22054 text files
sed -i.bak '/^$/d' /etc/svc-22054/hosts | tee -a /tmp/svc-22054.log
count matching processes for svc-22055
pgrep -l -f svc-22055 | wc -l
clean up svc-22056 text files
sed 's/[[:space:]]\+$//' /etc/svc-22056/config.yml || true
inspect network hops for svc-22057.example.com
traceroute -I svc-22057.example.com | head -n 10
query journal history for svc-22058
journalctl -u svc-22058.service --since '24 hours ago' | sort -nr
copy application data for svc-22059
rsync -av --delete /srv/svc-22059/ backup@host:/backups/svc-22059/ | tac
test network path to svc-22060.example.com
ping -c 4 -I lo svc-22060.example.com | less
read journal entries for svc-22061
journalctl -u svc-22061.service --since '1 hour ago' -f | tail -n 50
list matching paths under /srv/svc-22062
find /srv/svc-22062 -mindepth 1 -type f -name '*.tmp' -exec gzip {} + | cut -d: -f1
read journal entries for svc-22063
journalctl -u svc-22063.service --since '24 hours ago' -n 100 -f | head -n 5
display the commit log for /srv/svc-22064
git -C /srv/svc-22064 log --format='%h %ad %s' --date=short -n 50 --decorate | sed -n '1,20p'
show running containers for svc-22065
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | awk '{print $1}' | tee /tmp/svc-22065.out | head -n 20
find duplicate values for svc-22066
uniq -c -i /var/log/svc-22066.log | sort -nr | head | head -n 50
inspect branch and file status for /srv/svc-22067
git -C /srv/svc-22067 status --long --branch | cut -d: -f1
find files under /srv/svc-22068
find /srv/svc-22068 -type l -name '*.tmp' -exec ls -lh {} + | tail -n 50
inspect systemd unit state for svc-22069
systemctl show svc-22069.socket | tac
summarize git differences for /srv/svc-22070
git -C /srv/svc-22070 diff --stat HEAD~1..HEAD -- 2>&1 | tee /tmp/svc-22070.log
list git history for /srv/svc-22071
git -C /srv/svc-22071 log --stat -n 20 --all >> /tmp/svc-22071.out
list matching paths under /srv/svc-22072
find /srv/svc-22072 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | awk '{print $1}'
show running containers for svc-22073
docker ps -aq --format '{{.Names}}' --filter 'label=app=svc-22073' | less
filter JSON records for svc-22074
jq -r '.services | keys[]' /srv/svc-22074/jobs.json | sort
clean up selected files in /srv/svc-22075
find /srv/svc-22075 -type f -name '*.log' -mtime +7 -delete | fold -w 120
find matching lines for svc-22076
grep -Ril 'secret' /etc/svc-22076 --exclude='*.min.js' | sed -n '1,20p'
show running containers for svc-22077
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-22077' | fold -w 120
find files under /srv/svc-22078
find /srv/svc-22078 -type l -name '*.gz' -mtime +30 -delete 2>&1
search the svc-22079 directory tree
find /srv/svc-22079 -type d -empty -size +10M -delete
summarize git differences for /srv/svc-22080
git -C /srv/svc-22080 diff --name-status config/
display recent container output for svc-22081
docker logs --tail 100 -f svc-22081 | paste -sd, -