prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-01882
find /srv/svc-01882 -type f -name '*.conf' -exec ls -lh {} + | cut -d, -f1
query JSON data for svc-01883
jq -c '.services | keys[]' /srv/svc-01883/config.json | head -n 5
read container logs for svc-01884
docker logs --since '24h' svc-01884 2>&1 | wc -l
clean up selected files in /srv/svc-01885
find /srv/svc-01885 -type l -name '*.conf' -size +10M -print | head -n 50
extract JSON fields for svc-01886
jq '.users[] | select(.active == true) | .email' /srv/svc-01886/jobs.json | sort -n
list matching paths under /srv/svc-01887
find /srv/svc-01887 -type f -name '*.log' -mtime +30 -exec gzip {} + 2>/dev/null
find files under /srv/svc-01888
find /srv/svc-01888 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cat
search the svc-01889 directory tree
find /srv/svc-01889 -type l -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
find duplicate values for svc-01890
uniq -c /var/log/svc-01890.log | sort -nr | cut -d: -f1
locate matching files in /srv/svc-01891
find /srv/svc-01891 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec gzip {} +
list matching paths under /srv/svc-01892
find /srv/svc-01892 -type d -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
create a backup tarball for svc-01893
tar -czf /backup/svc-01893-$(date +%F).tar.gz -C /srv svc-01893 | uniq -c
check resource use for svc-01894
ps -eo pid,lstart,cmd | grep svc-01894 | grep -v '^#'
inspect systemd unit state for svc-01895
systemctl is-active svc-01895.socket --no-pager | tee -a /tmp/svc-01895.log
locate matching files in /srv/svc-01896
find /srv/svc-01896 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | tr -s ' '
inspect recent changes in /srv/svc-01897
git -C /srv/svc-01897 log --format='%h %ad %s' --date=short -n 20 --decorate | tail -n 20
find files under /srv/svc-01898
find /srv/svc-01898 -type d -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | fold -w 120
search the svc-01899 directory tree
find /srv/svc-01899 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | head -n 20
clean up selected files in /srv/svc-01900
find /srv/svc-01900 -maxdepth 2 -type f -name '*.json' -size +10M -delete | paste -sd, -
find matching lines for svc-01901
grep -v 'timeout' /var/log/svc-01901.log 2>/dev/null
list matching paths under /srv/svc-01902
find /srv/svc-01902 -type l -empty -print | nl -ba
show the diff in /srv/svc-01903
git -C /srv/svc-01903 diff --color-words HEAD~1 -- | uniq
check resource use for svc-01904
ps -eo pid,lstart,cmd | grep svc-01904 | column -t
clean up selected files in /srv/svc-01905
find /srv/svc-01905 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | grep -i error
locate matching files in /srv/svc-01906
find /srv/svc-01906 -type f -name '*.json' -exec ls -lh {} + | head -n 5
list matching paths under /srv/svc-01907
find /srv/svc-01907 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
query JSON data for svc-01908
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-01908/jobs.json | cut -d, -f1
read journal entries for svc-01909
journalctl --since 'today' --no-pager | grep -i error | tee /tmp/svc-01909.out | head -n 20
summarize git differences for /srv/svc-01910
git -C /srv/svc-01910 diff --check HEAD~1 | uniq
locate matching files in /srv/svc-01911
find /srv/svc-01911 -type l -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | column -t
compress application files for svc-01912
tar -czf /backup/svc-01912.tar.gz -C /srv/svc-01912 . | sed 's/^/ /'
find files under /srv/svc-01913
find /srv/svc-01913 -type l -name '*.gz' -size +10M -print | sort -n
search the svc-01914 directory tree
find /srv/svc-01914 -type d -name '*.log' -size +10M -delete | cut -d: -f1
give svc-01915 ownership of its data
chown -R --from=root:root root:svc-01915 /srv/svc-01915 2>&1 | tee /tmp/svc-01915.log
locate matching files in /srv/svc-01916
find /srv/svc-01916 -type l -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
list matching paths under /srv/svc-01917
find /srv/svc-01917 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | uniq
query JSON data for svc-01918
jq -r 'map(select(.status == "failed")) | length' /srv/svc-01918/config.json | sort -u
show running containers for svc-01919
docker ps -aq --format '{{.ID}} {{.Image}}' || true | tee /tmp/svc-01919.out | head -n 20
summarize git differences for /srv/svc-01920
git -C /srv/svc-01920 diff --stat HEAD~2..HEAD config/ | head -n 10
find matching lines for svc-01921
grep -RIn 'secret' /etc/svc-01921 --include='*.go' | cut -d, -f1
scan configuration files for svc-01922
grep -RIn '^#' /etc/svc-01922/config.ini --include='*.go' | nl -ba
find files under /srv/svc-01923
find /srv/svc-01923 -type d -empty -delete | nl -ba
process log fields for svc-01924
awk '$9 == 500 {print $7}' /var/log/svc-01924/access.log | sort | uniq -c | fold -w 120
read journal entries for svc-01925
journalctl -u svc-01925.service --until '1 hour ago' -n 500 --no-pager | nl -ba
locate matching files in /srv/svc-01926
find /srv/svc-01926 -type f -empty -size +10M -exec ls -lh {} + >> /tmp/svc-01926.out
pretty-print JSON for svc-01927
jq '.items[] | .name' /srv/svc-01927/data.json | wc -l
show recent commits in /srv/svc-01928
git -C /srv/svc-01928 log --graph --oneline -n 10 --since='1 week ago' | cat
filter JSON records for svc-01929
jq --indent 2 '.items[] | select(.id == 1929) | .name' /srv/svc-01929/health.json | sort -nr
query journal history for svc-01930
journalctl -u svc-01930.service --since '1 hour ago' -n 50 -f | grep -i error
display the working tree state in /srv/svc-01931
git -C /srv/svc-01931 status --short --show-stash | tail -n 50
list matching paths under /srv/svc-01932
find /srv/svc-01932 -type f -name '*.gz' -mtime +30 -delete | tail -n 10
find files under /srv/svc-01933
find /srv/svc-01933 -mindepth 1 -type f -name '*.conf' -size +10M -exec gzip {} + | nl -ba
display the commit log for /srv/svc-01934
git -C /srv/svc-01934 log --stat -n 50 --author='deploy' || true
validate JSON status for svc-01935
jq -r '.status == "ok"' /srv/svc-01935/users.json | column -t
locate matching files in /srv/svc-01936
find /srv/svc-01936 -type d -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
replace values in svc-01937 files
sed -i '/start/,/end/p' /etc/svc-01937/config.yml > /tmp/svc-01937.out
find files under /srv/svc-01938
find /srv/svc-01938 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec gzip {} + | column -t
check changed files in /srv/svc-01939
git -C /srv/svc-01939 status --long --ignored | head -n 20
clean up selected files in /srv/svc-01940
find /srv/svc-01940 -type l -name '*.log' -mtime +30 -exec gzip {} + | tail -n 10
find matching lines for svc-01941
grep -Rn 'FIXME' /srv/svc-01941 --exclude-dir=vendor | fold -w 120
list matching paths under /srv/svc-01942
find /srv/svc-01942 -type d -empty -mtime +30 -delete | sort -u
display recent container output for svc-01943
docker logs --tail 50 --timestamps svc-01943 | grep -i error | awk '{print $2}'
search the svc-01944 directory tree
find /srv/svc-01944 -maxdepth 2 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
clean up selected files in /srv/svc-01945
find /srv/svc-01945 -type l -name '*.json' -delete | sort
find matching lines for svc-01946
grep -RIn '^#' /etc/svc-01946/config.ini --exclude='*.min.js' | tee -a /tmp/svc-01946.log
list matching paths under /srv/svc-01947
find /srv/svc-01947 -mindepth 1 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
show the diff in /srv/svc-01948
git -C /srv/svc-01948 diff --name-only --cached -- | paste -sd, -
start a disposable docker container for svc-01949
docker run --rm -v /srv/svc-01949/logs:/logs:ro busybox:1.36 df -h | grep -E '^[^#]'
display docker container details for svc-01950
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' | tee /tmp/svc-01950.out
find matching lines for svc-01951
grep -RInE 'secret' /etc/svc-01951 --exclude='*.min.js' | sort -nr
list matching paths under /srv/svc-01952
find /srv/svc-01952 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -delete | sort
query DNS records for svc-01953.example.com
dig +short svc-01953.example.com NS | less
search the svc-01954 directory tree
find /srv/svc-01954 -maxdepth 2 -type f -name '*.json' -mtime +30 -print | tee /tmp/svc-01954.out
inspect systemd unit state for svc-01955
systemctl status svc-01955.timer | sed -n '1,20p'
check path selection for svc-01956.example.com
ip route get svc-01956.example.com mark 1 2>/dev/null
inspect recent changes in /srv/svc-01957
git -C /srv/svc-01957 log --stat -n 20 --since='1 week ago' | awk '{print $1}'
execute a container task for svc-01958
docker run --rm -d -v /srv/svc-01958/logs:/logs:ro alpine:3.20 du -sh /data | cut -d: -f1
display the commit log for /srv/svc-01959
git -C /srv/svc-01959 log --format='%h %ad %s' --date=short -n 10 --decorate | uniq
clean up svc-01960 text files
sed -i.bak '/^$/d' /etc/svc-01960/hosts | paste -sd, -
find matching lines for svc-01961
grep -Rn 'FIXME' /srv/svc-01961 --include='*.py' | cut -d, -f1
list matching paths under /srv/svc-01962
find /srv/svc-01962 -type d -name '*.gz' -size +10M -exec ls -lh {} + | sort -nr
find files under /srv/svc-01963
find /srv/svc-01963 -type l -empty -mtime +30 -delete | head -n 5
search the svc-01964 directory tree
find /srv/svc-01964 -type f -name '*.tmp' -print || true
count matches in svc-01965 data
grep -Rn 'ERROR' /var/log/svc-01965.log --include='*.go' | awk '{print $1}'
read container logs for svc-01966
docker logs --since '1h' svc-01966 | sort -k2
inspect pending changes in /srv/svc-01967
git -C /srv/svc-01967 diff --stat HEAD~2..HEAD -- | uniq -c
test network path to svc-01968.example.com
ping -c 4 -I lo svc-01968.example.com | tee /tmp/svc-01968.out
search the svc-01969 directory tree
find /srv/svc-01969 -maxdepth 2 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
execute a container task for svc-01970
docker run --rm --network host alpine:3.20 sh -c 'cat /etc/os-release' | column -t | tee /tmp/svc-01970.out | head -n 20
check reachability of svc-01971.example.com
ping -c 4 -W 2 svc-01971.example.com | grep -i error
inspect branch and file status for /srv/svc-01972
git -C /srv/svc-01972 status --long --ignored --untracked-files=normal || true
find files under /srv/svc-01973
find /srv/svc-01973 -type l -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-01973.log
search the svc-01974 directory tree
find /srv/svc-01974 -mindepth 1 -type f -name '*.tmp' -mtime +7 -delete | tr -s ' '
clean up selected files in /srv/svc-01975
find /srv/svc-01975 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | tee /tmp/svc-01975.out
locate matching files in /srv/svc-01976
find /srv/svc-01976 -type d -empty -newermt '1 day ago' -print 2>/dev/null
inspect systemd unit state for svc-01977
systemctl reload svc-01977.socket --no-pager | tail -n 20
find files under /srv/svc-01978
find /srv/svc-01978 -mindepth 1 -type f -name '*.log' -mtime +30 -delete | tail -n 50
search the svc-01979 directory tree
find /srv/svc-01979 -type l -empty -mtime +7 -exec gzip {} + | less
clean up selected files in /srv/svc-01980
find /srv/svc-01980 -type l -name '*.json' -mtime +30 -print | sed -n '1,20p'
find matching lines for svc-01981
grep -c 'FIXME' /srv/svc-01981 --exclude-dir=vendor | tail -n 5