prunelog.sh 99 B

123456789
  1. #!/bin/bash
  2. cd "$(dirname ${0})"
  3. SAVE="$(tail -n 50 antenna.log)"
  4. echo "${SAVE}" > antenna.log