Running Fedora 21 on my VM.I am receiving Syntax error:unexpected end of file  upon bash script execution.There is no line 35 in my script. why am I getting the error?
Syntax error:unexpected end of file  upon bash script execution
linux;bash
You missed the } that ends your test_file function :test_file() {   ....}