Variable
NAME="John"
echo $NAME
echo "$NAME"
echo "${NAME}
Condition
if [[ -z "$string" ]]; then
  echo "String is empty"
elif [[ -n "$string" ]]; then
  echo "String is not empty"
fi
Delete Golang Build Caches

Useful when you have lots of golang projects under a org

rm -rf ./src/kubedb.dev/*/.go/cache/
Sort top 10 directories with most storage used
du -s * | sort -nr | head -n10
install gdu

Run godu to analyze disk usage for a specific directory. Use arrow keys on the keyboard to navigate through the file system. It is implemented in the Go programming language, known for its efficiency and performance.

sudo apt install gdu
gdu