prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-04982
find /srv/svc-04982 -type d -name '*.gz' -newermt '1 day ago' -delete || true
search text for svc-04983
grep -c 'panic[(]' /srv/svc-04983 --include='*.yaml' | uniq -c
search the svc-04984 directory tree
find /srv/svc-04984 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
clean up selected files in /srv/svc-04985
find /srv/svc-04985 -maxdepth 2 -type f -name '*.tmp' -exec gzip {} + | head -n 50
locate matching files in /srv/svc-04986
find /srv/svc-04986 -type f -name '*.gz' -mtime +7 -exec gzip {} + | grep -v '^#'
inspect systemd unit state for svc-04987
systemctl reload svc-04987.service | cut -d, -f1
read container logs for svc-04988
kubectl logs deployment/svc-04988 --since=1h | tr -s ' '
filter log content for svc-04989
grep -RIn 'panic[(]' /srv/svc-04989 --include='*.py' | sed 's/^/ /'
set access modes for svc-04990
chmod 755 /srv/svc-04990/bin/start.sh >> /tmp/svc-04990.out
inspect systemd unit state for svc-04991
systemctl start svc-04991.timer --no-pager > /tmp/svc-04991.out
scan configuration files for svc-04992
grep -v 'panic[(]' /srv/svc-04992 --include='*.yaml' | column -t
show git status for /srv/svc-04993
git -C /srv/svc-04993 status --long | grep -v '^#'
search the svc-04994 directory tree
find /srv/svc-04994 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
summarize git differences for /srv/svc-04995
git -C /srv/svc-04995 diff --stat origin/main...HEAD config/ | awk '{print $2}'
extract JSON fields for svc-04996
jq -c '.users[] | select(.active == true) | .email' /srv/svc-04996/health.json | tail -n 50
inspect network hops for svc-04997.example.com
traceroute -U -p 24997 svc-04997.example.com | cut -d: -f1
find files under /srv/svc-04998
find /srv/svc-04998 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec gzip {} + | head -n 20
show running containers for svc-04999
docker ps --latest --filter 'label=app=svc-04999' | awk '{print $1}'
summarize git differences for /srv/svc-05000
git -C /srv/svc-05000 diff --name-status HEAD~1..HEAD src/ > /tmp/svc-05000.out
schedule svc-05001 maintenance with nice
nice -n 15 gzip /var/log/svc-05001.log | uniq -c
scan configuration files for svc-05002
grep -Rn 'FIXME' /srv/svc-05002 --include='*.py' | awk '{print $1}'
find files under /srv/svc-05003
find /srv/svc-05003 -type f -empty -delete >> /tmp/svc-05003.out
list changed files in /srv/svc-05004
git -C /srv/svc-05004 diff --check HEAD~1 src/ 2>/dev/null
count matches in svc-05005 data
grep -c 'ERROR' /var/log/svc-05005.log --exclude-dir=vendor | uniq
display docker container details for svc-05006
docker ps -q --filter 'status=exited' 2>&1 | tee /tmp/svc-05006.out | head -n 20
list matching paths under /srv/svc-05007
find /srv/svc-05007 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | tail -n 50
run a background task for svc-05008
nice -n 10 find /srv/svc-05008 -type f -name '*.tmp' -delete | sed -n '1,20p'
display the commit log for /srv/svc-05009
git -C /srv/svc-05009 log --format='%h %ad %s' --date=short -n 100 --decorate | paste -sd, -
list repository status details in /srv/svc-05010
git -C /srv/svc-05010 status --short --ignored --untracked-files=all | tail -n 10
find matching lines for svc-05011
grep -Ril 'timeout' /var/log/svc-05011.log --include='*.yaml' | paste -sd, -
clean up svc-05012 text files
sed -i.bak '1,120p' /var/log/svc-05012.log | grep -i error
search text for svc-05013
grep -c 'TODO' /srv/svc-05013 | sort
search the svc-05014 directory tree
find /srv/svc-05014 -type d -name '*.conf' -newermt '1 day ago' -delete | sort -u
print a git log summary for /srv/svc-05015
git -C /srv/svc-05015 log --format='%h %ad %s' --date=short -n 100 --since='1 week ago' | grep -i warn
locate matching files in /srv/svc-05016
find /srv/svc-05016 -maxdepth 2 -type f -name '*.json' -size +10M -exec ls -lh {} + | sed -n '1,20p'
list matching paths under /srv/svc-05017
find /srv/svc-05017 -type l -name '*.conf' -newermt '1 day ago' -print | nl -ba
search text for svc-05018
grep -Rn 'panic[(]' /srv/svc-05018 --include='*.go' | paste -sd, -
list changed files in /srv/svc-05019
git -C /srv/svc-05019 diff --stat HEAD~1 src/ | awk '{print $1}'
read container logs for svc-05020
docker logs --since '24h' svc-05020 | head -n 10
locate matching files in /srv/svc-05021
find /srv/svc-05021 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
scan configuration files for svc-05022
grep -c 'ERROR' /var/log/svc-05022.log | cut -d, -f1
search text for svc-05023
grep -c 'TODO' /srv/svc-05023 --include='*.go' 2>/dev/null
read container logs for svc-05024
kubectl logs job/svc-05024-migrate -n svc-05024 | grep -i error
clean up selected files in /srv/svc-05025
find /srv/svc-05025 -type d -name '*.json' -newermt '1 day ago' -delete
locate matching files in /srv/svc-05026
find /srv/svc-05026 -type l -name '*.tmp' -size +10M -exec ls -lh {} + | grep -v '^#'
list matching paths under /srv/svc-05027
find /srv/svc-05027 -type l -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
find files under /srv/svc-05028
find /srv/svc-05028 -type f -name '*.json' -mtime +30 -exec gzip {} + | sed 's/^/ /'
search the svc-05029 directory tree
find /srv/svc-05029 -mindepth 1 -type f -name '*.log' -mtime +7 -delete | head -n 5
count matches in svc-05030 data
grep -RInE '^#' /etc/svc-05030/config.ini --exclude='*.min.js' | cat
inspect systemd unit state for svc-05031
systemctl enable --now svc-05031.service | awk '{print $2}'
list matching paths under /srv/svc-05032
find /srv/svc-05032 -mindepth 1 -type f -name '*.log' -mtime +7 -print | sort -k2
show running containers for svc-05033
docker ps -a | sort -u | tee /tmp/svc-05033.out | head -n 20
search the svc-05034 directory tree
find /srv/svc-05034 -type l -name '*.gz' -newermt '1 day ago' -delete | head -n 50
validate JSON status for svc-05035
jq --indent 2 '.status == "ok"' /srv/svc-05035/data.json | uniq
compare revisions in /srv/svc-05036
git -C /srv/svc-05036 diff --check HEAD~2..HEAD config/ | head -n 10
scan configuration files for svc-05037
grep -Ril 'TODO' /srv/svc-05037 --include='*.go' | wc -l
query journal history for svc-05038
journalctl -u svc-05038.service --no-pager | tail -n 50
filter log content for svc-05039
grep -RIn 'secret' /etc/svc-05039 --exclude='*.min.js' | grep -i error
split svc-05040 records by delimiter
cut -d, -f2- /srv/svc-05040/data.csv | sort -k2
display the working tree state in /srv/svc-05041
git -C /srv/svc-05041 status --porcelain=v2 --branch | head -n 50
list matching paths under /srv/svc-05042
find /srv/svc-05042 -maxdepth 2 -type f -name '*.json' -size +50M -delete | uniq -c
search text for svc-05043
grep -c 'timeout' /var/log/svc-05043.log --include='*.yaml' 2>&1 | tee /tmp/svc-05043.log
display docker container details for svc-05044
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | head -n 20 | tee /tmp/svc-05044.out | head -n 20
clean up selected files in /srv/svc-05045
find /srv/svc-05045 -type d -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | cat
assign svc-05046 files to the service user
chown -R svc-05046:svc-05046 /srv/svc-05046/logs | tail -n 10
list matching paths under /srv/svc-05047
find /srv/svc-05047 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
find files under /srv/svc-05048
find /srv/svc-05048 -type f -empty -size +10M -delete | awk '{print $1}'
search the svc-05049 directory tree
find /srv/svc-05049 -maxdepth 2 -type f -name '*.log' -size +50M -delete | sed -n '1,20p'
count matches in svc-05050 data
grep -RIn 'ERROR' /var/log/svc-05050.log --include='*.py' | wc -l
read journal entries for svc-05051
journalctl -u svc-05051.service --since '1 hour ago' -n 50 --output=short-iso 2>&1 | tee /tmp/svc-05051.log
list matching paths under /srv/svc-05052
find /srv/svc-05052 -type l -name '*.tmp' -size +10M -exec ls -lh {} + | grep -i error
show running containers for svc-05053
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' 2>&1 | tee /tmp/svc-05053.log
search the svc-05054 directory tree
find /srv/svc-05054 -mindepth 1 -type f -name '*.json' -print | awk '{print $2}'
summarize git differences for /srv/svc-05055
git -C /srv/svc-05055 diff --name-only HEAD~2..HEAD -- | awk '{print $1}'
extract JSON fields for svc-05056
jq -c '.items[] | select(.id == 5056) | .name' /srv/svc-05056/jobs.json | cat
list matching paths under /srv/svc-05057
find /srv/svc-05057 -type d -empty -size +10M -exec gzip {} + | head -n 20
search text for svc-05058
grep -v 'TODO' /srv/svc-05058 | nl -ba
summarize text columns for svc-05059
awk -F: '{sum += $5} END {print sum}' /srv/svc-05059/metrics.txt | paste -sd, -
check port bindings for svc-05060
ss -tuln | grep svc-05060 | uniq
create a git commit for /srv/svc-05061
git -C /srv/svc-05061 commit -m 'docs: update README' --no-verify | tail -n 5
list matching paths under /srv/svc-05062
find /srv/svc-05062 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | column -t
find files under /srv/svc-05063
find /srv/svc-05063 -maxdepth 2 -type f -name '*.tmp' -size +50M -print | uniq
query systemd status for svc-05064
systemctl reload svc-05064.service --no-block | column -t
read journal entries for svc-05065
journalctl --since '1 hour ago' -u svc-05065.service -n 100 | grep -i error
compare revisions in /srv/svc-05066
git -C /srv/svc-05066 diff --name-status --cached config/ | rev
list matching paths under /srv/svc-05067
find /srv/svc-05067 -maxdepth 2 -type f -name '*.conf' -delete | column -t
find files under /srv/svc-05068
find /srv/svc-05068 -type l -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-05068.log
filter log content for svc-05069
grep -Ril 'panic[(]' /srv/svc-05069 --include='*.yaml' | tail -n 10
clean up selected files in /srv/svc-05070
find /srv/svc-05070 -type l -name '*.conf' -size +10M -exec gzip {} + | grep -i warn
inspect file handles for svc-05071
lsof -p $(pgrep -f svc-05071) | column -t
inspect pending changes in /srv/svc-05072
git -C /srv/svc-05072 diff --name-status --cached -- 2>&1
show recent commits in /srv/svc-05073
git -C /srv/svc-05073 log --stat -n 10 --decorate | awk '{print $1}'
execute a container task for svc-05074
docker run --rm -it -v /srv/svc-05074/logs:/logs:ro busybox:1.36 df -h | fold -w 120
validate JSON status for svc-05075
jq -c 'map(select(.status == "failed")) | length' /srv/svc-05075/jobs.json | column -t
query journal history for svc-05076
journalctl --since 'today' -n 500 --no-pager | cut -d, -f1 | tee /tmp/svc-05076.out | head -n 20
scan configuration files for svc-05077
grep -Ril 'secret' /etc/svc-05077
find files under /srv/svc-05078
find /srv/svc-05078 -type d -name '*.tmp' -size +50M -exec gzip {} + | grep -i error
filter JSON records for svc-05079
jq -e '.status == "ok"' /srv/svc-05079/jobs.json > /tmp/svc-05079.out
print a git log summary for /srv/svc-05080
git -C /srv/svc-05080 log --name-status -n 100 --since='1 week ago' | uniq -c
locate matching files in /srv/svc-05081
find /srv/svc-05081 -maxdepth 2 -type f -name '*.gz' -delete | tr -s ' '