Systtem Initializtion, Message Logging, and System Tuning Flashcards
list all active and inactive socket units
systemctl -t socket –all
List all type socket currently loaded in memory and the service they activate
systemctl list-sockets
list all unit files and their current state
systemctl list-unit-files
list all units that failed to start at system boot
systemctl –failed
list the hierarchy of all dependencies for the current default target
systemctl list-dependencies
list hierarchy of all dependencies for a specific unit
systemctl list-dependencies atd.service
check to see if atd will auto restart on reboot
systemctl is-enabled atd
restart atd
systemctl restart atd
see details of atd service
systemctl show atd
prohibit atd from being enabled or disabled
systemctl mask atd
view units of type target are currently loaded and active
systemctl -t target
see current default boot target
systemctl get-default
set the default boot target to multi-user
sudo systemctl set-default multi-user
switch into multi-user target
sudo systemctl isolate multi-user
se messages generated since last system reboot
sudo journalctl