#! /bin/bash vehicle=$1 case $vehicle in "car" ) echo "Rent of $vehicle is 100 dollar" ;; "van" ) echo "Rent of $vehicle is lxxx dollar" ;; "bicycle" ) echo "Rent of $vehicle is v dollar" ;; "truck" ) echo "Rent of $vehicle is 150 dollar" ;; * ) echo "Unknown vehicle" ;; esac
Shell Scripting Tutorial For Beginners 12 - The Illustration Statement
Posted by Hold
on January 23, 2017
0 comments:
Post a Comment