my $pig_file = system("ls /home/mrdemo1/pig.jar"); my $bash_profile_run = system(". /home/mrdemo1/pig_profile_tmp);