linux echo command output to file