Question: 1. Write a shell script called checkpath that extracts each directory from the user's PATH and ensures that the directory exists and is readable. Report
1. Write a shell script called checkpath that extracts each directory from the user's PATH and ensures that the directory exists and is readable. Report either error condition or confirm that the directory is correctly configured. Hint: directories in the PATH are separated by a colon (:).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
