sh04.sh
#!/bin/bash
#program
# user inputs 2 integer numbers;program will cross these two numbers.
#History:
#2014/01/06 yusiyu First release
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
echo -e "you should input 2 numbers,i will cross them!\n "
read -p "first number: " firstnu
read -p "second number: " secnu
total=$(( $firstnu * $secnu ))
echo -e "\nthe result of $firstnu x $secnu is ==> $total"
#!/bin/bash
#program
# user inputs 2 integer numbers;program will cross these two numbers.
#History:
#2014/01/06 yusiyu First release
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
echo -e "you should input 2 numbers,i will cross them!\n "
read -p "first number: " firstnu
read -p "second number: " secnu
total=$(( $firstnu * $secnu ))
echo -e "\nthe result of $firstnu x $secnu is ==> $total"