I've got an extreme problem, and all of the solutions I can imagine are complicated. According to my UNIX/Linux experience there must be an easy way.
I want to delete the first n bytes of file in log.txt.file is long enough. Well, I'm sure somebody will deliver me a suprisingly easy solution I just can't imagine.
I am not sure what you want: Your headline says move first N byte to another file, your text says you want to delete the first N bytes
Will output everything after the first N bytes, so this will answer you text question. Moving them to another file (as your headline requests) you have to do
What about using tail with it's -c option
from man :
so you can do something like tail -c +N log.txt.file
Example :
i have to mention that you can use also --bytes option to get the last N bytes from a file.