Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral


Questions and Answers

Loading... Loading...
question1/15/2013 by Pia 0

Hi,

 

this is a hopefully very silly question and thus easy to answer. I try to use

 

tmsh show /gtm wideIp

to get the statistics for all wideIps into a simple text file - unfortunately I always get a confirmation prompt

"Display all 1347 items? (y/n)"

How can I get rid of the prompt ?

 

 

 


4 Answer(s):

Pia,

Not tested this myself but from another post I recall their are potentially two options.

1. Using echo y | tmsh show......
2. Using the -q TMSH switch. "-q prevents tmsh from responding to user actions with questions. This option is useful when writing non-interactive shell scripts from the system shell."

Hope this helps,
N
Wonderful - the -q option is exctly what I was looking for.

many thanks nathan !
Wonderful - the -q option is exctly what I was looking for.

many thanks nathan !
Pia - glad I could be of help

Your answer:

You must be logged in to reply. You can login here.