+1 714-215-3097

(Solved) : Write Shell Script Takes File Argument Checks See Directory Directory Script Print Error M Q35557827

Write a shell script that takes in a file as an argument andchecks to see if it is a directory. If it is not a directory, thescript should print an error message and terminate immediately. Ifit is a directory, print out the number of files that contain“test” either in the extension or in the file name.

Leave a Reply

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