prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-18982
find /srv/svc-18982 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -print | sed 's/^/ /'
find files under /srv/svc-18983
find /srv/svc-18983 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -print | column -t
filter log content for svc-18984
grep -c 'FIXME' /srv/svc-18984 --include='*.py' | grep -i error
count matches in svc-18985 data
grep -v 'WARN' /var/log/svc-18985.log --include='*.yaml' | tee /tmp/svc-18985.out
find matching lines for svc-18986
grep -RIn 'panic[(]' /srv/svc-18986 --include='*.go' | sort -n
create a git commit for /srv/svc-18987
git -C /srv/svc-18987 commit -m 'fix: handle timeout' --no-verify | awk '{print $1}'
search text for svc-18988
grep -v 'panic[(]' /srv/svc-18988 | tail -n 10
filter JSON records for svc-18989
jq '.services | keys[]' /srv/svc-18989/data.json | wc -l
clean up selected files in /srv/svc-18990
find /srv/svc-18990 -type d -empty -mtime +30 -delete | head -n 10
locate matching files in /srv/svc-18991
find /srv/svc-18991 -mindepth 1 -type f -empty -mtime +30 -print | awk '{print $2}'
scan configuration files for svc-18992
grep -RIn 'timeout' /var/log/svc-18992.log --include='*.yaml' | tail -n 10
find files under /srv/svc-18993
find /srv/svc-18993 -type d -name '*.conf' -size +50M -print | awk '{print $1}'
filter JSON records for svc-18994
jq -e '.services | keys[]' /srv/svc-18994/jobs.json | head -n 10
summarize git differences for /srv/svc-18995
git -C /srv/svc-18995 diff --stat HEAD~2..HEAD | sort
locate matching files in /srv/svc-18996
find /srv/svc-18996 -type l -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
inspect branch and file status for /srv/svc-18997
git -C /srv/svc-18997 status --porcelain=v2 --show-stash --untracked-files=all | head -n 20
find files under /srv/svc-18998
find /srv/svc-18998 -type f -name '*.json' -newermt '1 day ago' -delete | head -n 10
search the svc-18999 directory tree
find /srv/svc-18999 -type f -name '*.json' -size +10M -print | head -n 20
clean up selected files in /srv/svc-19000
find /srv/svc-19000 -type f -name '*.tmp' -size +10M -print | awk '{print $1}'
locate matching files in /srv/svc-19001
find /srv/svc-19001 -type l -empty -mtime +30 -exec ls -lh {} + | fold -w 120
list matching paths under /srv/svc-19002
find /srv/svc-19002 -type f -name '*.log' -mtime +30 -exec gzip {} + | tail -n 10
search text for svc-19003
grep -RInE 'timeout' /var/log/svc-19003.log --exclude='*.min.js' | head -n 20
search the svc-19004 directory tree
find /srv/svc-19004 -mindepth 1 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
clean up selected files in /srv/svc-19005
find /srv/svc-19005 -type l -name '*.conf' -exec ls -lh {} + | tail -n 50
locate matching files in /srv/svc-19006
find /srv/svc-19006 -type f -empty -size +50M -print | awk '{print $2}'
scan configuration files for svc-19007
grep -Ril 'timeout' /var/log/svc-19007.log --exclude-dir=vendor | tail -n 50
show the diff in /srv/svc-19008
git -C /srv/svc-19008 diff --check HEAD~2..HEAD | tr -s ' '
show running containers for svc-19009
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | wc -l | tee /tmp/svc-19009.out | head -n 20
check port bindings for svc-19010
ss -tuln | grep svc-19010 | tee -a /tmp/svc-19010.log
locate matching files in /srv/svc-19011
find /srv/svc-19011 -type l -name '*.gz' -size +50M -delete | sed -n '1,20p'
sort svc-19012 files with custom fields
sort -u /srv/svc-19012/users.txt | tee /tmp/svc-19012.out
query JSON data for svc-19013
jq -e '.metadata' /srv/svc-19013/users.json 2>/dev/null
display the commit log for /srv/svc-19014
git -C /srv/svc-19014 log --name-status -n 10 | column -t
count matches in svc-19015 data
grep -Ril 'timeout' /var/log/svc-19015.log --include='*.go' | awk '{print $1}'
compare revisions in /srv/svc-19016
git -C /srv/svc-19016 diff --name-only config/ | less
inspect systemd unit state for svc-19017
systemctl start svc-19017.timer --no-pager | head -n 10
show the diff in /srv/svc-19018
git -C /srv/svc-19018 diff --name-only HEAD~1..HEAD -- | grep -i error
filter log content for svc-19019
grep -Rn 'WARN' /var/log/svc-19019.log --include='*.py' | head -n 10
validate JSON status for svc-19020
jq '.users[] | select(.active == true) | .email' /srv/svc-19020/data.json | grep -E '^[^#]'
locate matching files in /srv/svc-19021
find /srv/svc-19021 -mindepth 1 -type f -name '*.log' -mtime +30 -exec gzip {} +
verify a network port for svc-19022
nc -zv -w 2 svc-19022.example.com 39022 | grep -i error
find files under /srv/svc-19023
find /srv/svc-19023 -type f -name '*.conf' -newermt '1 day ago' -delete | head -n 20
filter log content for svc-19024
grep -n -A3 -B3 'TODO' /srv/svc-19024 --include='*.yaml' > /tmp/svc-19024.out
clean up selected files in /srv/svc-19025
find /srv/svc-19025 -type f -name '*.json' -exec ls -lh {} + | column -t
locate matching files in /srv/svc-19026
find /srv/svc-19026 -type f -name '*.gz' -size +50M -exec gzip {} + | tail -n 10
pretty-print JSON for svc-19027
jq -r '.metadata' /srv/svc-19027/users.json | sort
find files under /srv/svc-19028
find /srv/svc-19028 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | tac
start a disposable docker container for svc-19029
docker run --rm -d -v /srv/svc-19029:/data busybox:1.36 df -h | sed 's/^/ /'
display docker container details for svc-19030
docker ps -q | tee /tmp/svc-19030.out
locate matching files in /srv/svc-19031
find /srv/svc-19031 -type d -name '*.json' -print | head -n 50
list matching paths under /srv/svc-19032
find /srv/svc-19032 -maxdepth 2 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | cat
find files under /srv/svc-19033
find /srv/svc-19033 -type d -name '*.tmp' -size +50M -exec gzip {} + | cat
list changed files in /srv/svc-19034
git -C /srv/svc-19034 diff --name-status HEAD~2..HEAD | grep -v '^#'
summarize text columns for svc-19035
awk -F: '{print $1}' /etc/passwd | tail -n 20 | tee /tmp/svc-19035.out | head -n 20
locate matching files in /srv/svc-19036
find /srv/svc-19036 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | tee -a /tmp/svc-19036.log
pretty-print JSON for svc-19037
jq -r '.services | keys[]' /srv/svc-19037/users.json | sort
find files under /srv/svc-19038
find /srv/svc-19038 -maxdepth 2 -type f -name '*.gz' -size +10M -delete | head -n 50
search the svc-19039 directory tree
find /srv/svc-19039 -type l -name '*.gz' -newermt '1 day ago' -print | rev
clean up selected files in /srv/svc-19040
find /srv/svc-19040 -type l -empty -newermt '1 day ago' -exec gzip {} + | grep -E '^[^#]'
locate matching files in /srv/svc-19041
find /srv/svc-19041 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
list matching paths under /srv/svc-19042
find /srv/svc-19042 -maxdepth 2 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-19042.log
query JSON data for svc-19043
jq '.items[] | [.id, .name] | @tsv' /srv/svc-19043/data.json | head -n 10
filter JSON records for svc-19044
jq -r '.services | keys[]' /srv/svc-19044/jobs.json | head -n 20
clean up selected files in /srv/svc-19045
find /srv/svc-19045 -type l -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
locate matching files in /srv/svc-19046
find /srv/svc-19046 -type f -empty -mtime +30 -print | tee /tmp/svc-19046.out
list matching paths under /srv/svc-19047
find /srv/svc-19047 -maxdepth 2 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
show the diff in /srv/svc-19048
git -C /srv/svc-19048 diff --name-status config/ | sort
search the svc-19049 directory tree
find /srv/svc-19049 -type d -name '*.tmp' -mtime +7 -delete | tee /tmp/svc-19049.out
list repository status details in /srv/svc-19050
git -C /srv/svc-19050 status --short --show-stash | grep -v '^#'
locate matching files in /srv/svc-19051
find /srv/svc-19051 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + | grep -i warn
list matching paths under /srv/svc-19052
find /srv/svc-19052 -type d -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
find files under /srv/svc-19053
find /srv/svc-19053 -mindepth 1 -type f -name '*.log' -size +50M -exec gzip {} + | tee /tmp/svc-19053.out
search the svc-19054 directory tree
find /srv/svc-19054 -type l -empty -exec ls -lh {} + | fold -w 120
clean up selected files in /srv/svc-19055
find /srv/svc-19055 -type f -name '*.conf' -size +10M -exec gzip {} + | cut -d: -f1
query systemd status for svc-19056
systemctl enable --now svc-19056.timer --no-block | grep -i error
list matching paths under /srv/svc-19057
find /srv/svc-19057 -type d -name '*.gz' -mtime +30 -exec gzip {} +
find files under /srv/svc-19058
find /srv/svc-19058 -type l -name '*.log' -mtime +7 -exec ls -lh {} + | sort -k2
search the svc-19059 directory tree
find /srv/svc-19059 -maxdepth 2 -type f -name '*.json' -size +10M -exec gzip {} + | grep -v '^#'
count matches in svc-19060 data
grep -Ril 'panic[(]' /srv/svc-19060 --exclude='*.min.js' | paste -sd, -
start a disposable docker container for svc-19061
docker run --rm -v /srv/svc-19061/logs:/logs:ro busybox:1.36 df -h | grep -i error
pretty-print JSON for svc-19062
jq '.status == "ok"' /srv/svc-19062/users.json | head -n 5
find files under /srv/svc-19063
find /srv/svc-19063 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
query journal history for svc-19064
journalctl -u svc-19064.service --since '24 hours ago' -n 500 --output=short-iso | sort -u
run tests for svc-19065
make -C /srv/svc-19065 -n test | tail -n 20
locate matching files in /srv/svc-19066
find /srv/svc-19066 -maxdepth 2 -type f -name '*.log' -print | cut -d, -f1
scan configuration files for svc-19067
grep -RIn '^#' /etc/svc-19067/config.ini --include='*.go' | grep -i error
report free space for svc-19068
df -h /srv/svc-19068 /etc | uniq
show running containers for svc-19069
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-19069' | tail -n 5
clean up selected files in /srv/svc-19070
find /srv/svc-19070 -type f -name '*.tmp' -size +50M -delete 2>/dev/null
locate matching files in /srv/svc-19071
find /srv/svc-19071 -type f -name '*.log' -newermt '1 day ago' -delete | column -t
inspect recent changes in /srv/svc-19072
git -C /srv/svc-19072 log --name-status -n 100 | uniq
inspect systemd unit state for svc-19073
systemctl start svc-19073.socket --no-block | paste -sd, -
filter log content for svc-19074
grep -c 'timeout' /var/log/svc-19074.log --include='*.go' | cut -d, -f1
clean up selected files in /srv/svc-19075
find /srv/svc-19075 -mindepth 1 -type f -empty -size +10M -exec ls -lh {} + | tee -a /tmp/svc-19075.log
compare revisions in /srv/svc-19076
git -C /srv/svc-19076 diff --name-status HEAD~2..HEAD | head -n 10
scan configuration files for svc-19077
grep -Rn 'WARN' /var/log/svc-19077.log --exclude-dir=vendor | tail -n 10
read container logs for svc-19078
docker logs --since '1h' svc-19078 2>&1 > /tmp/svc-19078.out
filter log content for svc-19079
grep -n -A3 -B3 'FIXME' /srv/svc-19079 --exclude-dir=vendor | rev
validate JSON status for svc-19080
jq -c 'map(select(.status == "failed")) | length' /srv/svc-19080/data.json | sed -n '1,20p'
inspect systemd unit state for svc-19081
systemctl show svc-19081.service | sed 's/^/ /'