I want to write a shell script that matches the filenames to a given string that I enter in the command line during runtime. I want to be able to match patterns in a filename.
Like if the string is 'questi' and the folder contains 'question1.c', 'question2.c', questions.doc' those should get displayed as the answer.