如何在shell中執(zhí)行字符串拼接起來的命令c?
[root@localhost ~]# a=123You have new mail in /var/spool/mail/root[root@localhost ~]# b=456[root@localhost ~]# echo $a$b123456[root@localhost ~]# c=$a$b[root@localhost ~]# echo $c123456
如何在shell中執(zhí)行字符串拼接起來的命令c?
[root@localhost ~]# a=123You have new mail in /var/spool/mail/root[root@localhost ~]# b=456[root@localhost ~]# echo $a$b123456[root@localhost ~]# c=$a$b[root@localhost ~]# echo $c123456