find, -path, , ,
use warnings;
use strict;
my $user = "gbacon";
my $file = "bash";
my $path = join " -a " => map "-path '*$_*'", $user, $file;
chomp(my @filenames = `find -H /home $path 2>/dev/null`);
print map "$_\n", @filenames;
, backticks ( , chomp) . split .
:
/home/gbacon/.bash_history
/home/gbacon/.bashrc
/home/gbacon/.bash_logout