Help for this page
my $file = "/mnt/adtest/qa1/file1"; my $writeline = "# $test->{currentuser} wrote timestamp " . time() +; my $command = "echo $writeline >> $file"; my $output = `$command 2>&1`;
[root@qanode1-2 latest]# echo "qauser1 wrote timestamp 1414118740-1" > +> /mnt/adtest/qa1/file1 -bash: /mnt/adtest/qa1/file1: Permission denied