Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

xargs column cut linux

kubectl get pods | grep xxxxx | cut -d" " -f1 | xargs -I {} kubectl delete pods {} --grace-period=0 --force 
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #xargs #column #cut #linux
ADD COMMENT
Topic
Name
8+5 =