tmsh show - question

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 ?

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