2
Most read
4
Most read
5
Most read
Control Services and
Daemons
Services
● OS components that manage daemons, allowing control over their current
state (start, stop, or restart)
Daemons
● Background processes that start automatically at boot and run
continuously until stopped or the system shuts down
Managing services and daemons
Services and daemons run in the background and are managed by the init system
with systemd
Control Services and Daemons - RHCSA (RH124).pdf
Init system
systemd
● First process that starts when a system boots up
● Handles starting and stopping services during the boot and shutdown
processes
● Most common init system in modern Linux distributions, designed to
manage services and daemons more efficiently
● Parent process of most of the daemons
To verify systemd is installed in system
● Command: systemctl--version
To check all the available services running in the system
● Command: systemctl list-units--type=service
To list all the services and daemons including the inactive ones
● Command: systemctl--all
Check the status of specific service
● Command: systemctl status <service-name>
To stop a particular service
● Command: systemctl stop <service-name>
To start a particular service
● Command: systemctl start sshd.service
For restarting a particular service
● Command: systemctl restart <service-name>
To reload a particular service
● Command: systemctl reload <service-name>
To enable a particular service
● Command: systemctl enable <service-name>
To verify if a service is enabled or not
● Command: systemctl is-enabled <service-name>
For disabling a particular service
● Command: systemctl disable <service-name>
Masking a particular service
● Command: systemctl mask <service-name>
Note: Masking a service means preventing it from being started, either
manually or automatically, until it is unmasked
To unmask a service
● Command: systemctl unmask <service-name>

More Related Content

PPTX
RHSA_1_Chapter_Resume_CONTRILE_SERVCIES.pptx
PPTX
Linux Daemons & INIT services
PPTX
PPTX
Systemd 간략하게 정리하기
PDF
Systemd cheatsheet
PDF
Linux class 10 15 oct 2021-6
PDF
Systemd mlug-20140614
PDF
systemd
RHSA_1_Chapter_Resume_CONTRILE_SERVCIES.pptx
Linux Daemons & INIT services
Systemd 간략하게 정리하기
Systemd cheatsheet
Linux class 10 15 oct 2021-6
Systemd mlug-20140614
systemd

Similar to Control Services and Daemons - RHCSA (RH124).pdf (20)

PPTX
2- System Initialization in Red Hat
PDF
LISA15: systemd, the Next-Generation Linux System Manager
PPTX
Daemons
ODP
CLUG 2010 09 - systemd - the new init system
PDF
Systemd for administrators
PDF
Systemd for administrators
PPTX
Linux startup
PDF
Linux Du Jour
PDF
Summit demystifying systemd1
PDF
Your first dive into systemd!
PDF
systemd
PDF
Fedora 15 para sysadmins
PDF
Introduction to systemd
PPT
Linux Booting Process
PPTX
Linux Run Level
PDF
Basic of Systemd
PDF
Course 102: Lecture 16: Process Management (Part 2)
PDF
Sistemas operacionais 8
PDF
Effective service and resource management with systemd
PPT
Intro to linux systems administration
2- System Initialization in Red Hat
LISA15: systemd, the Next-Generation Linux System Manager
Daemons
CLUG 2010 09 - systemd - the new init system
Systemd for administrators
Systemd for administrators
Linux startup
Linux Du Jour
Summit demystifying systemd1
Your first dive into systemd!
systemd
Fedora 15 para sysadmins
Introduction to systemd
Linux Booting Process
Linux Run Level
Basic of Systemd
Course 102: Lecture 16: Process Management (Part 2)
Sistemas operacionais 8
Effective service and resource management with systemd
Intro to linux systems administration
Ad

More from RHCSA Guru (20)

