Announcement

Collapse
No announcement yet.

Articles

Collapse

Articles Home Page

  •  
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Use systemctl Command to Enable and Disable Services

    How to Use systemctl Command to Enable and Disable Services

    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...
    Go to post

  • Python Regex Examples

    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...
    Go to post

  • 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....
    Go to post

  • Add Days to Date in SQL

    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.
    ...
    Go to post

  • How to Start Docker Using systemctl Command

    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...
    Go to post

  • Service vs. Systemctl

    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...
    Go to post

  • How to Mask a Service using systemctl Command

    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,...
    Go to post

  • Restart a Service using systemctl restart Command

    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...
    Go to post

  • How to List Serial Ports on Linux

    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...
    Go to post

  • Restart Network Service using systemctl Command

    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...
    Go to post
There are no articles in this category.
 
  • Filter
  • Time
  • Show
Clear All
new posts
Please log in to your account to view your subscribed posts.

Categories

Collapse

Article Tags

Collapse

There are no tags yet.

Latest Articles

Collapse

  • What is Shebang: Bash Script Header on First Line?
    by Kasimba
    As 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....
    Yesterday, 07:59 PM
  • Bash Script Loops Examples
    by Kasimba
    A 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...
    Yesterday, 07:59 PM
  • How to Install NVIDIA GPU Driver on Fedora 40+ KDE 6 Spin on Wayland
    by Kasimba
    Installing 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...
    Yesterday, 07:59 PM
  • How to SSH Into Docker Container
    by Kasimba
    Administrators 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...
    Yesterday, 01:12 PM
  • How to SSH Into EC2 Instance
    by Kasimba
    EC2 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...
    Yesterday, 01:12 PM
  • How to Tunnel Web Traffic Through SSH for Secure Browsing
    by Kasimba
    Nowadays, 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....
    Yesterday, 05:01 AM
Working...
X