AtrusDni
06-29-2007, 11:11 PM
Hey guys, I am trying to use the `ls` command, and I have different lists of objects, for ex:
sphere1 sphere2 sphere3 sphere4 box1 box2 box3 box4
I know I can go through and do a `ls "box*"` or `ls "sphere*"`, then go through a for loop and delete them, but is there a way to do the ls command all in one line? so something like `ls "box*, sphere*"`? Any ideas would be appreciated. Thanks!
sphere1 sphere2 sphere3 sphere4 box1 box2 box3 box4
I know I can go through and do a `ls "box*"` or `ls "sphere*"`, then go through a for loop and delete them, but is there a way to do the ls command all in one line? so something like `ls "box*, sphere*"`? Any ideas would be appreciated. Thanks!
