Command cp in Linux

Copying files and directories is a common task when working in the Linux terminal. The most common way to do this is to use the cp Linux command. This command is included in all Linux distributions. It can copy files and directories, and preserve their … Read more

How to List All Services Using Systemctl

Systemd initialization system loads units only when it is necessary. So, only units added to the system autostart, those that are dependent on other units, or those that you start manually, are in memory. If you want to get a full list of services which … Read more

How to Remove Service in Linux

Sometimes you may want to remove the Systemd service or at least make it unavailable for use. There is no sense to remove the unit file, cause after the next system update this file may be recovered. The simplest way to remove a service in … Read more

How to Run Script on Startup in Linux

Sometimes you may want to run your shell script on the system startup or when the user logs in. For example when you need to run any desktop application, change screen resolution settings, start the remote desktop service, etc. You can do this in a … Read more

How to List Running Systemd Services

The Systemd initialization system is used for services management in most Linux distributions. If you want to find all services which are running right now, you can use the systemctl utility and its command list-units with state filtering. The full command will look like this: … Read more

Using Systemd Services Tutorial

Linux operating system as well as Windows supports not only regular applications but also services that work in the background. Services are very important, they monitor the state of the system, connect external devices and networks automatically, and allow processes to interact with hardware (dbus) … Read more

How to Configure Service to Start Automatically in Linux

Service in the Linux operating system is just a program which is executing in the background and does not have any windows or other communication channels with a user interface. There are a lot of services which are working in the background. And most of … Read more

How to Use Loginctl

The loginctl command is part of the systemd toolkit for system management. It can help manage sessions, view logged-in users, lock and unlock screen, kill sessions and user’s processes, etc. Previously, we had to use several utilities and configuration files to do this. But now, … Read more

How to Use Vim Text Editor

Experienced Linux users very often use the terminal, because it allows them to do a lot of things more efficiently. For example, we are constantly editing configuration files when we need to configure something in the system or any service. It may be application settings, … Read more