0

The first command works, but geany can not open syslog? I am the owner of the copied syslog.

Why is that? The file is only 1.4 Mb.

cp /var/log/syslog /home/andy/Downloads/syslog.txt
geany /home/andy/Downloads/syslog.txt
#rm /home/andy/Downloads/syslog.txt

When geany tries to open it, it just opens a untitled file.

fixit7
  • 3,399

1 Answers1

0

Rather than spend a long time finding an editor to open a large file, I went with this. The last 1000 lines of syslog are enough to meet my needs.

 cd /home/andy/Downloads
    tail -n 1000 /var/log/syslog > syslog.txt
    geany syslog.txt
    rm syslog.txt
fixit7
  • 3,399