Redirecting command output to a variable in bash fails Redirecting command output to a variable in bash fails apache apache