shell 变量赋值 (1)VAR=value (2)read VAR (3)VAR=`date` 或 VAR=$(date) 如果字符串里包含空格,就必须用引号把他们括起来,此外等号两边不能有空格 var=“hello world”