Month: October 2021

Why doesn’t the kill command kill the process?

The kill command is used to stop a process, the command syntax is: sudo kill PROCESS-ID Related article: What are the differences and how to use the kill, pkill and killall commands You may run into a situation when using kill does not kill the process. You can get the process ID knowing the name of the executable file with...

What are the differences and how to use the kill, pkill and killall commands

How to shutdown a process by process id Each of the kill, pkill and killall commands are used to stop processes in Linux. In “How to use ps command to monitor Linux processes”, we looked at a number of ways to identify processes, including name, command, user, and terminal. We also looked at ways to identify processes by their dynamic...

How to use ps command to monitor Linux processes

The ‘ps’ (processes status) command is a built-in Unix/Linux utility for viewing information regarding the selection of running processes on the system: it reads this information from virtual files in the /proc file system. It is one of the essential system administration utilities, especially in the context of process monitoring, to help you understand what is happening on a Linux...

How to install the Active Directory PowerShell module on Windows Server, Windows 11 and Windows 10

The Active Directory Module for Windows PowerShell is one of the main tools for domain administration, managing objects in Active Directory, and getting various information about AD computers, users, groups, etc. Any Windows administrator should know how to use AD as a graphical snap-in (usually These are ADUC – Active Directory Users & Computers) and RSAT-AD-PowerShell cmdlets for performing day-to-day...

PowerShell with administrator rights: how to run and verify

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 will throw the following error:...

Error “Cannot open access to console, the root account is locked” (SOLVED)

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 see how to solve the...

Do I need to restart the server after updating the Linux kernel (SOLVED)

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, and when the system stops...

Full-text search in MS Word files and archives in Linux

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 removable media: the removable media...

Full-text search in office files (Word) and archives – now it’s easy!

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 disadvantages: search is slow, especially...

Full-text search for documents in a folder

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 you want to search, and...
Loading...
X