#/bin/bash
FIRST_NAME=$1
LAST_NAME=$2
SHOW=$3
if [ "$SHOW" = "true" ]; then
echo "Hello, $FIRST_NAME $LAST_NAME"
else
echo "If you want to see the name, please mark the show option"
fi
Run script
./script.sh Penguin Technology true
#/bin/bash
FIRST_NAME=$1
LAST_NAME=$2
SHOW=$3
if [ "$SHOW" = "true" ]; then
echo "Hello, $FIRST_NAME $LAST_NAME"
else
echo "If you want to see the name, please mark the show option"
fi
Run script
./script.sh Penguin Technology true
0 comments:
Post a Comment