Hi Friends,
We have four filenames with first few digits are identical.From those files, i need to pick up 2 files based on my parameter.
The following example will give more information to understand my question.
Files in the directory:
small_customer_aa.csv
small_customer_ab.csv
small_customer_relate_aa.csv
small_customer_relate_ab.csv
I'll pass the small_customer as a parameter to shell script.
My expected flenames as below
small_customer_aa.csv
small_customer_ab.csv
i'have tried to use
$ls -a small_customer*.csv
but it will give all the filenames.
Thanks in advance for your valueble solutions.
Regards,
HAA