Hi guys,
I wrote the following code:
I execute this and get the following:Code:#!/bin/sh
echo this is simply to demonstrate the use of error_exit
error_exit i am exiting..
echo this won't be displayed
Code:this is simply to demonstrate the use of error_exit
./errorHandle.sh: line 4: error_exit: command not found
this won't be displayed
I am sure error_exit is a valid command. isn't it?