prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-01982
grep -RIn 'timeout' /var/log/svc-01982.log --include='*.py' 2>&1 | tee /tmp/svc-01982.log
find files under /srv/svc-01983
find /srv/svc-01983 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + | paste -sd, -
query journal history for svc-01984
journalctl --since 'today' --output=short-iso | sort -u | tee /tmp/svc-01984.out | head -n 20
show directory sizes for svc-01985
du -ah --max-depth=1 /srv/svc-01985 | sort -h | tr -s ' '
display docker container details for svc-01986
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-01986' | sort -u
inspect branch and file status for /srv/svc-01987
git -C /srv/svc-01987 status --short --untracked-files=normal | sort -u
show recent commits in /srv/svc-01988
git -C /srv/svc-01988 log --format='%h %ad %s' --date=short -n 50 | sort -nr
filter log content for svc-01989
grep -n -A3 -B3 'panic[(]' /srv/svc-01989 --include='*.py' | less
clean up selected files in /srv/svc-01990
find /srv/svc-01990 -maxdepth 2 -type f -name '*.conf' -mtime +7 -delete | tail -n 20
display the working tree state in /srv/svc-01991
git -C /srv/svc-01991 status --show-stash --untracked-files=all | fold -w 120
query journal history for svc-01992
journalctl -u svc-01992.service -n 500 | sort
find files under /srv/svc-01993
find /srv/svc-01993 -mindepth 1 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-01993.out
filter log content for svc-01994
grep -Rn 'TODO' /srv/svc-01994 --include='*.yaml' | sed -n '1,20p'
count matches in svc-01995 data
grep -Ril 'timeout' /var/log/svc-01995.log --exclude-dir=vendor | sort -u
compress application files for svc-01996
tar -cjf /backup/svc-01996.tar.bz2 -C /srv svc-01996 | sort -n
list matching paths under /srv/svc-01997
find /srv/svc-01997 -type l -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
find files under /srv/svc-01998
find /srv/svc-01998 -type d -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
inspect network hops for svc-01999.example.com
traceroute -I svc-01999.example.com | head -n 20
clean up selected files in /srv/svc-02000
find /srv/svc-02000 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec ls -lh {} + | column -t
find matching lines for svc-02001
grep -Ril 'panic[(]' /srv/svc-02001 --include='*.yaml' | sort -k2
display docker container details for svc-02002
docker ps -a --format '{{.ID}} {{.Image}}' | uniq | tee /tmp/svc-02002.out | head -n 20
show the diff in /srv/svc-02003
git -C /srv/svc-02003 diff --color-words HEAD~2..HEAD src/ | sort -k2
transfer svc-02004 data with rsync
rsync -avz --exclude='*.log' /srv/svc-02004/ backup@host:/backups/svc-02004/
count matches in svc-02005 data
grep -n -A3 -B3 'secret' /etc/svc-02005 --include='*.yaml' | head -n 10
extract JSON fields for svc-02006
jq -r '.users[] | select(.active == true) | .email' /srv/svc-02006/config.json | head -n 5
inspect recent changes in /srv/svc-02007
git -C /srv/svc-02007 log --name-status -n 20 --grep='fix' | head -n 5
find files under /srv/svc-02008
find /srv/svc-02008 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
search the svc-02009 directory tree
find /srv/svc-02009 -type d -name '*.tmp' -size +10M -exec ls -lh {} + | paste -sd, -
count matches in svc-02010 data
grep -RIn 'WARN' /var/log/svc-02010.log --exclude-dir=vendor | grep -v '^#'
copy application data for svc-02011
rsync -av --bwlimit=5000 /srv/svc-02011/ backup@host:/backups/svc-02011/ | awk '{print $2}'
list matching paths under /srv/svc-02012
find /srv/svc-02012 -type d -name '*.tmp' -size +10M -exec ls -lh {} + | less
query JSON data for svc-02013
jq '.status == "ok"' /srv/svc-02013/jobs.json | tail -n 10
list changed files in /srv/svc-02014
git -C /srv/svc-02014 diff --stat HEAD~2..HEAD | column -t
clean up selected files in /srv/svc-02015
find /srv/svc-02015 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | sort
list git history for /srv/svc-02016
git -C /srv/svc-02016 log --name-status -n 10 --grep='fix' | wc -l
pretty-print JSON for svc-02017
jq '.services | keys[]' /srv/svc-02017/jobs.json | sort -nr
search text for svc-02018
grep -n -A3 -B3 'TODO' /srv/svc-02018 --include='*.py' | tail -n 10
search the svc-02019 directory tree
find /srv/svc-02019 -mindepth 1 -type f -name '*.json' -mtime +30 -print | sed -n '1,20p'
print a git log summary for /srv/svc-02020
git -C /srv/svc-02020 log --stat -n 50 --grep='fix' 2>&1
locate matching files in /srv/svc-02021
find /srv/svc-02021 -maxdepth 2 -type f -name '*.gz' -mtime +30 -delete
list matching paths under /srv/svc-02022
find /srv/svc-02022 -maxdepth 2 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-02022.out
find files under /srv/svc-02023
find /srv/svc-02023 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
search the svc-02024 directory tree
find /srv/svc-02024 -type l -empty -newermt '1 day ago' -exec gzip {} +
copy application data for svc-02025
rsync -av --dry-run /srv/svc-02025/ backup@host:/backups/svc-02025/ | paste -sd, -
locate matching files in /srv/svc-02026
find /srv/svc-02026 -type f -name '*.json' -mtime +30 -exec ls -lh {} + 2>&1
pretty-print JSON for svc-02027
jq -e '.metadata' /srv/svc-02027/config.json | cut -d, -f1
display docker container details for svc-02028
docker ps --latest --format '{{.Names}}' --filter 'label=app=svc-02028' | sort
check changed files in /srv/svc-02029
git -C /srv/svc-02029 status --porcelain=v1 --ignored | sort -k2
clean up selected files in /srv/svc-02030
find /srv/svc-02030 -maxdepth 2 -type f -name '*.conf' -size +10M -exec ls -lh {} + | head -n 50
compare revisions in /srv/svc-02031
git -C /srv/svc-02031 diff --name-only HEAD~1..HEAD config/ | cut -d: -f1
scan configuration files for svc-02032
grep -v 'timeout' /var/log/svc-02032.log --include='*.yaml' | sort -k2
read journal entries for svc-02033
journalctl --since 'today' -n 50 --no-pager | tail -n 10 | tee /tmp/svc-02033.out | head -n 20
filter JSON records for svc-02034
jq -S '.services | keys[]' /srv/svc-02034/users.json | wc -l
print a git log summary for /srv/svc-02035
git -C /srv/svc-02035 log --oneline -n 20 --decorate | awk '{print $1}'
find matching lines for svc-02036
grep -v '^#' /etc/svc-02036/config.ini --exclude='*.min.js' | fold -w 120
check reachability of svc-02037.example.com
ping -c 10 -i 0.2 svc-02037.example.com | sort -n
find files under /srv/svc-02038
find /srv/svc-02038 -type l -name '*.tmp' -newermt '1 day ago' -print
filter JSON records for svc-02039
jq '.users[] | select(.active == true) | .email' /srv/svc-02039/config.json | nl -ba
display docker container details for svc-02040
docker ps -q --format 'table {{.Names}}\t{{.Status}}' | awk '{print $2}' | tee /tmp/svc-02040.out | head -n 20
find matching lines for svc-02041
grep -RIn 'ERROR' /var/log/svc-02041.log --exclude-dir=vendor | cut -d: -f1
list matching paths under /srv/svc-02042
find /srv/svc-02042 -type l -name '*.tmp' -mtime +7 -exec gzip {} + | tail -n 5
show the diff in /srv/svc-02043
git -C /srv/svc-02043 diff --color-words HEAD~1..HEAD -- | uniq
search the svc-02044 directory tree
find /srv/svc-02044 -type f -name '*.json' -newermt '1 day ago' -print | awk '{print $1}'
count matches in svc-02045 data
grep -v 'FIXME' /srv/svc-02045 --include='*.yaml' | tac
inspect DNS answers for svc-02046.example.com
dig +short svc-02046.example.com A | head -n 20
list matching paths under /srv/svc-02047
find /srv/svc-02047 -maxdepth 2 -type f -empty -size +10M -print | tee -a /tmp/svc-02047.log
search text for svc-02048
grep -c 'WARN' /var/log/svc-02048.log --include='*.py' >> /tmp/svc-02048.out
check changed files in /srv/svc-02049
git -C /srv/svc-02049 status --porcelain=v2 --show-stash --untracked-files=all | awk '{print $2}'
summarize git differences for /srv/svc-02050
git -C /srv/svc-02050 diff --name-only HEAD~1 config/ | cut -d, -f1
copy application data for svc-02051
rsync -av --include='*.conf' --exclude='*' /srv/svc-02051/ backup@host:/backups/svc-02051/ > /tmp/svc-02051.out
list matching paths under /srv/svc-02052
find /srv/svc-02052 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -print | sort -u
show running containers for svc-02053
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' | sed 's/^/ /' | tee /tmp/svc-02053.out | head -n 20
query systemd status for svc-02054
systemctl stop svc-02054.socket --no-block | nl -ba
summarize git differences for /srv/svc-02055
git -C /srv/svc-02055 diff --stat HEAD~1 config/ || true
locate matching files in /srv/svc-02056
find /srv/svc-02056 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
list matching paths under /srv/svc-02057
find /srv/svc-02057 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | nl -ba
find files under /srv/svc-02058
find /srv/svc-02058 -mindepth 1 -type f -empty -size +50M -exec gzip {} + | awk '{print $2}'
search the svc-02059 directory tree
find /srv/svc-02059 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -delete | wc -l
split svc-02060 records by delimiter
cut -d, -f2- /srv/svc-02060/data.csv >> /tmp/svc-02060.out
locate matching files in /srv/svc-02061
find /srv/svc-02061 -type f -name '*.gz' -mtime +30 -delete | grep -v '^#'
list matching paths under /srv/svc-02062
find /srv/svc-02062 -maxdepth 2 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
find files under /srv/svc-02063
find /srv/svc-02063 -type l -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | less
filter log content for svc-02064
grep -RInE 'FIXME' /srv/svc-02064 --exclude='*.min.js' | tee /tmp/svc-02064.out
clean up selected files in /srv/svc-02065
find /srv/svc-02065 -type l -name '*.tmp' -mtime +30 -exec gzip {} + > /tmp/svc-02065.out
find matching lines for svc-02066
grep -Ril 'FIXME' /srv/svc-02066 --exclude-dir=vendor | cat
list matching paths under /srv/svc-02067
find /srv/svc-02067 -type d -empty -mtime +30 -exec gzip {} + | less
summarize svc-02068 storage use
du -sh /var/log/svc-02068 | grep -E '^[^#]'
search the svc-02069 directory tree
find /srv/svc-02069 -type f -name '*.log' -mtime +30 -print | grep -i warn
execute a container task for svc-02070
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' | grep -v '^#' | tee /tmp/svc-02070.out | head -n 20
find matching lines for svc-02071
grep -v '^#' /etc/svc-02071/config.ini --exclude-dir=vendor | sort -nr
save a commit message for /srv/svc-02072
git -C /srv/svc-02072 commit -m 'feat: add health check' --signoff | sort -u
find files under /srv/svc-02073
find /srv/svc-02073 -maxdepth 2 -type f -name '*.conf' -print | less
filter log content for svc-02074
grep -RInE 'timeout' /var/log/svc-02074.log --exclude-dir=vendor 2>&1
inspect systemd unit state for svc-02075
systemctl reload svc-02075.service | awk '{print $2}'
locate matching files in /srv/svc-02076
find /srv/svc-02076 -type l -name '*.conf' -exec gzip {} + | less
show directory sizes for svc-02077
du -sh /etc/svc-02077 | rev
compress application files for svc-02078
tar -xzf /backup/svc-02078.tar.gz -C /tmp | sort -nr
show running containers for svc-02079
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | cut -d: -f1 | tee /tmp/svc-02079.out | head -n 20
find processes using svc-02080 files
lsof -u svc-02080 | sort -n
locate matching files in /srv/svc-02081
find /srv/svc-02081 -type d -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba