Command grep in Linux

Sometimes you may need to find a file, containing the specific text or find a line which specific words in a specific file. Linux has several utilities for this purpose, but the most popular is called grep. It allows to search not only strings in … Read more

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 Use Loginctl

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