Filter by:
  • Solution
  • Technology

answers

tmsh show - question

Updated 1/15/2013 • Originally posted on 15-Jan-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 ?

 

 

 

0
Rate this Question

Answers to this Question

4 Answers:

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
Updated 15-Jan-2013 • Originally posted on 15-Jan-2013 by nathan 5068
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
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
Updated 15-Jan-2013 • Originally posted on 15-Jan-2013 by Pia 0
Wonderful - the -q option is exctly what I was looking for.

many thanks nathan !
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
Updated 15-Jan-2013 • Originally posted on 15-Jan-2013 by Pia 0
Wonderful - the -q option is exctly what I was looking for.

many thanks nathan !
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
Updated 15-Jan-2013 • Originally posted on 15-Jan-2013 by nathan 5068
Pia - glad I could be of help
;