s416138-mlworkshops/append_to_file.sh

4 lines
51 B
Bash
Executable File

#!/bin/bash
mv $1 $1.last
tail -1000 $1.last >> $2