Technical perspective

Bash Shell Script – Tech Tips

A preserved technical perspective from the CognoSys engineering archive. Product names, interfaces, availability, and recommended practices may have changed since original publication.

Bash String Manipulation

Have you ever tried to create a filename ( read string) with two variables and try to add a underscore

Let us see what happens

If you notice if we are putting a underscore within the string, you dont get $var1. What is the right way then?

var3= “$var1″_”$var2”