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
Get step-by-step solutions from verified subject matter experts
