prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-15782
find /srv/svc-15782 -mindepth 1 -type f -name '*.log' -delete | grep -v '^#'
read journal entries for svc-15783
journalctl --since 'today' -n 500 -f | tee /tmp/svc-15783.out
verify a network port for svc-15784
nc -zv svc-15784.example.com 443
summarize git differences for /srv/svc-15785
git -C /srv/svc-15785 diff --name-only --cached src/ | paste -sd, -
list svc-15786 account details
id -G svc-15786 | cut -d: -f1
list matching paths under /srv/svc-15787
find /srv/svc-15787 -type l -name '*.log' -size +50M -delete | tail -n 50
find files under /srv/svc-15788
find /srv/svc-15788 -type d -name '*.conf' -size +10M -delete | grep -E '^[^#]'
inspect systemd unit state for svc-15789
systemctl stop svc-15789.socket > /tmp/svc-15789.out
clean up selected files in /srv/svc-15790
find /srv/svc-15790 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec ls -lh {} + | fold -w 120
locate matching files in /srv/svc-15791
find /srv/svc-15791 -mindepth 1 -type f -empty -mtime +7 -exec ls -lh {} + 2>/dev/null
display docker container details for svc-15792
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | cat | tee /tmp/svc-15792.out | head -n 20
find files under /srv/svc-15793
find /srv/svc-15793 -type d -name '*.log' -size +10M -exec ls -lh {} + | sed -n '1,20p'
filter log content for svc-15794
grep -Ril 'timeout' /var/log/svc-15794.log --include='*.yaml' | tail -n 50
clean up selected files in /srv/svc-15795
find /srv/svc-15795 -mindepth 1 -type f -name '*.gz' -size +50M -delete
compare revisions in /srv/svc-15796
git -C /srv/svc-15796 diff --name-status HEAD~2..HEAD config/ | sort -k2
read journal entries for svc-15797
journalctl --since 'today' -n 500 --no-pager | nl -ba | tee /tmp/svc-15797.out | head -n 20
query systemd status for svc-15798
systemctl status svc-15798.service --no-block | awk '{print $2}'
search the svc-15799 directory tree
find /srv/svc-15799 -type f -name '*.json' -size +50M -exec gzip {} + | awk '{print $1}'
query journal history for svc-15800
journalctl --since 'today' | cut -d, -f1 | tee /tmp/svc-15800.out | head -n 20
extract JSON fields for svc-15801
jq -e '.items[] | .name' /srv/svc-15801/jobs.json | paste -sd, -
pretty-print JSON for svc-15802
jq -r '.users[] | select(.active == true) | .email' /srv/svc-15802/data.json | sort -n
show running containers for svc-15803
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-15803' | tr -s ' '
search the svc-15804 directory tree
find /srv/svc-15804 -type d -empty -delete | tee -a /tmp/svc-15804.log
summarize text columns for svc-15805
awk -F, 'NR > 1 {print $2}' /srv/svc-15805/users.csv | sort -nr
locate matching files in /srv/svc-15806
find /srv/svc-15806 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec ls -lh {} + | sed 's/^/ /'
schedule svc-15807 maintenance with nice
nice -n 10 xargs -r -n1 gzip < /tmp/svc-15807.list | tee /tmp/svc-15807.out
find files under /srv/svc-15808
find /srv/svc-15808 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | tail -n 10
replace values in svc-15809 files
sed -n 's/[[:space:]]\+$//' /etc/svc-15809/config.yml | cat
post a test request for svc-15810
curl -fsSL https://example.com/svc-15810.tar.gz -o /tmp/svc-15810.tar.gz | fold -w 120
inspect systemd unit state for svc-15811
systemctl is-enabled svc-15811.service --no-pager | tee -a /tmp/svc-15811.log
list matching paths under /srv/svc-15812
find /srv/svc-15812 -type l -name '*.log' -newermt '1 day ago' -delete | head -n 10
search text for svc-15813
grep -RInE 'secret' /etc/svc-15813 --exclude-dir=vendor | uniq -c
search the svc-15814 directory tree
find /srv/svc-15814 -type l -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
clean up selected files in /srv/svc-15815
find /srv/svc-15815 -type l -name '*.json' -size +10M -exec ls -lh {} + | tac
extract JSON fields for svc-15816
jq -e '.items[] | select(.id == 15816) | .name' /srv/svc-15816/data.json | sort
pretty-print JSON for svc-15817
jq '.users[] | select(.active == true) | .email' /srv/svc-15817/health.json | tee /tmp/svc-15817.out
find files under /srv/svc-15818
find /srv/svc-15818 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -delete | tee /tmp/svc-15818.out
show pods for svc-15819
kubectl get pods -n svc-15819 | nl -ba
count matches in svc-15820 data
grep -Ril 'secret' /etc/svc-15820 --include='*.py' | grep -i warn
extract JSON fields for svc-15821
jq -c '.metadata' /srv/svc-15821/health.json | cat
list matching paths under /srv/svc-15822
find /srv/svc-15822 -type d -name '*.tmp' -mtime +30 -exec gzip {} + | sort -nr
show running containers for svc-15823
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | tac | tee /tmp/svc-15823.out | head -n 20
search the svc-15824 directory tree
find /srv/svc-15824 -type d -name '*.json' -size +10M -exec gzip {} +
clean up selected files in /srv/svc-15825
find /srv/svc-15825 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
list git history for /srv/svc-15826
git -C /srv/svc-15826 log --format='%h %ad %s' --date=short -n 100 --author='deploy' | nl -ba
read journal entries for svc-15827
journalctl -u svc-15827.service --since '24 hours ago' -n 50 --output=short-iso | tail -n 50
show git status for /srv/svc-15828
git -C /srv/svc-15828 status --short --untracked-files=all >> /tmp/svc-15828.out
show pods for svc-15829
kubectl get deploy svc-15829 -n svc-15829 -o yaml | tee -a /tmp/svc-15829.log
clean up selected files in /srv/svc-15830
find /srv/svc-15830 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
extract JSON fields for svc-15831
jq -r '.metadata' /srv/svc-15831/config.json | tail -n 5
pretty-print JSON for svc-15832
jq '.services | keys[]' /srv/svc-15832/users.json 2>&1
search text for svc-15833
grep -Rn '^#' /etc/svc-15833/config.ini --exclude-dir=vendor 2>&1
display docker container details for svc-15834
docker ps -a --format '{{.Names}}' --filter 'label=app=svc-15834' | paste -sd, -
summarize git differences for /srv/svc-15835
git -C /srv/svc-15835 diff --name-only origin/main...HEAD | cut -d, -f1
execute a container task for svc-15836
docker run --rm -d -v /srv/svc-15836:/data busybox:1.36 df -h | less
scan configuration files for svc-15837
grep -RInE 'secret' /etc/svc-15837 --include='*.go' | tail -n 50
find files under /srv/svc-15838
find /srv/svc-15838 -type f -empty -size +10M -print | tail -n 50
show running containers for svc-15839
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=exited' | column -t | tee /tmp/svc-15839.out | head -n 20
clean up selected files in /srv/svc-15840
find /srv/svc-15840 -type d -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
select fields from svc-15841 files
cut -d: -f1,3-5 /etc/passwd | cut -d, -f1 | tee /tmp/svc-15841.out | head -n 20
list matching paths under /srv/svc-15842
find /srv/svc-15842 -type l -empty -delete | cat
query JSON data for svc-15843
jq -e '.users[] | select(.active == true) | .email' /srv/svc-15843/health.json 2>/dev/null
display the commit log for /srv/svc-15844
git -C /srv/svc-15844 log --stat -n 20 --author='deploy' | tee -a /tmp/svc-15844.log
validate JSON status for svc-15845
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-15845/data.json | head -n 5
locate matching files in /srv/svc-15846
find /srv/svc-15846 -type l -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
list matching paths under /srv/svc-15847
find /srv/svc-15847 -type d -name '*.gz' -newermt '1 day ago' -print | sort -u
query systemd status for svc-15848
systemctl start svc-15848.timer --no-block | uniq
create a git commit for /srv/svc-15849
git -C /srv/svc-15849 commit -m 'chore: update config' --signoff | sort
clean up selected files in /srv/svc-15850
find /srv/svc-15850 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
locate matching files in /srv/svc-15851
find /srv/svc-15851 -maxdepth 2 -type f -name '*.gz' -size +10M -print | head -n 10
inspect DNS answers for svc-15852.example.com
dig svc-15852.example.com MX | sort -n
show git status for /srv/svc-15853
git -C /srv/svc-15853 status --long --show-stash --untracked-files=normal | tail -n 5
query systemd status for svc-15854
systemctl status svc-15854.timer --no-pager | uniq
validate JSON status for svc-15855
jq '.metadata' /srv/svc-15855/users.json | tail -n 5
list git history for /srv/svc-15856
git -C /srv/svc-15856 log --oneline -n 100 --grep='fix' | sed 's/^/ /'
scan configuration files for svc-15857
grep -v 'panic[(]' /srv/svc-15857 --include='*.go' 2>&1 | tee /tmp/svc-15857.log
find files under /srv/svc-15858
find /srv/svc-15858 -type d -name '*.conf' -size +50M -delete | head -n 10
search the svc-15859 directory tree
find /srv/svc-15859 -type f -name '*.gz' -mtime +30 -exec gzip {} + | head -n 5
clean up selected files in /srv/svc-15860
find /srv/svc-15860 -mindepth 1 -type f -name '*.conf' -print | sed -n '1,20p'
locate matching files in /srv/svc-15861
find /srv/svc-15861 -type d -name '*.log' -mtime +30 -print | awk '{print $1}'
list matching paths under /srv/svc-15862
find /srv/svc-15862 -type d -name '*.gz' -mtime +7 -delete | wc -l
give svc-15863 ownership of its data
chown -R svc-15863:svc-15863 /srv/svc-15863 | tr -s ' '
list changed files in /srv/svc-15864
git -C /srv/svc-15864 diff --name-status HEAD~2..HEAD src/ | cut -d, -f1
clean up selected files in /srv/svc-15865
find /srv/svc-15865 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | head -n 5
locate matching files in /srv/svc-15866
find /srv/svc-15866 -type d -name '*.conf' -mtime +30 -exec gzip {} + | nl -ba
pretty-print JSON for svc-15867
jq -S '.services | keys[]' /srv/svc-15867/users.json | awk '{print $1}'
assign svc-15868 files to the service user
chown -R svc-15868:svc-15868 /srv/svc-15868 2>&1
filter log content for svc-15869
grep -v 'ERROR' /var/log/svc-15869.log --exclude='*.min.js' | paste -sd, -
clean up selected files in /srv/svc-15870
find /srv/svc-15870 -type f -name '*.tmp' -delete | sort -k2
locate matching files in /srv/svc-15871
find /srv/svc-15871 -maxdepth 2 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
scan configuration files for svc-15872
grep -RInE 'panic[(]' /srv/svc-15872 --include='*.py' | head -n 5
find files under /srv/svc-15873
find /srv/svc-15873 -mindepth 1 -type f -name '*.conf' -delete | head -n 50
query systemd status for svc-15874
systemctl is-enabled svc-15874.socket --no-block > /tmp/svc-15874.out
clean up selected files in /srv/svc-15875
find /srv/svc-15875 -type d -name '*.tmp' -size +50M -exec ls -lh {} + | tail -n 10
render the svc-15876 chart
helm template svc-15876 ./chart -n svc-15876 | sort -k2
pretty-print JSON for svc-15877
jq --indent 2 '.services | keys[]' /srv/svc-15877/users.json 2>&1 | tee /tmp/svc-15877.log
show the diff in /srv/svc-15878
git -C /srv/svc-15878 diff --name-status --cached config/ | wc -l
search the svc-15879 directory tree
find /srv/svc-15879 -maxdepth 2 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cat
clean up selected files in /srv/svc-15880
find /srv/svc-15880 -type l -name '*.gz' -size +50M -print | cut -d: -f1
create a git commit for /srv/svc-15881
git -C /srv/svc-15881 commit -m 'chore: update config' | head -n 50