Concatenate two strings in shell script?

by Nirmala 2010-01-25 16:28:23

Concatenate two values using shell script
Use the below code to concate two strings.
Example
var='abc'
var="${var}def"
echo $var

Output
abcdef

Tagged in:

1916
like
0
dislike
0
mail
flag

You must LOGIN to add comments