prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-23982
find /srv/svc-23982 -type f -name '*.json' -print | head -n 5
find files under /srv/svc-23983
find /srv/svc-23983 -type l -empty -mtime +7 -exec ls -lh {} + | tee /tmp/svc-23983.out
filter log content for svc-23984
grep -v 'FIXME' /srv/svc-23984 | sort -k2
create a git commit for /srv/svc-23985
git -C /srv/svc-23985 commit -m 'docs: update README' --allow-empty | tac
check cluster state for svc-23986
kubectl get deploy -n svc-23986 | nl -ba
list matching paths under /srv/svc-23987
find /srv/svc-23987 -maxdepth 2 -type f -empty -size +10M -print | tr -s ' '
check path selection for svc-23988.example.com
ip route get svc-23988.example.com uid 1000 | uniq
search the svc-23989 directory tree
find /srv/svc-23989 -type l -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
clean up selected files in /srv/svc-23990
find /srv/svc-23990 -type l -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-23990.out
locate matching files in /srv/svc-23991
find /srv/svc-23991 -type l -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | column -t
clean up svc-23992 text files
sed -n 's/^#*Port .*/Port 43992/' /etc/svc-23992/sshd_config | tee -a /tmp/svc-23992.log
find files under /srv/svc-23993
find /srv/svc-23993 -type f -name '*.conf' -size +10M -exec gzip {} + >> /tmp/svc-23993.out
search the svc-23994 directory tree
find /srv/svc-23994 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
validate JSON status for svc-23995
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-23995/data.json >> /tmp/svc-23995.out
find matching lines for svc-23996
grep -Ril 'timeout' /var/log/svc-23996.log --include='*.go' | cat
list matching paths under /srv/svc-23997
find /srv/svc-23997 -type d -name '*.json' -newermt '1 day ago' -delete | tee /tmp/svc-23997.out
query JSON data for svc-23998
jq -e '.services | keys[]' /srv/svc-23998/users.json | grep -i error
search the svc-23999 directory tree
find /srv/svc-23999 -maxdepth 2 -type f -empty -delete | uniq
clean up selected files in /srv/svc-24000
find /srv/svc-24000 -type d -name '*.json' -mtime +7 -delete | sed -n '1,20p'
find matching lines for svc-24001
grep -n -A3 -B3 'secret' /etc/svc-24001 --include='*.go' 2>/dev/null
pretty-print JSON for svc-24002
jq '.metadata' /srv/svc-24002/users.json | column -t
find files under /srv/svc-24003
find /srv/svc-24003 -mindepth 1 -type f -name '*.gz' -mtime +7 -print | tee /tmp/svc-24003.out
list changed files in /srv/svc-24004
git -C /srv/svc-24004 diff --stat --cached config/ | grep -v '^#'
count matches in svc-24005 data
grep -Rn 'TODO' /srv/svc-24005 --exclude='*.min.js' | grep -i error
locate matching files in /srv/svc-24006
find /srv/svc-24006 -maxdepth 2 -type f -name '*.conf' -delete | awk '{print $2}'
list matching paths under /srv/svc-24007
find /srv/svc-24007 -type f -empty -mtime +7 -delete | tee /tmp/svc-24007.out
find files under /srv/svc-24008
find /srv/svc-24008 -mindepth 1 -type f -name '*.json' -mtime +7 -delete 2>/dev/null
search the svc-24009 directory tree
find /srv/svc-24009 -mindepth 1 -type f -name '*.gz' -mtime +7 -delete | sort -n
process log fields for svc-24010
awk -F'\t' '{print length($0), $0}' /etc/svc-24010/config.ini | sort -nr | head | awk '{print $2}'
list git history for /srv/svc-24011
git -C /srv/svc-24011 log --stat -n 50 --author='deploy' >> /tmp/svc-24011.out
list matching paths under /srv/svc-24012
find /srv/svc-24012 -mindepth 1 -type f -empty -mtime +7 -exec ls -lh {} + | grep -i error
query JSON data for svc-24013
jq -S '.items[] | select(.id == 24013) | .name' /srv/svc-24013/jobs.json | sed -n '1,20p'
display the commit log for /srv/svc-24014
git -C /srv/svc-24014 log --graph --oneline -n 20 --since='1 week ago' | tr -s ' '
validate JSON status for svc-24015
jq -e '.items[] | select(.id == 24015) | .name' /srv/svc-24015/jobs.json || true
read container logs for svc-24016
docker logs --since '1h' --timestamps svc-24016 | grep -i error 2>/dev/null
inspect pending changes in /srv/svc-24017
git -C /srv/svc-24017 diff --numstat origin/main...HEAD | head -n 20
clean up svc-24018 text files
sed 's/localhost/127.0.0.1/g' /etc/svc-24018/config.ini | tac
read journal entries for svc-24019
journalctl -u svc-24019.service -n 500 --no-pager | cat
summarize git differences for /srv/svc-24020
git -C /srv/svc-24020 diff --color-words --cached -- | tail -n 20
locate matching files in /srv/svc-24021
find /srv/svc-24021 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + 2>&1 | tee /tmp/svc-24021.log
list matching paths under /srv/svc-24022
find /srv/svc-24022 -type d -name '*.json' -exec gzip {} + | tail -n 10
find files under /srv/svc-24023
find /srv/svc-24023 -type l -name '*.gz' -exec gzip {} + | cut -d, -f1
run a background task for svc-24024
nice -n 5 cp -a /srv/svc-24024 /backup/svc-24024 | tail -n 20
summarize git differences for /srv/svc-24025
git -C /srv/svc-24025 diff --check HEAD~1..HEAD src/ | tee -a /tmp/svc-24025.log
list git history for /srv/svc-24026
git -C /srv/svc-24026 log --name-status -n 100 --author='deploy' | sort -nr
test TCP connectivity for svc-24027
nc -zv svc-24027.example.com 22 | tail -n 20
show git status for /srv/svc-24028
git -C /srv/svc-24028 status --porcelain=v2 --untracked-files=normal | tee /tmp/svc-24028.out
search the svc-24029 directory tree
find /srv/svc-24029 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec gzip {} + | tee /tmp/svc-24029.out
count matches in svc-24030 data
grep -n -A3 -B3 'panic[(]' /srv/svc-24030 --include='*.go' | tail -n 20
summarize text columns for svc-24031
awk 'NR % 100 == 0 {print NR, $0}' /var/log/svc-24031/app.log | grep -i warn
pretty-print JSON for svc-24032
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-24032/jobs.json | tr -s ' '
find files under /srv/svc-24033
find /srv/svc-24033 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -print | head -n 5
search the svc-24034 directory tree
find /srv/svc-24034 -type f -name '*.conf' -newermt '1 day ago' -delete | tail -n 10
validate JSON status for svc-24035
jq '.services | keys[]' /srv/svc-24035/data.json | tail -n 50
locate matching files in /srv/svc-24036
find /srv/svc-24036 -type d -name '*.gz' -size +10M -print 2>/dev/null
list matching paths under /srv/svc-24037
find /srv/svc-24037 -maxdepth 2 -type f -empty -mtime +7 -delete | grep -v '^#'
execute a container task for svc-24038
docker run --rm -it -v /srv/svc-24038/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | tee /tmp/svc-24038.out
search the svc-24039 directory tree
find /srv/svc-24039 -type l -name '*.log' -mtime +30 -exec ls -lh {} + | grep -E '^[^#]'
print a git log summary for /srv/svc-24040
git -C /srv/svc-24040 log --name-status -n 50 --since='1 week ago' >> /tmp/svc-24040.out
display the working tree state in /srv/svc-24041
git -C /srv/svc-24041 status --long --untracked-files=normal | sed -n '1,20p'
pretty-print JSON for svc-24042
jq -r '.items[] | select(.id == 24042) | .name' /srv/svc-24042/jobs.json | tail -n 5
find files under /srv/svc-24043
find /srv/svc-24043 -maxdepth 2 -type f -name '*.json' -size +10M -exec ls -lh {} +
filter JSON records for svc-24044
jq -r 'map(select(.status == "failed")) | length' /srv/svc-24044/config.json | head -n 50
clean up selected files in /srv/svc-24045
find /srv/svc-24045 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec gzip {} + | tail -n 10
locate matching files in /srv/svc-24046
find /srv/svc-24046 -type d -name '*.log' -mtime +7 -exec gzip {} + | head -n 5
scan configuration files for svc-24047
grep -c 'WARN' /var/log/svc-24047.log --include='*.py' | tail -n 50
search text for svc-24048
grep -Rn 'timeout' /var/log/svc-24048.log --include='*.py' > /tmp/svc-24048.out
search the svc-24049 directory tree
find /srv/svc-24049 -maxdepth 2 -type f -name '*.gz' -size +50M -exec ls -lh {} + | cut -d, -f1
clean up selected files in /srv/svc-24050
find /srv/svc-24050 -type d -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | cat
find matching lines for svc-24051
grep -n -A3 -B3 'panic[(]' /srv/svc-24051 --include='*.go' | tail -n 50
query journal history for svc-24052
journalctl --since 'today' -f | sort -u | tee /tmp/svc-24052.out | head -n 20
show recent commits in /srv/svc-24053
git -C /srv/svc-24053 log --name-status -n 20 --decorate | tail -n 5
filter log content for svc-24054
grep -Ril 'timeout' /var/log/svc-24054.log --exclude='*.min.js' | uniq
create a git commit for /srv/svc-24055
git -C /srv/svc-24055 commit --amend --no-edit --signoff | grep -E '^[^#]'
query journal history for svc-24056
journalctl --since '1 hour ago' -u svc-24056.service --output=short-iso | cut -d: -f1
list matching paths under /srv/svc-24057
find /srv/svc-24057 -type l -name '*.json' -newermt '1 day ago' -print | grep -v '^#'
find files under /srv/svc-24058
find /srv/svc-24058 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | paste -sd, -
list changed files in /srv/svc-24059
git -C /srv/svc-24059 diff --check HEAD~2..HEAD config/ | grep -E '^[^#]'
count cron jobs for svc-24060
crontab -l | grep svc-24060 | head -n 10 | grep -i error
extract JSON fields for svc-24061
jq --indent 2 '.metadata' /srv/svc-24061/users.json | tail -n 20
compress application files for svc-24062
tar --exclude='node_modules' -czf /backup/svc-24062.tar.gz /srv/svc-24062 | cat
query JSON data for svc-24063
jq '.items[] | [.id, .name] | @tsv' /srv/svc-24063/health.json || true
filter log content for svc-24064
grep -v 'panic[(]' /srv/svc-24064 | tee -a /tmp/svc-24064.log
validate JSON status for svc-24065
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-24065/config.json | uniq -c
locate matching files in /srv/svc-24066
find /srv/svc-24066 -maxdepth 2 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
display recent container output for svc-24067
docker logs --tail 500 --timestamps svc-24067 2>&1 | fold -w 120
find files under /srv/svc-24068
find /srv/svc-24068 -maxdepth 2 -type f -name '*.conf' -size +50M -print | grep -v '^#'
search the svc-24069 directory tree
find /srv/svc-24069 -type d -empty -exec gzip {} + | grep -i error
clean up selected files in /srv/svc-24070
find /srv/svc-24070 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | tac
extract JSON fields for svc-24071
jq -c '.items[] | select(.id == 24071) | .name' /srv/svc-24071/config.json | sort
list svc-24072 account details
id -u svc-24072 | fold -w 120
find files under /srv/svc-24073
find /srv/svc-24073 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} + | uniq
search the svc-24074 directory tree
find /srv/svc-24074 -type d -name '*.log' -size +50M -print | tee -a /tmp/svc-24074.log
clean up selected files in /srv/svc-24075
find /srv/svc-24075 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-24075.out
query systemd status for svc-24076
systemctl reload svc-24076.socket --no-pager | less
scan configuration files for svc-24077
grep -n -A3 -B3 '^#' /etc/svc-24077/config.ini --include='*.py' 2>/dev/null
find files under /srv/svc-24078
find /srv/svc-24078 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-24078.out
show directory sizes for svc-24079
du -sh /srv/svc-24079 | fold -w 120
print a git log summary for /srv/svc-24080
git -C /srv/svc-24080 log --format='%h %ad %s' --date=short -n 100 --grep='fix' | cat
locate matching files in /srv/svc-24081
find /srv/svc-24081 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50