#!/bin/bash
names= find /home/devuser -name 'BI*'
echo $names
for name in {names[@]}
do
echo $name
var=$var$name //$ should be removed which is prefixed before var. Blank space before and after equal sign should be removed to run this code.
done
echo $var
Espero que ajude!