You need to use stream so it wont attempt to load full file to RAM.
Try command tail -20 file.log
to view last 20 lines.
Or if you want to constantly keep track of last lines while the new lines are added to file then use tailf file.log
Ich habe eine Protokolldatei über 157 GB (Gnome). Es ist eine sehr große Datei und kann weder von gedit noch von vim geöffnet werden. Alternativ möchte ich nur die letzten 20 Zeilen sehen und kann es wegen Speicherplatzbeschränkungen nicht sichern. Irgendwelche Lösungen?
You need to use stream so it wont attempt to load full file to RAM.
Try command tail -20 file.log
to view last 20 lines.
Or if you want to constantly keep track of last lines while the new lines are added to file then use tailf file.log