Thanks.
This is MUCH shorter.
tail -n 50 /var/log/syslog > end_syslog.txt geany end_syslog.txt
Sent via personal computer "It is always too soon to quit."
On Saturday, August 15, 2020, 07:19:42 PM CDT, Matthew Brush mbrush@codebrainz.ca wrote:
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:
I tested it on Ubuntu 20.04 and it works OK.
Regards, Matthew Brush _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users