Adding --no-tail
also does the trick.
$ journalctl --boot --follow --no-tail
May 22 21:36:53 <hostname> kernel: microcode: microcode updated early to revision ...
May 22 21:36:53 <hostname> kernel: Linux version 5.15.0-30-generic (buildd@lgw01-amd64-058) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #31-Ubuntu SMP Thu May 5 10:00:34 UTC 2022 (Ubuntu 5.15.0-30.31-generic 5.15.30)
...
May 23 15:17:43 <hostname> systemd[1]: Started Session 40 of User <username>.
^C
$ journalctl --version
systemd 249 (249.11-0ubuntu3.1)
+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
The following are copied from man journalctl
:
-n, --lines=
Show the most recent journal events and limit the number of events shown. If --follow is used, this option is implied. The argument is a positive integer or "all" to disable line limiting. The default value is 10 if
no argument is given.
--no-tail
Show all stored output lines, even in follow mode. Undoes the effect of --lines=.