C / C ++ Decision Making and Basic Operators

Let’s consider the decision making in C and C ++, which determine the direction of the program execution flow, the main operators. Programming solutions In real life, situations arise when we need to make some decisions, and on the basis of these decisions we decide what to do next. Similar situations arise in programming, when …


Parallel tasks in Linux with limited number of processes

In fact, the authorship is not mine (link to the full article). I will save it as a ready snippet: where MY_PID=$$ is getting the PID of your own process. If we run child scripts or if we need to control another independent process, the line for calculating the number of processes can be changed …


How to add a program to UBUNTU autoloader

In order to add a program or script to the link to the autoloader, you need to do the following:Create a file in /etc/init.d/ Making the /etc/init.d/local script file executable: Add the /etc/init.d/myscript.sh script to the autoloader That’s it. You can now add commands to our script that must be executed when the system starts …


How to connect VMWare public folders to a Linux virtual machine

While for a normal VMWare virtual machine with Windows it is sufficient to simply enable Public Folders in the settings, for a Linux virtual machine these Public Folders still need to be mounted. We had to look for a way to do it. Google gives answers as far back as 2006, which date back to …