IT-SDK-Shell

From wiki.samerhijazi.net
Revision as of 16:54, 28 November 2022 by Samerhijazi (talk | contribs) (Samerhijazi moved page IT-OS-Dev-Shell to IT-SDK-Shell without leaving a redirect)
Jump to navigation Jump to search
#!/bin/bash
 
read -p "How many Pods: " pods
if [[ $pods =~ [^0-9] ]]
    then
        echo "Sorry integers only"
fi
if [ -z "$pods" ]
    then
        pods=1
fi
echo "Setting Pods to ${pods}."