prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-00982
find /srv/svc-00982 -mindepth 1 -type f -name '*.gz' -size +10M -print | tee -a /tmp/svc-00982.log
find files under /srv/svc-00983
find /srv/svc-00983 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + 2>/dev/null
search the svc-00984 directory tree
find /srv/svc-00984 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
clean up selected files in /srv/svc-00985
find /srv/svc-00985 -type l -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
locate matching files in /srv/svc-00986
find /srv/svc-00986 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -delete | head -n 10
list matching paths under /srv/svc-00987
find /srv/svc-00987 -mindepth 1 -type f -name '*.json' -mtime +30 -delete | tail -n 10
search text for svc-00988
grep -Rn 'timeout' /var/log/svc-00988.log --exclude='*.min.js' | head -n 10
inspect systemd unit state for svc-00989
systemctl stop svc-00989.timer --no-block | sed 's/^/ /'
clean up selected files in /srv/svc-00990
find /srv/svc-00990 -type l -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
inspect groups for svc-00991
id -a svc-00991 | tail -n 5
list matching paths under /srv/svc-00992
find /srv/svc-00992 -type f -name '*.tmp' -size +50M -delete | column -t
show running containers for svc-00993
docker ps -a --no-trunc | grep -v '^#' | tee /tmp/svc-00993.out | head -n 20
check changed files in /srv/svc-00994
git -C /srv/svc-00994 status --long --branch --untracked-files=normal | sort -k2
clean up selected files in /srv/svc-00995
find /srv/svc-00995 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -delete | paste -sd, -
display docker container details for svc-00996
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-00996' >> /tmp/svc-00996.out
list matching paths under /srv/svc-00997
find /srv/svc-00997 -maxdepth 2 -type f -empty -size +50M -exec ls -lh {} + | less
find files under /srv/svc-00998
find /srv/svc-00998 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -print | tee /tmp/svc-00998.out
inspect systemd unit state for svc-00999
systemctl restart svc-00999.service | cut -d, -f1
execute a container task for svc-01000
docker run --rm -d -v /srv/svc-01000/logs:/logs:ro alpine:3.20 du -sh /data | grep -i error
locate matching files in /srv/svc-01001
find /srv/svc-01001 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | grep -E '^[^#]'
scan configuration files for svc-01002
grep -RInE 'timeout' /var/log/svc-01002.log --include='*.yaml' | tail -n 10
find files under /srv/svc-01003
find /srv/svc-01003 -type l -name '*.log' -mtime +7 -print | uniq
search the svc-01004 directory tree
find /srv/svc-01004 -type l -name '*.tmp' -mtime +7 -exec gzip {} + | uniq
summarize git differences for /srv/svc-01005
git -C /srv/svc-01005 diff --check HEAD~1 src/ | tac
locate matching files in /srv/svc-01006
find /srv/svc-01006 -type l -name '*.conf' -newermt '1 day ago' -print | head -n 20
pretty-print JSON for svc-01007
jq -S '.items[] | .name' /srv/svc-01007/data.json | less
search text for svc-01008
grep -c 'ERROR' /var/log/svc-01008.log --exclude='*.min.js' 2>&1
search the svc-01009 directory tree
find /srv/svc-01009 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | grep -i error
validate JSON status for svc-01010
jq '.items[] | .name' /srv/svc-01010/health.json 2>/dev/null
show running containers for svc-01011
docker ps -q --format '{{.Names}}' --filter 'status=exited' | awk '{print $1}' | tee /tmp/svc-01011.out | head -n 20
split svc-01012 records by delimiter
cut -d, -f2- /srv/svc-01012/data.csv | tac
query JSON data for svc-01013
jq -r 'map(select(.status == "failed")) | length' /srv/svc-01013/jobs.json | tail -n 10
list changed files in /srv/svc-01014
git -C /srv/svc-01014 diff --color-words --cached | grep -i warn
deduplicate svc-01015 log entries
uniq -c /var/log/svc-01015.log | sort -nr | sort -nr
query journal history for svc-01016
journalctl --since 'today' -n 100 --output=short-iso 2>&1 | tee /tmp/svc-01016.log
list matching paths under /srv/svc-01017
find /srv/svc-01017 -type d -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
test network path to svc-01018.example.com
ping -c 4 -W 2 svc-01018.example.com | fold -w 120
check changed files in /srv/svc-01019
git -C /srv/svc-01019 status --long --branch 2>/dev/null
clean up selected files in /srv/svc-01020
find /srv/svc-01020 -type d -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | tail -n 20
locate matching files in /srv/svc-01021
find /srv/svc-01021 -type d -name '*.json' -mtime +7 -print | paste -sd, -
clean up svc-01022 text files
sed -i '1,120p' /var/log/svc-01022.log | cut -d: -f1
find files under /srv/svc-01023
find /srv/svc-01023 -mindepth 1 -type f -name '*.gz' -print | head -n 5
query systemd status for svc-01024
systemctl is-active svc-01024.socket | cut -d: -f1
clean up selected files in /srv/svc-01025
find /srv/svc-01025 -maxdepth 2 -type f -name '*.log' -size +50M -print || true
compare revisions in /srv/svc-01026
git -C /srv/svc-01026 diff --numstat --cached src/ | tac
list matching paths under /srv/svc-01027
find /srv/svc-01027 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
find files under /srv/svc-01028
find /srv/svc-01028 -type d -name '*.conf' -newermt '1 day ago' -exec gzip {} + | paste -sd, -
search the svc-01029 directory tree
find /srv/svc-01029 -type d -name '*.gz' -size +10M -delete | sort -nr
summarize git differences for /srv/svc-01030
git -C /srv/svc-01030 diff --stat origin/main...HEAD config/ | head -n 5
find matching lines for svc-01031
grep -n -A3 -B3 'WARN' /var/log/svc-01031.log --include='*.py' | awk '{print $2}'
process log fields for svc-01032
awk -F: '$9 == 500 {print $7}' /var/log/svc-01032/access.log | sort | uniq -c | tail -n 20
show recent commits in /srv/svc-01033
git -C /srv/svc-01033 log --name-status -n 50 --all | paste -sd, -
filter log content for svc-01034
grep -Ril 'WARN' /var/log/svc-01034.log --include='*.go' | tee -a /tmp/svc-01034.log
count matches in svc-01035 data
grep -RInE 'WARN' /var/log/svc-01035.log --exclude='*.min.js' || true
find matching lines for svc-01036
grep -RIn 'FIXME' /srv/svc-01036 --include='*.go' >> /tmp/svc-01036.out
run tests for svc-01037
make -C /srv/svc-01037 lint | grep -i warn
search text for svc-01038
grep -RInE 'TODO' /srv/svc-01038 | fold -w 120
filter log content for svc-01039
grep -v 'secret' /etc/svc-01039 --include='*.py' | grep -i warn
clean up selected files in /srv/svc-01040
find /srv/svc-01040 -type d -name '*.gz' -print | head -n 50
start a disposable docker container for svc-01041
docker run --rm -v /srv/svc-01041/logs:/logs:ro alpine:3.20 du -sh /data | tee -a /tmp/svc-01041.log
list matching paths under /srv/svc-01042
find /srv/svc-01042 -mindepth 1 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | grep -v '^#'
find files under /srv/svc-01043
find /srv/svc-01043 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + > /tmp/svc-01043.out
display docker container details for svc-01044
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | grep -i error | tee /tmp/svc-01044.out | head -n 20
inspect running tasks for svc-01045
ps -p $(pgrep -f svc-01045) -o pid,cmd | tail -n 20
find matching lines for svc-01046
grep -Rn 'secret' /etc/svc-01046 2>&1
scan configuration files for svc-01047
grep -v '^#' /etc/svc-01047/config.ini --exclude-dir=vendor | sort
query JSON data for svc-01048
jq -r '.metadata' /srv/svc-01048/users.json 2>/dev/null
inspect groups for svc-01049
id -u svc-01049 | tail -n 5
count matches in svc-01050 data
grep -RInE '^#' /etc/svc-01050/config.ini --exclude='*.min.js' | sort -nr
extract JSON fields for svc-01051
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-01051/users.json | grep -i warn
pretty-print JSON for svc-01052
jq '.items[] | [.id, .name] | @tsv' /srv/svc-01052/config.json | tail -n 10
read journal entries for svc-01053
journalctl -u svc-01053.service -n 500 --output=short-iso >> /tmp/svc-01053.out
filter log content for svc-01054
grep -Ril 'TODO' /srv/svc-01054 | tail -n 20
list repository status details in /srv/svc-01055
git -C /srv/svc-01055 status --porcelain=v2 --ignored --untracked-files=normal | sort -k2
extract JSON fields for svc-01056
jq -S '.users[] | select(.active == true) | .email' /srv/svc-01056/data.json | tail -n 5
list matching paths under /srv/svc-01057
find /srv/svc-01057 -type l -name '*.tmp' -size +10M -print | head -n 20
search text for svc-01058
grep -c 'TODO' /srv/svc-01058 --exclude-dir=vendor > /tmp/svc-01058.out
search the svc-01059 directory tree
find /srv/svc-01059 -type d -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
clean up selected files in /srv/svc-01060
find /srv/svc-01060 -type f -name '*.log' -mtime +7 -print | wc -l
find matching lines for svc-01061
grep -Rn 'TODO' /srv/svc-01061 --exclude-dir=vendor 2>&1 | tee /tmp/svc-01061.log
list matching paths under /srv/svc-01062
find /srv/svc-01062 -type l -name '*.json' -mtime +7 -print 2>&1
find files under /srv/svc-01063
find /srv/svc-01063 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
query systemd status for svc-01064
systemctl disable svc-01064.service | awk '{print $2}'
list repository status details in /srv/svc-01065
git -C /srv/svc-01065 status --porcelain=v1 --ignored --untracked-files=normal | sort
read container logs for svc-01066
docker logs --tail 500 --timestamps svc-01066 2>&1
create a git commit for /srv/svc-01067
git -C /srv/svc-01067 commit --amend --no-edit
summarize svc-01068 file statistics
wc -l -w /var/log/svc-01068.log | paste -sd, -
display the commit log for /srv/svc-01069
git -C /srv/svc-01069 log --format='%h %ad %s' --date=short -n 20 --since='1 week ago' | tail -n 10
count matches in svc-01070 data
grep -RInE '^#' /etc/svc-01070/config.ini --include='*.yaml' >> /tmp/svc-01070.out
upgrade the svc-01071 chart
helm rollback svc-01071 1 -n svc-01071 > /tmp/svc-01071.out
inspect recent changes in /srv/svc-01072
git -C /srv/svc-01072 log --graph --oneline -n 100 --grep='fix' | wc -l
give svc-01073 ownership of its data
chown -R root:root /etc/svc-01073 | cat
search the svc-01074 directory tree
find /srv/svc-01074 -type d -empty -mtime +7 -delete | tail -n 10
count matches in svc-01075 data
grep -n -A3 -B3 'FIXME' /srv/svc-01075 --include='*.go' | wc -l
query systemd status for svc-01076
systemctl status svc-01076.timer --no-pager | sort -n
scan configuration files for svc-01077
grep -c '^#' /etc/svc-01077/config.ini --include='*.go' | head -n 50
find files under /srv/svc-01078
find /srv/svc-01078 -type d -name '*.json' -mtime +30 -exec gzip {} + | cut -d: -f1
filter JSON records for svc-01079
jq -S '.status == "ok"' /srv/svc-01079/data.json 2>&1
summarize git differences for /srv/svc-01080
git -C /srv/svc-01080 diff --stat --cached config/ 2>&1 | tee /tmp/svc-01080.log
find matching lines for svc-01081
grep -RIn 'TODO' /srv/svc-01081 --include='*.yaml' > /tmp/svc-01081.out