Tag: linux

Compiling and running C, C ++ programs on Linux

This quick guide explains how to compile and run C / C ++ programs on the GNU / Linux operating system. If you are a student or new Linux user who is moving from the Microsoft platform, then you may be wondering how to run C or C ++ programs on a Linux distribution. We …


Disk extension in Linux (Debian, CentOS, Ubuntu)

Disk test for broken sectors in Ubuntu

BadBlocks = lost data. You can check and correct them in a couple of commands. See which disc we will check: Knowing the disk, we launch the badblocks utility: What do the parameters mean: We specify the following parameters for verification: -v — detailed conclusion of information on the audit results, /dev/sdb1 — section to …


Installing and running Linux containers in Docker on Windows Server 2016 & 2019.

By default, Windows Server has a docker engine that supports the launch of only windows containers. We therefore had to look for a solution to put and run the Linux containers in the docker.. And the Docker Enterprise Edition, which allows you to do it out of the box, is asking for money. I don’t …


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 …