Sytemd Commands
Sytemd Commands
ls /etc/init.d/network
unit files
ls /etc/systemd/system/multi-user.target.wants/sshd.service
#control
systemctl status crond
#active enabled
restart
---------------------------
systemctl start crond
systemctl enable crond
---------------------
systemctl is-enabled crond
systemctl is-active crond
systemctl poweroff
systemctl reboot
--------
systemctl mask crond #doesnot startany way
systemctl start crond
--------------------------------------
systemctl get-default
reboot
----------------------------
systemctl isolate graphical.target
------------------------------------
configuration files
ls /etc/systemd
ls /etc/systemd/system
--------------------------
system list units
systemd.unit=rescue.target