Error setting certificate verify locations – Github

In my case, on windows, It was not working after setting of name, e mail as well as certificates path for git config. following command run from command prompt fixed this issue. git config –global http.sslcainfo “C:\Program Files\Git\usr\ssl\certs\ca-bundle.crt” path of your ca-bundle.crt may vary in your case.

Write a bash shell script that consumes a constant amount of RAM for a user defined time [closed]

Even if traditional Bash arrays are not supported, it may still be possible to create array-like variables using the eval command built into the particular shell. The following example script is based on some scripting I did when using BusyBox in an embedded Linux project. BusyBox uses the Almquist shell (also known as A Shell, … Read more

Awk consider double quoted string as one token and ignore space in between

Another alternative would be to use the FPAT variable, that defines a regular expression describing the contents of each field. Save this AWK script as parse.awk: #!/bin/awk -f BEGIN { FPAT = “([^ ]+)|(\”[^\”]+\”)” } { print $2 } Make it executable with chmod +x ./parse.awk and parse your data file as ./parse.awk data.txt: “I … Read more

bash background process modify global variable

Upgrade 2019 Playing with bash_ipc_demo adding completion and a graph generator. Rendez-vous If you wanna have two independant process which could communicate, you have to place a rendez-vous somewhere both process can reach. This could be a simple file, a fifo pipe, a unix socket, a TCP socket or maybe else (Rexx port). bash and … Read more