Systemd is one of the widely used service managers on Linux that comes with the systemctl command line utility to manage systemd services such as starting a service, stopping, enabling, and disabling it.
In this guide, I will explain how to enable a service on Linux using the systemctl command, and how to disable it.
What Does Enabling a Service Mean?
Enabling a service is a different feature from starting a service. The systemctl start command only starts the service and...
Announcement
Collapse
No announcement yet.
Articles
Collapse
Articles Home Page
-
How to Use systemctl Command to Enable and Disable Services
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
How to Use systemctl Command to Enable and Disable Services
-
Python Regex Examples
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
Python Regex Examples
The full form of regex is Regular Expression. It is an important feature of any programming language. It is a string pattern that is used to match, search, or replace the strings in a string value. The regex pattern can be used in the Python script using the “re” module of Python. This module has many types of functions to do different string operations. Different metacharacters and special sequences are used to define the regex patterns to search or replace the tasks. The purposes of using... -
How to Set up and Program the ESP32 to Communicate with an Android Smartphone via Bluetooth
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
How to Set up and Program the ESP32 to Communicate with an Android Smartphone via Bluetooth
ESP32 is a microcontroller board with a vast range of capabilities. It has built-in Wi-Fi and Bluetooth modules. Using both these modules, you can program ESP32 wirelessly. With this, you don’t have to worry about long-wire connections for controlling ESP32 peripherals.
In this article, we will connect an ESP32 board with an Android phone and communicate data over Bluetooth. Further, we will control an LED connected with the GPIO pins of ESP32 directly through the Android smartphone.... -
Add Days to Date in SQL
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
Add Days to Date in SQL
In an SQL database, we encounter such instances where we need to manipulate and work with dates. This includes adding and subtracting durations from a given value. For example, a common task includes adding or subtracting specific days from a given date value.
In this tutorial, we will walk you through the methods and techniques that you can use to add days to a given date. We will explore these techniques for various SQL databases such as MySQL, PostgreSQL, SQL Server, and Oracle.
... -
How to Start Docker Using systemctl Command
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
How to Start Docker Using systemctl Command
After installing Docker, a daemon is created to manage it on the host operating system. The docker daemon, commonly referred to as dockerd, is responsible for managing docker images, containers, and other services.
As with other services, the systemctl can also be used to manage the dockerd service. The systemctl is a command line utility used to manage the systemd services in Linux distributions that come with systemd init system.
In this guide, I will demonstrate the process... -
Service vs. Systemctl
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
Service vs. Systemctl
The service and systemctl are two command-line utilities used to manage system services. Both utilities belong to two different init systems, SysV, and systemd respectively.
In this guide, I will be discussing the service and systemctl commands, and how they are different when it comes to service management.
Before going any further, let’s first understand two popular Linux init systems; System and Systemd.
System V vs. Systemd
The init system on Linux is a... -
How to Mask a Service using systemctl Command
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
How to Mask a Service using systemctl Command
The systemctl is a command line utility used to manage system services. It has a variety of options to manage the service on Linux, such as starting a service, stopping it, enabling, and disabling it. There is another option called a mask.
Masking a systemd service means the service is disabled and cannot be enabled, even by the system or on manual command. Masking is a stronger form of disabling.
In this guide, I will walk you through how to mask a service on Linux using systemctl,... -
Restart a Service using systemctl restart Command
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
Restart a Service using systemctl restart Command
The systemd is a system service manager that is widely used on Linux. To manage systemd services, the systemctl command line utility is used. This tool is also used to restart any systemd service.
Services on Linux are managed through their configuration file. If modifications are made to a service’s configuration file, it is necessary to initiate a restart of the service to apply the modifications. Upon restarting the service, the systemd re-evaluates the configuration file and applies... -
How to List Serial Ports on Linux
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
How to List Serial Ports on Linux
Serial ports are interfaces used to communicate with the serial devices connected to the system. Serial devices, such as mice, keyboards, and modems, communicate with the system by transmitting one bit at a time. The system establishes communication with the serial device using the serial port name. On Windows, COM1 or COM2 names are given to serial ports. While on Linux, the system ttyS0, ttyS1, and ttyUSB names are used.
By default, the serial devices automatically establish a connection... -
Restart Network Service using systemctl Command
- Created by: Kasimba
- Published: 03-13-2024, 03:45 AM
- 0 comments
Restart Network Service using systemctl Command
In many situations, it becomes necessary to restart the network service on Linux. Such as changing the network hardware component, modifying the network configuration files, and when the network becomes unstable.
On Linux, the NetworkManager is a service that manages and configures the system network. The NetworkManager.service automatically configures the network on boot, however, to manually manage it the systemctl tool is used.
In this guide, I explore how to restart the network...
There are no articles in this category.
Please log in to your account to view your subscribed posts.
Categories
Collapse
Article Tags
Collapse
There are no tags yet.
Latest Articles
Collapse
-
by KasimbaAs Linux enthusiasts, we all come across bash scripting as an essential part of the Linux system. However, many Linux users don’t know why the first line of the bash script contains #!. So this combination of # and ! is called shebang or shebang.
Although shebang looks like a bash script header, it initially instructs the system about interpreters to execute the script. This concept feels a bit complicated, but that’s not true, as this guide is all about the shebang: bash script header....-
Channel: Articles
Yesterday, 07:59 PM -
-
by KasimbaA loop in programming is a control structure that allows a specific code to be executed repeatedly until a condition is met. This process is repeated until no further action is required. Loop allows you to repeat the desired set of instructions numerous times to attain the desired outcome. These recursions can be useful for all tasks that require repetitive operations or when working with data collections.
In this article, we will explore the meaning, types, and examples of loops, further...-
Channel: Articles
Yesterday, 07:59 PM -
-
by KasimbaInstalling the NVIDIA GPU driver is the first thing you will want to do after installing Fedora 40 on your computer. Fedora 40 comes with different spins (desktop environments) and the latest software. Wayland display server (which will replace the X11/Xorg display server completely one day) is the default on some of the Fedora 40 spins. One of the most awaited Fedora 40 spin is the KDE spin. Fedora 40 KDE spin comes with the KDE Plasma 6 desktop environment which supports only the Wayland display...
-
Channel: Articles
Yesterday, 07:59 PM -
-
by KasimbaAdministrators commonly use SSH to access and operate remote servers and devices, including a Docker container. When you connect to any device using SSH, you can run commands, access its files, and perform multiple other tasks. You can also use the Docker container as a hypervisor image that can run applications. For example, a software developer can create a Docker container image to package the software.
Hence, a Docker container image package software with all the dependencies and...-
Channel: Articles
Yesterday, 01:12 PM -
-
by KasimbaEC2 is a service provided by Amazon Web Services (AWS) that lets you rent virtual servers (known as instances). In these instances, you can leverage virtual machines to develop, test, deploy, and manage computer applications.
SSH is an incredible utility for accessing and managing Amazon Elastic Compute Cloud (EC2) instances. With SSH, you can operate a remote device, access data, execute commands, troubleshoot issues, and more. Although you can easily SSH into an EC2 instance, many...-
Channel: Articles
Yesterday, 01:12 PM -
-
by KasimbaNowadays, an uncountable number of cyber attacks, scams, and data theft occur every single day. This makes it necessary for users to look for ways to secure their data. After all, it is better to take precautions than to experience a guilt trip. Fortunately, SSH offers tunneling, which channels internet traffic to your local system via a remote system.
Meanwhile, this transmission encrypts incoming and outgoing network traffic on your local Linux device, ensuring the system’s security....-
Channel: Articles
Yesterday, 05:01 AM -