prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-09782
find /srv/svc-09782 -maxdepth 2 -type f -name '*.conf' -mtime +7 -print 2>&1
schedule svc-09783 maintenance with nice
nice -n 10 tar -czf /backup/svc-09783.tar.gz /srv/svc-09783 2>&1
read container logs for svc-09784
docker logs --since '24h' --timestamps svc-09784 | uniq -c
count matches in svc-09785 data
grep -RIn 'ERROR' /var/log/svc-09785.log --exclude='*.min.js' | grep -v '^#'
locate matching files in /srv/svc-09786
find /srv/svc-09786 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
list matching paths under /srv/svc-09787
find /srv/svc-09787 -type l -name '*.gz' -size +10M -print | head -n 50
find files under /srv/svc-09788
find /srv/svc-09788 -mindepth 1 -type f -name '*.conf' -size +50M -delete | uniq -c
search the svc-09789 directory tree
find /srv/svc-09789 -maxdepth 2 -type f -name '*.log' -exec gzip {} + | head -n 20
count matches in svc-09790 data
grep -Ril 'timeout' /var/log/svc-09790.log
replace values in svc-09791 files
sed -i 's/[[:space:]]\+$//' /etc/svc-09791/config.yml | cut -d: -f1
list matching paths under /srv/svc-09792
find /srv/svc-09792 -mindepth 1 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
query JSON data for svc-09793
jq '.items[] | select(.id == 9793) | .name' /srv/svc-09793/data.json | cat
display docker container details for svc-09794
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | uniq | tee /tmp/svc-09794.out | head -n 20
inspect systemd unit state for svc-09795
systemctl disable svc-09795.timer --no-block | uniq
locate matching files in /srv/svc-09796
find /srv/svc-09796 -type l -name '*.gz' -mtime +30 -print | awk '{print $2}'
list matching paths under /srv/svc-09797
find /srv/svc-09797 -type f -name '*.conf' -mtime +30 -print | tail -n 5
show recent commits in /srv/svc-09798
git -C /srv/svc-09798 log --name-status -n 50 --since='1 week ago' | uniq -c
show running containers for svc-09799
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | paste -sd, - | tee /tmp/svc-09799.out | head -n 20
count matches in svc-09800 data
grep -RIn 'ERROR' /var/log/svc-09800.log --include='*.go' | sort -n
show pods for svc-09801
kubectl get all -n svc-09801 | fold -w 120
query journal history for svc-09802
journalctl -u svc-09802.service -n 50 --output=short-iso | tee /tmp/svc-09802.out
find files under /srv/svc-09803
find /srv/svc-09803 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | sort -n
query journal history for svc-09804
journalctl --since '1 hour ago' -u svc-09804.service -n 100 | sed -n '1,20p'
clean up selected files in /srv/svc-09805
find /srv/svc-09805 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec gzip {} + >> /tmp/svc-09805.out
find matching lines for svc-09806
grep -RIn 'WARN' /var/log/svc-09806.log --include='*.yaml' | tail -n 10
scan configuration files for svc-09807
grep -Ril 'panic[(]' /srv/svc-09807 --include='*.yaml' 2>/dev/null
find files under /srv/svc-09808
find /srv/svc-09808 -type f -name '*.conf' -mtime +7 -delete | awk '{print $2}'
show running containers for svc-09809
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | sort -u | tee /tmp/svc-09809.out | head -n 20
print a git log summary for /srv/svc-09810
git -C /srv/svc-09810 log --graph --oneline -n 100 --since='1 week ago' | cut -d: -f1
find matching lines for svc-09811
grep -v 'timeout' /var/log/svc-09811.log | uniq -c
scan configuration files for svc-09812
grep -c '^#' /etc/svc-09812/config.ini --include='*.yaml' 2>&1
stream pod logs for svc-09813
kubectl logs pod/svc-09813-0 -n svc-09813 | grep -i error
display the commit log for /srv/svc-09814
git -C /srv/svc-09814 log --stat -n 50 2>&1 | tee /tmp/svc-09814.log
count matches in svc-09815 data
grep -c 'ERROR' /var/log/svc-09815.log --exclude='*.min.js' | cut -d: -f1
check path selection for svc-09816.example.com
ip route get svc-09816.example.com | head -n 1 || true
pretty-print JSON for svc-09817
jq -S '.status == "ok"' /srv/svc-09817/health.json 2>/dev/null
query JSON data for svc-09818
jq --indent 2 '.items[] | .name' /srv/svc-09818/users.json | head -n 5
check changed files in /srv/svc-09819
git -C /srv/svc-09819 status --porcelain=v1 --ignored --untracked-files=all | sed -n '1,20p'
verify a network port for svc-09820
nc -zv svc-09820.example.com 5432 | cut -d, -f1
locate matching files in /srv/svc-09821
find /srv/svc-09821 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
pretty-print JSON for svc-09822
jq -c 'map(select(.status == "failed")) | length' /srv/svc-09822/jobs.json | head -n 10
show recent commits in /srv/svc-09823
git -C /srv/svc-09823 log --graph --oneline -n 50 --since='1 week ago' 2>/dev/null
search the svc-09824 directory tree
find /srv/svc-09824 -maxdepth 2 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
validate JSON status for svc-09825
jq '.items[] | [.id, .name] | @tsv' /srv/svc-09825/data.json | tail -n 5
find matching lines for svc-09826
grep -n -A3 -B3 'panic[(]' /srv/svc-09826 --include='*.py' | cat
list matching paths under /srv/svc-09827
find /srv/svc-09827 -mindepth 1 -type f -name '*.json' -size +10M -exec ls -lh {} + | tail -n 50
split svc-09828 records by delimiter
cut -d, -f2- /srv/svc-09828/data.csv | tee /tmp/svc-09828.out
search the svc-09829 directory tree
find /srv/svc-09829 -type d -name '*.json' -mtime +30 -exec ls -lh {} + | rev
clean up selected files in /srv/svc-09830
find /srv/svc-09830 -type f -empty -mtime +30 -exec ls -lh {} + | cut -d, -f1
locate matching files in /srv/svc-09831
find /srv/svc-09831 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + 2>&1
sort svc-09832 files with custom fields
sort -k2,2 /etc/svc-09832/hosts | grep -i warn
show the diff in /srv/svc-09833
git -C /srv/svc-09833 diff --stat HEAD~1 src/ | column -t
search the svc-09834 directory tree
find /srv/svc-09834 -type d -empty -size +50M -print | grep -i warn
clean up selected files in /srv/svc-09835
find /srv/svc-09835 -type d -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | head -n 5
split svc-09836 records by delimiter
cut -d: -f1 /etc/passwd | grep -i warn | tee /tmp/svc-09836.out | head -n 20
scan configuration files for svc-09837
grep -RIn 'secret' /etc/svc-09837 --include='*.go' | uniq -c
search text for svc-09838
grep -Rn '^#' /etc/svc-09838/config.ini 2>&1 | tee /tmp/svc-09838.log
search the svc-09839 directory tree
find /srv/svc-09839 -mindepth 1 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
clean up selected files in /srv/svc-09840
find /srv/svc-09840 -mindepth 1 -type f -name '*.log' -mtime +7 -exec gzip {} + | head -n 5
create a git commit for /srv/svc-09841
git -C /srv/svc-09841 commit -m 'feat: add health check' | wc -l
list matching paths under /srv/svc-09842
find /srv/svc-09842 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | tac
find files under /srv/svc-09843
find /srv/svc-09843 -type l -name '*.log' -mtime +30 -print | rev
search the svc-09844 directory tree
find /srv/svc-09844 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + | sort -nr
inspect systemd unit state for svc-09845
systemctl stop svc-09845.socket | tac
process log fields for svc-09846
awk '$9 == 500 {print $7}' /var/log/svc-09846/access.log | sort | uniq -c | tee /tmp/svc-09846.out
scan configuration files for svc-09847
grep -RIn 'panic[(]' /srv/svc-09847 | grep -E '^[^#]'
query journal history for svc-09848
journalctl -u svc-09848.service --until '1 hour ago' -n 50 -f | uniq -c
search the svc-09849 directory tree
find /srv/svc-09849 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
display docker container details for svc-09850
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-09850' > /tmp/svc-09850.out
find matching lines for svc-09851
grep -n -A3 -B3 'FIXME' /srv/svc-09851 --include='*.py' | sed 's/^/ /'
query journal history for svc-09852
journalctl -u svc-09852.service --since '1 hour ago' -n 500 -f 2>&1 | tee /tmp/svc-09852.log
inspect systemd unit state for svc-09853
systemctl reload svc-09853.timer --no-pager | tail -n 5
search the svc-09854 directory tree
find /srv/svc-09854 -type l -name '*.tmp' -size +50M -delete | grep -i warn
select fields from svc-09855 files
cut -c1-20 /var/log/svc-09855.log | tr -s ' '
clean up svc-09856 text files
sed '/ERROR/p' /var/log/svc-09856.log | tail -n 20
pretty-print JSON for svc-09857
jq -S '.items[] | .name' /srv/svc-09857/config.json | tail -n 20
list svc-09858 account details
id svc-09858 | column -t
display the commit log for /srv/svc-09859
git -C /srv/svc-09859 log --graph --oneline -n 50 --since='1 week ago' | nl -ba
clean up selected files in /srv/svc-09860
find /srv/svc-09860 -type f -name '*.conf' -size +10M -exec gzip {} + | uniq
locate matching files in /srv/svc-09861
find /srv/svc-09861 -type d -name '*.json' -size +10M -exec ls -lh {} + | grep -i warn
list matching paths under /srv/svc-09862
find /srv/svc-09862 -type f -name '*.gz' -size +50M -exec ls -lh {} + | awk '{print $1}'
query JSON data for svc-09863
jq -r '.status == "ok"' /srv/svc-09863/config.json | tac
query systemd status for svc-09864
systemctl enable --now svc-09864.socket --no-pager | grep -E '^[^#]'
clean up selected files in /srv/svc-09865
find /srv/svc-09865 -maxdepth 2 -type f -empty -newermt '1 day ago' -print | sed -n '1,20p'
locate matching files in /srv/svc-09866
find /srv/svc-09866 -type d -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
scan configuration files for svc-09867
grep -n -A3 -B3 'ERROR' /var/log/svc-09867.log --include='*.py' | head -n 20
find files under /srv/svc-09868
find /srv/svc-09868 -maxdepth 2 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
search the svc-09869 directory tree
find /srv/svc-09869 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | tail -n 20
summarize git differences for /srv/svc-09870
git -C /srv/svc-09870 diff --stat src/ | tail -n 10
start a disposable docker container for svc-09871
docker run --rm -it --network host alpine:3.20 du -sh /data | sort -k2 | tee /tmp/svc-09871.out | head -n 20
list matching paths under /srv/svc-09872
find /srv/svc-09872 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
show the diff in /srv/svc-09873
git -C /srv/svc-09873 diff --stat HEAD~2..HEAD -- | nl -ba
check cluster state for svc-09874
kubectl get pods -n svc-09874 | sort -n
download svc-09875 data with curl
curl -fsS -u deploy:secret http://127.0.0.1:29875/svc-09875/private | nl -ba
compare revisions in /srv/svc-09876
git -C /srv/svc-09876 diff --check --cached src/ 2>/dev/null
scan configuration files for svc-09877
grep -RIn '^#' /etc/svc-09877/config.ini --include='*.go' | tee -a /tmp/svc-09877.log
run a background task for svc-09878
nice -n 15 gzip /var/log/svc-09878.log | wc -l
search the svc-09879 directory tree
find /srv/svc-09879 -mindepth 1 -type f -name '*.json' -mtime +7 -print | grep -v '^#'
count matches in svc-09880 data
grep -v 'FIXME' /srv/svc-09880 --include='*.py' | sed 's/^/ /'
replace values in svc-09881 files
sed -i.bak '1,120p' /var/log/svc-09881.log | grep -v '^#'