Skip to content

Migrate data from one mount to another

In Azure Linux VM we have an LVM that holds the data(1.2TB) of a live application. For some reasons, we want to migrate the data of the application to another LVM and decommission the old one. We want to achieve this with minimal downtime. What switches/method we can use using rsync to achieve this? Answer Ac…

how to remove the special characters from a variable using shell

I need the perfect alphabetical string without special characters. can you suggest me how to do in shell Answer The following solution uses the tr command: All letters and digits, all ” and new lines are allowed. If you want more or less characters to be allowed change the command.

g++ can’t link curl lib files

I’m having some issues with getting g++ to link the curl lib files. I’m using Visual Studio 2017 with the linux dev plugin and Ubuntu Server 17.04. curl-config –libs gave an output of -Lcurl which I tried adding to the linker options in Project settings > Linker > Command Line > Add…