I want find out if a command exists on UNIX from a bash shell script. If command does not exists, then I would like to display an error message on screen. How do I find out if a command exists on Posix system or not?
{ 4 comments }
by nixCraft on April 6, 2010 · 4 comments
I want find out if a command exists on UNIX from a bash shell script. If command does not exists, then I would like to display an error message on screen. How do I find out if a command exists on Posix system or not?
{ 4 comments }
