Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
#!/bin/bash | |
#set -x | |
#set -e | |
k3d delete --name='k3s-default' | |
k3d create --workers 1 --image rancher/k3s:v0.8.1 && | |
declare -i i; i=0 | |
until k3d get-kubeconfig --name='k3s-default' | |
do | |
if (( i > 20 )); then | |
break |