标签:
(1)
root@tcx4440-03:~# value1=/etc/
root@tcx4440-03:~# value2=yum.repos.d/
root@tcx4440-03:~# value3=${value1}${value2}
root@tcx4440-03:~# echo $value3
/etc/yum.repos.d/
(2)
root@tcx4440-03:~# echo $value1$value2
/etc/yum.repos.d/
(3)
root@tcx4440-03:~# value3=${value1}.gz
root@tcx4440-03:~# echo $value3
/etc/.gz
标签:
原文地址:http://www.cnblogs.com/Berryxiong/p/4809276.html