- Code: Select all
egrep -A23 '^[[:space:]]+${CTID}:'
Here ${CTID} is the ID of the container you are interested in.
In case you want to print UBC values for a few containers at once, set CTID to something like (101|102|103).
egrep -A23 '^[[:space:]]+${CTID}:'