I am new to linux. Is it possible for a ls command to return a list of files containing "PRO" in its file name and belong to pli file type.
I have researched and identified that
ls -c -lt *.PLI will return a files of ".pli" type and
ls -c -lt *PRO* will return file which has PRO in its file name.
If folder contain
aaaaaPROaaaaa.PLI, aaaaaPROaaaaa.PSO, aaaaaPROaaaaa.txt, bbbbbPRObb.PLI and bbbbbPRObb.txt, then I need to ls command to return only
aaaaaPROaaaaa.PLI and bbbbbPRObb.PLI
If it is not achievable through ls command can we achieve it through find command ?