output to file. #linux