ONTAP Discussions

OR operator in the cluster CLI

Tirthaghy

Hello everyone,

 

I am little confused as to how the OR operator work.

 

How will vol show svm03|test*    and vol show test|svm03* supposed to be different?

 

Thank you much,

 

-T

 

 

1 REPLY 1

Re: OR operator in the cluster CLI

Emile-Bodin

Hi Tirthaghy,

 

It is not clear what you are trying to accomplish but,

 

this command will show the volume with the exact name svm03 and the volume(s) which start with the name test

::> vol show svm03|test* 

 

this command is the other way around, it will show the volume with the exact name test and the volumes which start with the name svm03

::> vol show test|svm03*  

 

Regards

 

Emile

 

View solution in original post

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public