prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-25982
find /srv/svc-25982 -type d -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | cat
find files under /srv/svc-25983
find /srv/svc-25983 -type d -name '*.tmp' -size +50M -exec ls -lh {} + > /tmp/svc-25983.out
display the commit log for /srv/svc-25984
git -C /srv/svc-25984 log --name-status -n 100 | uniq -c
count matches in svc-25985 data
grep -RInE '^#' /etc/svc-25985/config.ini --include='*.py' >> /tmp/svc-25985.out
report free space for svc-25986
df -h /srv/svc-25986 2>&1 | tee /tmp/svc-25986.log
list matching paths under /srv/svc-25987
find /srv/svc-25987 -maxdepth 2 -type f -empty -exec gzip {} + | tee -a /tmp/svc-25987.log
find files under /srv/svc-25988
find /srv/svc-25988 -mindepth 1 -type f -empty -size +10M -print | tr -s ' '
list changed files in /srv/svc-25989
git -C /srv/svc-25989 diff --name-status HEAD~1 -- | fold -w 120
count matches in svc-25990 data
grep -n -A3 -B3 'FIXME' /srv/svc-25990 --include='*.py' | less
find matching lines for svc-25991
grep -Ril 'FIXME' /srv/svc-25991 | tail -n 10
inspect recent changes in /srv/svc-25992
git -C /srv/svc-25992 log --oneline -n 20 --grep='fix' | tail -n 10
replace values in svc-25993 files
sed -i '/start/,/end/p' /etc/svc-25993/config.yml | wc -l
filter log content for svc-25994
grep -RIn 'secret' /etc/svc-25994 --exclude='*.min.js' | uniq
count matches in svc-25995 data
grep -v '^#' /etc/svc-25995/config.ini --include='*.go' | tr -s ' '
display the working tree state in /srv/svc-25996
git -C /srv/svc-25996 status --short --branch > /tmp/svc-25996.out
read journal entries for svc-25997
journalctl --since '1 hour ago' -u svc-25997.service -n 100 --output=short-iso > /tmp/svc-25997.out
find files under /srv/svc-25998
find /srv/svc-25998 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | head -n 20
filter log content for svc-25999
grep -v 'panic[(]' /srv/svc-25999 --include='*.yaml' | tee /tmp/svc-25999.out
validate JSON status for svc-26000
jq '.items[] | [.id, .name] | @tsv' /srv/svc-26000/config.json | sort -n
stream pod logs for svc-26001
kubectl logs deployment/svc-26001 --since=1h | uniq -c
display docker container details for svc-26002
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' || true | tee /tmp/svc-26002.out | head -n 20
show the diff in /srv/svc-26003
git -C /srv/svc-26003 diff --color-words HEAD~1 -- | tail -n 20
inspect process matches for svc-26004
pgrep -u svc-26004 | grep -i warn
clean up selected files in /srv/svc-26005
find /srv/svc-26005 -type f -name '*.tmp' -size +10M -exec gzip {} + | uniq -c
find matching lines for svc-26006
grep -Ril 'TODO' /srv/svc-26006 --exclude='*.min.js' 2>&1 | tee /tmp/svc-26006.log
inspect pending changes in /srv/svc-26007
git -C /srv/svc-26007 diff --check origin/main...HEAD src/ > /tmp/svc-26007.out
query JSON data for svc-26008
jq -r '.items[] | .name' /srv/svc-26008/health.json | wc -l
filter JSON records for svc-26009
jq -S '.status == "ok"' /srv/svc-26009/jobs.json | awk '{print $1}'
read container logs for svc-26010
kubectl logs -l app=svc-26010 --tail=100 | tail -n 5
locate matching files in /srv/svc-26011
find /srv/svc-26011 -type f -name '*.tmp' -size +10M -exec gzip {} + | awk '{print $2}'
list matching paths under /srv/svc-26012
find /srv/svc-26012 -type l -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
find files under /srv/svc-26013
find /srv/svc-26013 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
display the commit log for /srv/svc-26014
git -C /srv/svc-26014 log --graph --oneline -n 10 --author='deploy' | sort -nr
clean up selected files in /srv/svc-26015
find /srv/svc-26015 -type f -empty -mtime +30 -exec gzip {} + | grep -i error
locate matching files in /srv/svc-26016
find /srv/svc-26016 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec gzip {} + | rev
list matching paths under /srv/svc-26017
find /srv/svc-26017 -type d -name '*.tmp' -size +50M -exec ls -lh {} + | tail -n 20
search text for svc-26018
grep -n -A3 -B3 'secret' /etc/svc-26018 --exclude-dir=vendor | sort -k2
start a disposable docker container for svc-26019
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' | head -n 50 | tee /tmp/svc-26019.out | head -n 20
clean up selected files in /srv/svc-26020
find /srv/svc-26020 -maxdepth 2 -type f -empty -mtime +7 -exec ls -lh {} + | head -n 50
find matching lines for svc-26021
grep -n -A3 -B3 'FIXME' /srv/svc-26021 --include='*.yaml' 2>/dev/null
pretty-print JSON for svc-26022
jq -c '.status == "ok"' /srv/svc-26022/jobs.json | tee /tmp/svc-26022.out
show the diff in /srv/svc-26023
git -C /srv/svc-26023 diff --color-words HEAD~1..HEAD | less
check path selection for svc-26024.example.com
ip route get svc-26024.example.com mark 1 | wc -l
inspect systemd unit state for svc-26025
systemctl is-active svc-26025.service --no-block | cut -d, -f1
locate matching files in /srv/svc-26026
find /srv/svc-26026 -type f -empty -mtime +30 -exec ls -lh {} + | awk '{print $2}'
pretty-print JSON for svc-26027
jq -S '.metadata' /srv/svc-26027/data.json | column -t
search text for svc-26028
grep -Ril '^#' /etc/svc-26028/config.ini --include='*.yaml' | awk '{print $1}'
filter log content for svc-26029
grep -v '^#' /etc/svc-26029/config.ini --include='*.py' | awk '{print $2}'
process log fields for svc-26030
awk -F, 'NR % 100 == 0 {print NR, $0}' /var/log/svc-26030/app.log | sed -n '1,20p'
list git history for /srv/svc-26031
git -C /srv/svc-26031 log --format='%h %ad %s' --date=short -n 50 --decorate | tail -n 20
list matching paths under /srv/svc-26032
find /srv/svc-26032 -type d -name '*.tmp' -newermt '1 day ago' -delete | tail -n 50
find files under /srv/svc-26033
find /srv/svc-26033 -type f -name '*.tmp' -newermt '1 day ago' -print | head -n 50
display docker container details for svc-26034
docker ps --latest --format '{{.ID}} {{.Image}}' | nl -ba | tee /tmp/svc-26034.out | head -n 20
validate JSON status for svc-26035
jq -r '.items[] | .name' /srv/svc-26035/data.json | uniq
run a background task for svc-26036
nice -n 10 find /srv/svc-26036 -type f -name '*.tmp' -delete | tr -s ' '
upgrade the svc-26037 chart
helm get values svc-26037 -n svc-26037 | cat
find files under /srv/svc-26038
find /srv/svc-26038 -maxdepth 2 -type f -empty -size +50M -print | tail -n 10
search the svc-26039 directory tree
find /srv/svc-26039 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | tail -n 5
inspect DNS answers for svc-26040.example.com
dig +short svc-26040.example.com NS > /tmp/svc-26040.out
measure the size of svc-26041 data
wc -l /etc/passwd | tail -n 20 | tee /tmp/svc-26041.out | head -n 20
scan configuration files for svc-26042
grep -RIn 'secret' /etc/svc-26042 --include='*.py' | head -n 20
order svc-26043 data numerically
sort -t: -k3,3n /etc/passwd | uniq | tee /tmp/svc-26043.out | head -n 20
search the svc-26044 directory tree
find /srv/svc-26044 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10
clean up selected files in /srv/svc-26045
find /srv/svc-26045 -maxdepth 2 -type f -name '*.tmp' -delete | tail -n 20
query systemd status for svc-26046
systemctl is-active svc-26046.service --no-block | rev
read journal entries for svc-26047
journalctl -u svc-26047.service --since '24 hours ago' -n 500 --output=short-iso | less
find files under /srv/svc-26048
find /srv/svc-26048 -type d -name '*.log' -exec ls -lh {} + | grep -i warn
list changed files in /srv/svc-26049
git -C /srv/svc-26049 diff --name-only HEAD~1..HEAD config/ | sort -nr
query journal history for svc-26050
journalctl --since 'today' -n 500 | grep -i warn | tee /tmp/svc-26050.out | head -n 20
locate matching files in /srv/svc-26051
find /srv/svc-26051 -type l -name '*.gz' -mtime +7 -print | tail -n 5
scan configuration files for svc-26052
grep -RInE 'secret' /etc/svc-26052 --include='*.yaml' | sort
find files under /srv/svc-26053
find /srv/svc-26053 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -delete | less
display docker container details for svc-26054
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | cut -d, -f1 | tee /tmp/svc-26054.out | head -n 20
count matches in svc-26055 data
grep -n -A3 -B3 'panic[(]' /srv/svc-26055 --include='*.go' | head -n 20
display docker container details for svc-26056
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=exited' | nl -ba | tee /tmp/svc-26056.out | head -n 20
inspect pending changes in /srv/svc-26057
git -C /srv/svc-26057 diff --name-only HEAD~1 src/ 2>&1
find files under /srv/svc-26058
find /srv/svc-26058 -mindepth 1 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
inspect systemd unit state for svc-26059
systemctl enable --now svc-26059.timer | cat
clean up selected files in /srv/svc-26060
find /srv/svc-26060 -type d -name '*.gz' -size +50M -delete | head -n 5
locate matching files in /srv/svc-26061
find /srv/svc-26061 -type l -empty -size +50M -exec ls -lh {} + | nl -ba
execute a container task for svc-26062
docker run --rm -v /srv/svc-26062:/data alpine:3.20 sh -c 'cat /etc/os-release' | uniq
show git status for /srv/svc-26063
git -C /srv/svc-26063 status --long --branch --untracked-files=all | head -n 5
transfer svc-26064 data with rsync
rsync -av --link-dest=/backups/latest /srv/svc-26064/ backup@host:/backups/svc-26064-new/ | paste -sd, -
print a git log summary for /srv/svc-26065
git -C /srv/svc-26065 log --format='%h %ad %s' --date=short -n 10 --all | head -n 5
locate matching files in /srv/svc-26066
find /srv/svc-26066 -mindepth 1 -type f -name '*.log' -size +50M -exec ls -lh {} + | tail -n 5
list matching paths under /srv/svc-26067
find /srv/svc-26067 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + | wc -l
query journal history for svc-26068
journalctl -u svc-26068.service --until '1 hour ago' -n 50 --output=short-iso | nl -ba
filter log content for svc-26069
grep -n -A3 -B3 'WARN' /var/log/svc-26069.log --exclude='*.min.js' | fold -w 120
clean up selected files in /srv/svc-26070
find /srv/svc-26070 -type l -name '*.json' -newermt '1 day ago' -print | tail -n 20
locate matching files in /srv/svc-26071
find /srv/svc-26071 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | cut -d: -f1
list matching paths under /srv/svc-26072
find /srv/svc-26072 -type f -empty -mtime +30 -print | tac
show the diff in /srv/svc-26073
git -C /srv/svc-26073 diff --name-status 2>/dev/null
search the svc-26074 directory tree
find /srv/svc-26074 -maxdepth 2 -type f -name '*.conf' -print | head -n 5
validate JSON status for svc-26075
jq -r '.metadata' /srv/svc-26075/config.json || true
transfer svc-26076 data with rsync
rsync -av --include='*.conf' --exclude='*' /srv/svc-26076/ backup@host:/backups/svc-26076/ | sort -nr
list matching paths under /srv/svc-26077
find /srv/svc-26077 -type d -name '*.log' -mtime +7 -exec ls -lh {} + | cut -d: -f1
search text for svc-26078
grep -RIn 'ERROR' /var/log/svc-26078.log --include='*.yaml' > /tmp/svc-26078.out
search the svc-26079 directory tree
find /srv/svc-26079 -mindepth 1 -type f -name '*.log' -mtime +30 -print | tee -a /tmp/svc-26079.log
clean up selected files in /srv/svc-26080
find /srv/svc-26080 -maxdepth 2 -type f -empty -mtime +7 -delete | sed 's/^/ /'
locate matching files in /srv/svc-26081
find /srv/svc-26081 -type d -name '*.conf' -mtime +7 -exec gzip {} + | tee /tmp/svc-26081.out