I Can Do I.T.
Tuesday, 31 May 2016
[Shell] How to check for the correct number of arguments
1 2 3 4
if
[
"$#"
-ne 2 ];
then
echo
"Usage: $0 [IMAGE_NAME] [SNAP_UUID]"
exit
1
fi
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment