my $configfile=$ARGV[0]; system('path of script in linux/perl script2.pl',$configfile);