PowerShell with administrator rights: how to run and verify
Posted by Alex On October 28, 2021
How to run PowerShell as an administrator Some commands and cmdlets require elevated privileges. Examples of actions that require administrator rights are service management (install, start, stop, uninstall) and package management (add and remove package providers, install and remove packages). For example, the following cmdlet tries to add a new package provider: Install-PackageProvider chocolatey It […]
Error “Cannot open access to console, the root account is locked” (SOLVED)
Posted by Alex On October 26, 2021
After a sudden power outage, unsuccessful update or adding a new disk to /etc/fstab, you may face the problem that your system does not boot, or rather, boots into the console or into a black screen. Sometimes the problem is compounded by the fact that the system administrator cannot even get into the emergency console. Let's […]
Do I need to restart the server after updating the Linux kernel (SOLVED)
Posted by Alex On October 21, 2021
Unlike Windows, in which a program must not be running to update this program, in Linux you can update running programs without any problems – this will not lead to any errors. In Linux, you can delete files in use (including executables) and while they are in use, they will be kept in the cache, […]
Full-text search in MS Word files and archives in Linux
Posted by Alex On October 19, 2021
Unlike Windows, where “Full-text search for documents in a folder” is possible, Linux “out of the box” does not support full-text search in office formats. This search and indexing of office documents can be implemented using recoll package, but it requires configuration. In addition, recoll relies on pre-indexing documents, which causes problems when working with […]
Full-text search in office files (Word) and archives – now it’s easy!
Posted by Alex On October 19, 2021
In the article “Full-text search for documents in a folder” we examined a way to search the contents of many office documents, including the exact match of the phrase. The considered method allows you to find the required file containing the required string without installing additional programs. But the method proposed in that note has […]
Full-text search for documents in a folder
Posted by Alex On October 19, 2021
What if you need to find a specific document among tens or hundreds? If you know the name of the document, then searching is quite simple – many programs, including the standard Windows Explorer, can search by file name. To find a file by name, open Windows Explorer (file manager), navigate to the folder where […]
How to find out which process is causing high disk usage in Linux
Posted by Alex On October 18, 2021
Monitoring input and output operations Excessive load on the disk can be caused by such a reason as a virus infection or incorrect program settings. In any case, you need to start by identifying the process (program) that most reads and writes to disk. iotop – analog of top for tracking disk load in real […]
How to use lsof to view open files (on Linux everything is files)
Posted by Alex On October 18, 2021
If everything in Linux is a file, then there must be more to this operating system than just files on your hard drive. In this tutorial, you will learn how to use lsof to view all other devices and processes that are being treated as files. Everything in Linux is files The oft-quoted phrase that […]
How to measure distance (route and direct) between two points on Google maps
Posted by Alex On October 18, 2021
Table of contents 1. What is the difference between the distances directly and the route between two objects on the map 2. How to measure a route between two points on the map 2.1 How to measure a route between two points on the map on a computer 2.2 How to change the route between two objects […]
GIMP copies not all layers (SOLVED)
Posted by Alex On October 17, 2021
GIMP is a powerful image editor, comparable to PhotoShop in features, but completely free. You may have come across a situation where you have edited an image, perhaps added text and other layers and are trying to copy the resulting image, for example, to create a new file from it or paste into another image. […]