Write a shell script that takes a filename from the user and if the file exists and is executable.

If the file is executable then the shell script should display the message “File exists” otherwise it should display the message “File does not exists or is not execuatble”.

 

pic4

 

Share

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.