Convert utf-16 to ascii ( Powershell creates text files in a format incompatable Unix scripts ) cat yes_login.txt | iconv -f UTF-16 -t ASCII > yes_ascii.txt