怎样引用变量(就是让系统识别这个变量)? 有两种方式:$() 和 `` ``适合于所有的,反向单引号 $()适合于shell 实验步骤如下 echo time is date echo time is `date` echo time is $(date) time=`date` echo $time vim test.pl #!/bin/bash print $(date) perl