Forum Discussion
Micros_88999
Nimbostratus
May 02, 2014How to auto yes to tmsh show command ?
Hello,
I would have one problem in tmsh. From bash I could check the configured virtual servers name :
From bash
echo yes | tmsh show ltm virtual | grep $
tmsh -q show ltm virtual | gr...
Hamish
Cirrocumulus
May 02, 2014Nitas has already answered your tmsh CLI question, but from bash, normally tmsh detects when you're running interactive or not (i.e. redirect to a pipe). And ONLy asks for confirmation when you're interactive. For Example
bash tmsh show ltm virtual | grep CPU
will NOT prompt for all objects and simply send all the output to the pipe for passing to grep.
So from bash your 'echo yes |' is wasted cycles...
H
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects