I've got a log file about 157Gb (Gnome). It's a very large file and nor gedit nor vim can open it. Alternatively I want only to see the last 20 lines and I can't back it up because of space storage limitations. Any solutions?
You need to use stream so it wont attempt to load full file to RAM.
Or if you want to constantly keep track of last lines while the new lines are added to file then use