日期:2014-05-16 浏览次数:20734 次
#!/bin/bash
HIBENCH_HOME="/hadoop/intel-hadoop-HiBench-4aa2ffa"
JOBS_HOME="/hadoop/result/jobs"
./b.sh
echo 1111
echo ${HIBENCH_HOME}
echo ${JOBS_HOME}
#!/bin/bash
export HIBENCH_HOME="/hadoop/intel-hadoop-HiBench-4aa2ffa"
export JOBS_HOME="/hadoop/result/jobs"
./b.sh
hadoop3@linux-240:~> cat aa.sh
name="x y z"
echo $name
echo "$name"
echo '$name'
hadoop3@linux-240:~> sh aa.sh
x y z
x y z
$name
hadoop3@linux-240:~>