ksh: line 25: syntax error : unexpected end of file. If you do a grep ( - A1: + 1 line context). I had the same error due to missing " fi" line. Make sure to omit syntax errors. bashrc is located in / etc/ skel/. So just run the following command: cp / etc/ skel/. You need to end every if statement with fi, like if [ " $ i" = " Tyler" ] then read - p " Hello Tyler. Please enter you password now: " b if [ " $ b" = " " ] then echo " You really are Tyler! " su else echo " WRONG. can you help i' m getting a Parse error: syntax error, unexpected end of file in C: \ xampp\ htdocs\ xampp\ form- to- email. php on line 42 wondering if you can helpme with this i' m so confused.