Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:systemd [2020/04/24 22:09] – [Systemctl] tmadelinux:systemd [2020/09/22 21:05] – [Systemctl] tmade
Line 20: Line 20:
   journalctl   journalctl
   journalctl -xe   journalctl -xe
-  journalctl -u sshd -f                                        # "-f" -> follow such als "tail -f file"+  journalctl -u sshd -f                                        # "-f" -> follow such as "tail -f file"
   journalctl -u kubelet.service   journalctl -u kubelet.service
   systemctl list-units --state=failed   systemctl list-units --state=failed
Line 38: Line 38:
   systemctl list-units --type=mount   systemctl list-units --type=mount
   systemctl stop ufw.service   systemctl stop ufw.service
 +
 +====Commands====
 +  sudo hostnamectl set-hostname ln-sg-vpn1
 +  hostnamectl
      
 ==== Set Runlevel ==== ==== Set Runlevel ====
linux/systemd.txt · Last modified: 2024/01/24 00:25 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki