search function (bash script)
Here are some questions for all bash scripting experts out there
1. How do I implement a recursive search function in a bash script ? For example, If I type the name of a directory, it would then start searching that specified directory. What does it search for, you ask ? well, how about : the longest named file ?
2. Here's another one, but instead of searching directories, it searches for files. If I type several filenames, it would then perform a search. The final result would then display the newest file from the list.
Hope to hear a reply soon. And Thank you in advance !