Home Linux Distros RHEL_7
Show logs in pager mode

journalctl -xe


Show log since last boot
	
journalctl -b


Kernel messages (like dmesg) 

journalctl -k


Show latest log and wait for changes	

journalctl -f
 

Reverse output (newest first)	

journalctl -r
 

Show only errors and worse	

journalctl -b -p err


Filter on time (example)

journalctl --since="2017-03-07 12:00:00" --until="2017-03-07 15:30:00"


Since yesterday	

journalctl --since=yesterday


Show only log of SERVICE	

journalctl -u SERVICE


Match executable, e.g. dhclient	

journalctl /usr/sbin/dhclient


Match device node, e.g. /dev/sda	

journalctl /dev/sda