PDF
Flatpak CLI Application Management & Building on RHEL.pdf
PDF
How to Set Up a RHEL 9 Virtual Lab for RHCSA Practice.pdf
PDF
CompTIA Linux (Plus) Exam Overview .pdf
PDF
Linux Professional Institute LPIC-1 Exam.pdf
PDF
LVM Management & Disaster Recovery - RHCSA+.pdf
PDF
Managing Multiple Logical Volumes - RHCSA+.pdf
PDF
Master Logical Volume Management - RHCSA+.pdf
PDF
Ansible Vault Encrypting and Protecting Secrets - RHCE.pdf
PDF
Ansible Variables in Playbook - RHCE.pdf
PDF
Comprehensive Guide to Ansible Application Roles.pdf
PDF
Using Tags in Ansible Playbooks RHCE.pdf
PDF
Comprehensive Guide to Ansible Roles - RHCE
PDF
Mastering Handlers, Conditions, and Loops in Ansible Playbooks - RHCE.pdf
PDF
Essential Ad-hoc Commands in Ansible - RHCE.pdf
PDF
RHEL in Shell Scripting Advanced - RHCSA+.pdf
PDF
Shell Scripting Intermediate - RHCSA+.pdf
PDF
Introduction to Shell Scripting - RHCSA+.pdf
PDF
Command Line Text Processing - RHCSA +.pdf
PDF
Mounting and Creating Links - RHCSA (RH124) .pdf
PDF
Basic Command Line Tools - RHCSA (RH124).pdf
Flatpak CLI Application Management & Building on RHEL.pdf
How to Set Up a RHEL 9 Virtual Lab for RHCSA Practice.pdf
CompTIA Linux (Plus) Exam Overview .pdf
Linux Professional Institute LPIC-1 Exam.pdf
LVM Management & Disaster Recovery - RHCSA+.pdf
Managing Multiple Logical Volumes - RHCSA+.pdf
Master Logical Volume Management - RHCSA+.pdf
Ansible Vault Encrypting and Protecting Secrets - RHCE.pdf
Ansible Variables in Playbook - RHCE.pdf
Comprehensive Guide to Ansible Application Roles.pdf
Using Tags in Ansible Playbooks RHCE.pdf
Comprehensive Guide to Ansible Roles - RHCE
Mastering Handlers, Conditions, and Loops in Ansible Playbooks - RHCE.pdf
Essential Ad-hoc Commands in Ansible - RHCE.pdf
RHEL in Shell Scripting Advanced - RHCSA+.pdf
Shell Scripting Intermediate - RHCSA+.pdf
Introduction to Shell Scripting - RHCSA+.pdf
Command Line Text Processing - RHCSA +.pdf
Mounting and Creating Links - RHCSA (RH124) .pdf
Basic Command Line Tools - RHCSA (RH124).pdf
Ad

Recently uploaded (20)

PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
LMS bot: enhanced learning management systems for improved student learning e...
PPTX
future_of_ai_comprehensive_20250822032121.pptx
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PPTX
Microsoft User Copilot Training Slide Deck
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PPTX
Internet of Everything -Basic concepts details
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
LMS bot: enhanced learning management systems for improved student learning e...
future_of_ai_comprehensive_20250822032121.pptx
Basics of Cloud Computing - Cloud Ecosystem
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Microsoft User Copilot Training Slide Deck
Convolutional neural network based encoder-decoder for efficient real-time ob...
Co-training pseudo-labeling for text classification with support vector machi...
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Internet of Everything -Basic concepts details
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
NewMind AI Weekly Chronicles – August ’25 Week IV
Early detection and classification of bone marrow changes in lumbar vertebrae...
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
Connector Corner: Transform Unstructured Documents with Agentic Automation
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC

Control Services and Daemons - RHCSA (RH124).pdf

  • 2. Services ● OS components that manage daemons, allowing control over their current state (start, stop, or restart) Daemons ● Background processes that start automatically at boot and run continuously until stopped or the system shuts down Managing services and daemons Services and daemons run in the background and are managed by the init system with systemd
  • 4. Init system systemd ● First process that starts when a system boots up ● Handles starting and stopping services during the boot and shutdown processes ● Most common init system in modern Linux distributions, designed to manage services and daemons more efficiently ● Parent process of most of the daemons
  • 5. To verify systemd is installed in system ● Command: systemctl--version To check all the available services running in the system ● Command: systemctl list-units--type=service
  • 6. To list all the services and daemons including the inactive ones ● Command: systemctl--all Check the status of specific service ● Command: systemctl status <service-name>
  • 7. To stop a particular service ● Command: systemctl stop <service-name> To start a particular service ● Command: systemctl start sshd.service
  • 8. For restarting a particular service ● Command: systemctl restart <service-name> To reload a particular service ● Command: systemctl reload <service-name>
  • 9. To enable a particular service ● Command: systemctl enable <service-name> To verify if a service is enabled or not ● Command: systemctl is-enabled <service-name>
  • 10. For disabling a particular service ● Command: systemctl disable <service-name> Masking a particular service ● Command: systemctl mask <service-name> Note: Masking a service means preventing it from being started, either manually or automatically, until it is unmasked
  • 11. To unmask a service ● Command: systemctl unmask <service-name>