var2=`echo "hello world"|awk -F ' ' '{print $1}'` echo $var2