Hi
I want to list a file with string "r" and "d" in the file name. I have tried the following command but it didn't work
ls [rd]*
Plz help
Hi
I want to list a file with string "r" and "d" in the file name. I have tried the following command but it didn't work
ls [rd]*
Plz help
in the directory try:
Code:ls | egrep 'r|d'
Is the order significant? Does the letters have to be right next to each other?
Try 'grep' with 'ls'.
For example
ls | grep "[rd]"
Bookmarks