How to Enable Remote Desktop in Ubuntu 22.04

The remote desktop feature allows you to connect and control your PC remotely. For example, you can connect to your work PC when you are home, or you can connect to a remote work station that is available only in your work network. In this … Read more

How to Copy File and Rename Linux

Sometimes you may need to copy files from one location to another while also renaming them. This can be useful for various reasons, such as creating a backup, duplicating a configuration file for editing, or generating a new version of a file with a different … Read more

How to Find Files with Extension in Linux

As a Linux user, you might need to locate files with specific extensions for various reasons, such as managing configurations, troubleshooting, or scripting. For example, finding .ini files can help you manage settings for multiple applications. You can do it using the find command. In … Read more

How to Restart Service in Linux

You can use the restart command to restart Systemd services. This command stops the service and then starts it back. Or it just starts the service if it is not running. For example, you can restart the Nginx web server using this command: If everything … Read more

How to Copy Hidden Files in Linux

Sometimes, you might need to copy hidden files or folders from one location to another. In Linux, hidden files are characterized by a period (.) as the first character of their name. A common example would be copying a user’s home directory or a directory … Read more

How to Find Folder by Name in Linux

You may often need to locate specific directories for various purposes, such as finding configuration, identifying folders containing backup data, or searching for project-related directories. One of the most efficient ways to find a directory by name is using the ‘find’ command. In this short … Read more

How to Find File by Content in Linux

Sometimes, you may need to find a file containing a specific string or find a line in a text file where a particular word is present. This can be useful for searching logs, locating configuration files if you don’t know where they are, or find … Read more

How to Check Service Status in Linux

Systemd initialization system allows you not only to start and stop services but also to check their status and show information about them. Use the systemctl utility with the status command to get information about the service. For example, if you want to get the … 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 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