/ Published in: Bash
URL: http://linuxcommand.org/wss0130.php
Expand |
Embed | Plain Text
#!/bin/bash if [ "$1" != "" ]; then echo "Positional parameter 1 contains something" else echo "Positional parameter 1 is empty" fi
You need to login to post a comment.
