Write a shell script to locate executable files. This script takes a list of file names from the command line
and determines which would be executed had these names been given as commands.
Unix which command, the ksh whence (type) command, the locate command, or the bash type command.
<command> NOT FOUND
<command> would be replaced by the name of the "file" you didn't find.
path. Again, if the file was not on the path, an error message should be displayed.
Alternative directory names are separated by a colon (:). The current directory can be specified by two or
more adjacent colons, or by a colon at the beginning or end of the path list.
specified is executable and not a directory. Otherwise, each directory in the path is searched for an
Other samples, services and questions:
When you use PaperHelp, you save one valuable — TIME
You can spend it for more important things than paper writing.