grep either or?
It's kind of hard to explain what I want to do. But say I have a directory with:bleh_stuff
bleh_fun
bleh_games
ar_stuff
ar_fun
ar_games
ram
proc
cpu
Now, to list all the things with "bleh" in them, I'd do ls | grep bleh. Or to list everyting with "ar" in them, I'd do ls | grep ar, or to list things with both of them in there, I would do ls grep bleh | grep ar.
However, what I want to do, is list things with either "bleh" or "ar" in them. So the output would be:
bleh_stuff
bleh_fun
bleh_games
ar_stuff
ar_fun
ar_games
I searched through the man pages, and I saw you could use regex, but I'm really bad with regex.
Any ideas?