Some useful commands that can be used in for-loops or other commands to do various tasks.
# 3t srv list | awk '/srv/ {print $1}'
srv1
srv2
# 3t srv list | awk '/srv/ {print substr($1,RSTART+4)}'
1
2
# for i in `3t app list | awk '/'yes\|no'/ {print $1}'` ; do echo $i ; 3t app config $i --boundary ; read ; done
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|