标签:
#Set JAVA_HOME=/root/deploy_ws/jre1.8.0
#PATH="$PATH:/home/user/bin"
#var="12345"
#echo ${#var}
#echo $SHELL
#echo $UID //如果是root user,输出0
#var=1
#let var++
#echo var
#echo $[2+3]
#echo $((2+3))
#echo 4*0.56 | bc
#echo "4 * 0.56" | bc
#echo "scale=3;3/8"|bc
.375
#echo "obase=2;$val" | bc //十进制转换为二进制
#val=1010
# echo "obase=10;ibase=2;$val" | bc
10
标签:
原文地址:http://www.cnblogs.com/KarenWang/p/4552318.html