5 lines
212 B
Bash
Executable File
5 lines
212 B
Bash
Executable File
#!/bin/bash
|
|
[ -z "$1" ] && echo "no prefix zone found !!
|
|
All zones can be display with: upctl zone list" && exit 1
|
|
upctl zone list | grep $1 | awk '{ print $1}' | sed 's/^/\| "/g' | sed 's/$/"/g' | tr -d "\n"
|