可以啊: [root@iZ11eorublsZ tmp]# x=a [root@iZ11eorublsZ tmp]# y=b [root@iZ11eorublsZ tmp]# touch $x"/"$y touch: cannot touch `a/b': No such file or directory [root@iZ11eorublsZ tmp]# mkdir a [root@iZ11eorublsZ tmp]# touch $x"/"$y [root@iZ11eorublsZ tmp]# ll a/b -rw-r--r-- 1 root root 0 Aug 5 13:11 a/b 把你的几个变量值也同时给出来,包括你执行的结果
可以啊:
把你的几个变量值也同时给出来,包括你执行的结果