Check if Multiple Arguments Aug 16, 2023 • Ulysses If your Bash script calls for 3 arguments, here’s how to check it. <pre lang="bash"> if [ "$#" -ne 3 ] then echo "Usage: ./script.sh project diskname policy" exit fi You can adjust -ne 3 to any number based on the number of required arguments.