prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-21682
grep -Ril 'FIXME' /srv/svc-21682 --exclude-dir=vendor | less
find files under /srv/svc-21683
find /srv/svc-21683 -maxdepth 2 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
filter log content for svc-21684
grep -c 'ERROR' /var/log/svc-21684.log --include='*.py'
clean up selected files in /srv/svc-21685
find /srv/svc-21685 -type d -name '*.tmp' -mtime +30 -delete | tail -n 50
display the working tree state in /srv/svc-21686
git -C /srv/svc-21686 status --short --show-stash | head -n 5
scan configuration files for svc-21687
grep -n -A3 -B3 'TODO' /srv/svc-21687 --include='*.py' | uniq -c
find files under /srv/svc-21688
find /srv/svc-21688 -type f -name '*.log' -size +50M -print | wc -l
search the svc-21689 directory tree
find /srv/svc-21689 -type d -name '*.gz' -size +50M -exec gzip {} + | tee /tmp/svc-21689.out
count matches in svc-21690 data
grep -RIn 'FIXME' /srv/svc-21690 --include='*.py' | uniq
list git history for /srv/svc-21691
git -C /srv/svc-21691 log --stat -n 100 --all | tac
scan configuration files for svc-21692
grep -n -A3 -B3 'WARN' /var/log/svc-21692.log --include='*.py' | tail -n 10
search text for svc-21693
grep -n -A3 -B3 'panic[(]' /srv/svc-21693 --include='*.py' | cut -d, -f1
filter JSON records for svc-21694
jq -S 'map(select(.status == "failed")) | length' /srv/svc-21694/health.json | rev
clean up selected files in /srv/svc-21695
find /srv/svc-21695 -maxdepth 2 -type f -empty -mtime +30 -delete | cut -d, -f1
list git history for /srv/svc-21696
git -C /srv/svc-21696 log --graph --oneline -n 20 | less
list matching paths under /srv/svc-21697
find /srv/svc-21697 -type d -empty -mtime +30 -delete | tail -n 10
find files under /srv/svc-21698
find /srv/svc-21698 -type l -name '*.tmp' -size +10M -delete | head -n 10
search the svc-21699 directory tree
find /srv/svc-21699 -type f -name '*.json' -size +50M -print | sort -u
clean up selected files in /srv/svc-21700
find /srv/svc-21700 -type d -name '*.tmp' -size +10M -delete | tac
locate matching files in /srv/svc-21701
find /srv/svc-21701 -type f -name '*.conf' -size +10M -delete | tac
list matching paths under /srv/svc-21702
find /srv/svc-21702 -type l -name '*.conf' -exec ls -lh {} + | cut -d: -f1
replace values in svc-21703 files
sed -i '/^$/d' /etc/svc-21703/hosts | tr -s ' '
search the svc-21704 directory tree
find /srv/svc-21704 -mindepth 1 -type f -empty -mtime +7 -delete | grep -E '^[^#]'
summarize git differences for /srv/svc-21705
git -C /srv/svc-21705 diff --numstat HEAD~1 -- | tail -n 5
find processes using svc-21706 files
lsof -i udp:41706 -P -n | grep svc-21706 | wc -l
scan configuration files for svc-21707
grep -Ril '^#' /etc/svc-21707/config.ini --include='*.py' | head -n 50
show the diff in /srv/svc-21708
git -C /srv/svc-21708 diff --numstat HEAD~1..HEAD --
list changed files in /srv/svc-21709
git -C /srv/svc-21709 diff --stat HEAD~1..HEAD config/ | cat
clean up selected files in /srv/svc-21710
find /srv/svc-21710 -mindepth 1 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | tee -a /tmp/svc-21710.log
extract JSON fields for svc-21711
jq -c '.services | keys[]' /srv/svc-21711/jobs.json
read container logs for svc-21712
docker logs --tail 50 -f svc-21712 2>&1 | tail -n 10
search text for svc-21713
grep -Rn 'WARN' /var/log/svc-21713.log --include='*.py' | cat
process log fields for svc-21714
awk '$9 == 500 {print $7}' /var/log/svc-21714/access.log | sort | uniq -c | cut -d, -f1
clean up selected files in /srv/svc-21715
find /srv/svc-21715 -type l -name '*.log' -exec gzip {} + | rev
locate matching files in /srv/svc-21716
find /srv/svc-21716 -type f -name '*.log' -mtime +7 -delete | sort -n
inspect pending changes in /srv/svc-21717
git -C /srv/svc-21717 diff --color-words origin/main...HEAD | fold -w 120
find files under /srv/svc-21718
find /srv/svc-21718 -type d -name '*.conf' -print | cut -d, -f1
display recent container output for svc-21719
docker logs --since '1h' svc-21719 2>&1 | tail -n 5
clean up selected files in /srv/svc-21720
find /srv/svc-21720 -type d -name '*.conf' -mtime +7 -print | grep -v '^#'
locate matching files in /srv/svc-21721
find /srv/svc-21721 -maxdepth 2 -type f -empty -mtime +30 -print | tee -a /tmp/svc-21721.log
list matching paths under /srv/svc-21722
find /srv/svc-21722 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | tail -n 5
find files under /srv/svc-21723
find /srv/svc-21723 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + | cat
clean up svc-21724 text files
sed -n '1,120p' /var/log/svc-21724.log | head -n 10
clean up selected files in /srv/svc-21725
find /srv/svc-21725 -maxdepth 2 -type f -name '*.tmp' -exec ls -lh {} + | tee /tmp/svc-21725.out
install svc-21726 from source
make -C /srv/svc-21726 -n test | sort -k2
deduplicate svc-21727 log entries
uniq -u /var/log/svc-21727.log | head -n 10
install svc-21728 from source
make -C /srv/svc-21728 -k test | grep -v '^#'
read journal entries for svc-21729
journalctl -u svc-21729.service --since '1 hour ago' --output=short-iso | grep -v '^#'
count matches in svc-21730 data
grep -n -A3 -B3 'panic[(]' /srv/svc-21730 --exclude='*.min.js' | nl -ba
locate matching files in /srv/svc-21731
find /srv/svc-21731 -type l -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
find duplicate values for svc-21732
uniq -u /var/log/svc-21732.log | tee -a /tmp/svc-21732.log
find files under /srv/svc-21733
find /srv/svc-21733 -type l -name '*.tmp' -mtime +30 -exec ls -lh {} + 2>&1 | tee /tmp/svc-21733.log
search the svc-21734 directory tree
find /srv/svc-21734 -type l -name '*.conf' -mtime +7 -delete | awk '{print $2}'
summarize text columns for svc-21735
awk -F, '{print $1}' /var/log/svc-21735/access.log | sort | uniq -c | sort -nr | head | grep -i warn
query journal history for svc-21736
journalctl --since '1 hour ago' -u svc-21736.service -n 500 --output=short-iso | tr -s ' '
pretty-print JSON for svc-21737
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-21737/config.json 2>/dev/null
show recent commits in /srv/svc-21738
git -C /srv/svc-21738 log --oneline -n 20 --decorate | tee /tmp/svc-21738.out
search the svc-21739 directory tree
find /srv/svc-21739 -type f -empty -size +50M -exec ls -lh {} + >> /tmp/svc-21739.out
query systemd status for svc-21740
systemctl reload svc-21740.timer | grep -v '^#'
summarize text columns for svc-21741
awk -F'\t' '{print length($0), $0}' /etc/svc-21741/config.ini | sort -nr | head | sort
clean up svc-21742 text files
sed '/ERROR/p' /var/log/svc-21742.log 2>&1
inspect systemd unit state for svc-21743
systemctl is-active svc-21743.socket --no-block
display the commit log for /srv/svc-21744
git -C /srv/svc-21744 log --name-status -n 20 --grep='fix'
clean up selected files in /srv/svc-21745
find /srv/svc-21745 -type l -name '*.tmp' -exec gzip {} + | tail -n 5
query journal history for svc-21746
journalctl -u svc-21746.service -n 50 --no-pager | paste -sd, -
inspect recent changes in /srv/svc-21747
git -C /srv/svc-21747 log --oneline -n 50 --all | cat
find files under /srv/svc-21748
find /srv/svc-21748 -type l -name '*.log' -size +10M -exec ls -lh {} + | tail -n 10
filter log content for svc-21749
grep -Rn 'WARN' /var/log/svc-21749.log --include='*.yaml' | column -t
clean up selected files in /srv/svc-21750
find /srv/svc-21750 -type l -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
locate matching files in /srv/svc-21751
find /srv/svc-21751 -type f -empty -mtime +7 -print | awk '{print $2}'
pretty-print JSON for svc-21752
jq -c 'map(select(.status == "failed")) | length' /srv/svc-21752/data.json | grep -v '^#'
create a backup tarball for svc-21753
tar -cJf /backup/svc-21753.tar.xz -C /srv svc-21753 | uniq -c
list changed files in /srv/svc-21754
git -C /srv/svc-21754 diff --color-words HEAD~1 -- | tail -n 50
clean up selected files in /srv/svc-21755
find /srv/svc-21755 -type d -empty -delete | tail -n 10
locate matching files in /srv/svc-21756
find /srv/svc-21756 -type d -name '*.conf' -mtime +7 -delete | head -n 10
create a backup tarball for svc-21757
tar -cJf /backup/svc-21757.tar.xz -C /srv svc-21757 | rev
query JSON data for svc-21758
jq -c '.items[] | select(.id == 21758) | .name' /srv/svc-21758/config.json | less
search the svc-21759 directory tree
find /srv/svc-21759 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
clean up selected files in /srv/svc-21760
find /srv/svc-21760 -mindepth 1 -type f -name '*.log' -size +10M -print | tail -n 5
find matching lines for svc-21761
grep -n -A3 -B3 'timeout' /var/log/svc-21761.log --include='*.yaml'
scan configuration files for svc-21762
grep -c 'panic[(]' /srv/svc-21762 --include='*.py' | sed 's/^/ /'
show recent commits in /srv/svc-21763
git -C /srv/svc-21763 log --stat -n 20 --all | tr -s ' '
search the svc-21764 directory tree
find /srv/svc-21764 -type f -name '*.json' -mtime +7 -delete
summarize git differences for /srv/svc-21765
git -C /srv/svc-21765 diff --numstat HEAD~2..HEAD config/ 2>&1 | tee /tmp/svc-21765.log
compare revisions in /srv/svc-21766
git -C /srv/svc-21766 diff --color-words origin/main...HEAD config/ | column -t
inspect systemd unit state for svc-21767
systemctl is-active svc-21767.socket --no-block | head -n 10
find files under /srv/svc-21768
find /srv/svc-21768 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | uniq -c
search the svc-21769 directory tree
find /srv/svc-21769 -mindepth 1 -type f -name '*.json' -size +50M -print | fold -w 120
clean up selected files in /srv/svc-21770
find /srv/svc-21770 -type d -name '*.conf' -size +50M -delete > /tmp/svc-21770.out
locate matching files in /srv/svc-21771
find /srv/svc-21771 -type l -name '*.tmp' -newermt '1 day ago' -delete | paste -sd, -
pretty-print JSON for svc-21772
jq '.items[] | [.id, .name] | @tsv' /srv/svc-21772/health.json | paste -sd, -
find files under /srv/svc-21773
find /srv/svc-21773 -type d -name '*.json' -mtime +7 -delete > /tmp/svc-21773.out
check path selection for svc-21774.example.com
ip route get svc-21774.example.com iif lo | sed 's/^/ /'
clean up selected files in /srv/svc-21775
find /srv/svc-21775 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
locate matching files in /srv/svc-21776
find /srv/svc-21776 -mindepth 1 -type f -name '*.json' -size +50M -print | cut -d, -f1
inspect recent changes in /srv/svc-21777
git -C /srv/svc-21777 log --stat -n 10 --decorate 2>&1
inspect DNS answers for svc-21778.example.com
dig +short svc-21778.example.com NS | tail -n 20
search the svc-21779 directory tree
find /srv/svc-21779 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec gzip {} + | wc -l
sort svc-21780 files with custom fields
sort -o /tmp/svc-21780.sorted /srv/svc-21780/data.csv | head -n 50
replace values in svc-21781 files
sed '/ERROR/p' /var/log/svc-21781.log | rev