tailto.sh 92 B

1234
  1. #!/bin/sh
  2. tail -n $1 "$2" > /var/run/tailtmp
  3. cat /var/run/tailtmp > "$2"
  4. rm /var/run/tailtmp