请教各位老师1个shell 脚本的问题

ab(){
name=“$1”
echo “$name”
ck=“tiup cluster exec $name --command "hostname -I|awk ‘{print $1}’"”
}
ab “test”

1 个赞