Coffee & Code Message Board › Useful Linux commands

Useful Linux commands

Roddie
user 126258132
Toronto, ON
Post #: 1

  • inxi #brief system info
  • inxi -F #full system info
  • inxi -Gx #graphics card info

  • journalctl #display systemd log (truncated lines)
  • SYSTEMD_LESS=FRXMK journalctl #display systemd log (wrapped lines)
  • journalctl -b -1 #show log from the previous boot
  • journalctl -b -2 #show log from two previous boots... etc
  • journalctl -b #show log from current boot

  • du -h /var/log/journal #check systemd journal size

set a journal size limit (default is 10% of your root directory)
For new size limit to take effect:

  • sudo systemctl restart systemd-journald #restart systemd's journal

Powered by mvnForum

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy