You can use tail
to cut last 1000 bytes, example:
tail -c 1000 file > file2
the -c outputs final 1000 bytes of the file, for more options:
man tail
To replace original file with the file you just generated:
mv file2 file
You can use tail
to cut last 1000 bytes, example:
tail -c 1000 file > file2
the -c outputs final 1000 bytes of the file, for more options:
man tail
To replace original file with the file you just generated:
mv file2 file