Help on splitting this huge file

Hi ,

i have files coming in my system which are very huge in MB and GBs, all these files are in a single line, there is no newline character.

I need to get only last 700 bytes of these files, of this i am splitting the files by "split -b 700 filename" but this gives all the splitted files, i need only the last chunk of 700 files, i am getting this difficulty as files are very large, can some one please help me getting only last 700 bytes of any HUGE file which does not have new line character in it..

Thanks in advance :b:

You might want to see if the tail command would work for your purposes. I see that it has a byte option, so you could most likely do something like:

tail -c 700 [file]

Just check the man entry for tail on your system to see that it supports this option.

nope, :frowning:

i am getting

tail: cannot open input