Using recursive command outside tmsh, from bash

Hi!

I am trying to get this command running without luck:

tmsh list ltm virtual recursive /* one-line | wc -l
01020036:3: The requested Virtual Server (/bin) was not found.

Please advise

Thank you

J

Try this →

tmsh -q -c "cd /; list ltm virtual recursive"

If you want to use your expression, you should write manually the partition name.

KR, Dario.