Legacy page modernization

Bash Shell Script – Tech Tips

This page has been modernized to the current Cognosys corporate theme while preserving legacy information and route continuity.

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

capture

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”