Question: help in UNIX please Write a function that takes the directory name as an argument and writes to standard output the maximum of the lengths

help in UNIX please

Write a function that takes the directory name as an argument and writes to standard output the maximum of the lengths of all filenames in that directory. If the functions argument is not a directory name, write an error message to standard output and exit with nonzero status.

Name the shell file to be maxfilename

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!