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
The search path should be based only on the user's PATH environment variable.
You shall not use the Unix which command, the ksh whence (type) command, the
locate command, or the bash type command.
The code for the script shall not use the UNIX ls command to determine if the file is
executable or if it exists.
The script should find only the first occurrence of the "file". If the file is not found,
the script the following
<command> NOT FOUND
<command> would be replaced by the name of the "file" you didn't find.
8 pekerja bebas membida secara purata ₹4520/jam untuk pekerjaan ini
Hello Sir I am a professional System and Network Administrator. I have deep knowledge in BASH/Perl scripting. More than 13 years of experience in Debian/RHEL.