Published
- 1 min read
bash command check 2 arguments
The solution for this is noted below
bash command check 2 arguments
Solution
if [ $# -lt 2 ]; then
# TODO: print usage
exit 1
fi
Try other methods by searching on the site. That is if this doesn’t work