Skip to content

Tag: linux

Installing node js and npm on Vanilla os

I’m trying to install node js and npm on vanilla os. I’ve tried flatpak install method as well but it didn’t work. Any help will be much appreciated. Answer If you are planning to use nodejs on top of Visual Studio Code (installed as a Flatpak) then the version you installed from Flathub is …

Comments in sed command file

Can I put comments (or something functionally equivalent) into a sed command file? subs.sed Answer Yes, comments can be added to a sed file using #. From the manual page of sed: Command Synopsis … The comment extends until the next newline (or the end of a -e script fragment).

can I reuse the socket when update SSL certificate?

The old SSL certificate has expired and I want to renew the SSL certificate. However, the server already has established multiple links with other clients. So, can I just bind the old sockets to the new ssl, which means I don’t need to disconnect the old base tcp links? Answer Existing TLS connections d…

xargs ignoring part of command after &&

I intend to get a comma separated list of files and then pass it as argument to a command using xargs. However it seems xargs ignores the part of command after &&. So, the command is interpreted as: python3 -m coverage combine python-bridge jenkins/build.jenkinsfile,jenkins/build-x.groovy, Expected: p…