[Geany-Users] Open file at end - 50 lines

Matthew Brush mbrush at xxxxx
Sun Aug 16 00:19:22 UTC 2020


On 2020-08-15 3:33 p.m., Andrew Kennedy via Users wrote:
> I know this will display at line 900.
> 
> However the syslog file is variable in length.
> 
> geany -l 900 syslog.txt
> 
> Can I have geany display just the last 50 lines?
> 
> Thanks.
> 

I'm not sure it can be done directly using Geany, but if you are on a 
POSIX-ey OS with a BASH-like shell you can do something as described in 
this pastebin:

https://geany.org/p/q1SUz/

I tested it on Ubuntu 20.04 and it works OK.

Regards,
Matthew Brush


More information about the Users mailing list