$cmd = "cd /home/folder1/folder2 ; sh test1.sh"; system($cmd) or die "none";