JournalCTL output to onetime file



  • So I'm not seeing a simple way to output journalctl messages to a onetime file that I can use "read at leisure" I do see that I can have the records constantly written to a directory.

    But this defeats the point.

    Any help, here is what I have for a command as of now.

    sudo journalctl --since="2016-07-26 23:00:00" -u xo-server -n 500


  • Duh...

    sudo journalctl --since="2016-07-26 23:00:00" -u xo-server -n 500 > xo-server.txt

Log in to reply