[wangshumin@CentOSNode3 ~]$ echo $aa
[wangshumin@CentOSNode3 ~]$ bb="hello world"
[wangshumin@CentOSNode3 ~]$ echo bb
bb
[wangshumin@CentOSNode3 ~]$ echo $bb
hello world
[wangshumin@CentOSNode3 ~]$ bb=hello world
bash: world: 未找到命令...
[wangshumin@CentOSNode3 ~]$ bb=hello
[wangshumin@CentOSNode3 ~]$ echo $bb
hello
[wangshumin@CentOSNode3 ~]$ echo "$bb"
hello
[wangshumin@CentOSNode3 ~]$ echo '$bb'
$bb
[wangshumin@CentOSNode3 ~]$ cc=`ls /root`
ls: 无法打开目录/root: 权限不够
[wangshumin@CentOSNode3 ~]$ sudo cc=`ls /root`
ls: 无法打开目录/root: 权限不够
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] [VAR=value]
[-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file ...
[wangshumin@CentOSNode3 ~]$ sudo cc=$(ls /root)
ls: 无法打开目录/root: 权限不够
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] [VAR=value]
[-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file ...
[wangshumin@CentOSNode3 ~]$ aa=123
[wangshumin@CentOSNode3 ~]$ echo "$aa"456
123456
[wangshumin@CentOSNode3 ~]$
[wangshumin@CentOSNode3 ~]$ bb="hello world"
[wangshumin@CentOSNode3 ~]$ echo bb
bb
[wangshumin@CentOSNode3 ~]$ echo $bb
hello world
[wangshumin@CentOSNode3 ~]$ bb=hello world
bash: world: 未找到命令...
[wangshumin@CentOSNode3 ~]$ bb=hello
[wangshumin@CentOSNode3 ~]$ echo $bb
hello
[wangshumin@CentOSNode3 ~]$ echo "$bb"
hello
[wangshumin@CentOSNode3 ~]$ echo '$bb'
$bb
[wangshumin@CentOSNode3 ~]$ cc=`ls /root`
ls: 无法打开目录/root: 权限不够
[wangshumin@CentOSNode3 ~]$ sudo cc=`ls /root`
ls: 无法打开目录/root: 权限不够
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] [VAR=value]
[-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file ...
[wangshumin@CentOSNode3 ~]$ sudo cc=$(ls /root)
ls: 无法打开目录/root: 权限不够
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] [VAR=value]
[-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file ...
[wangshumin@CentOSNode3 ~]$ aa=123
[wangshumin@CentOSNode3 ~]$ echo "$aa"456
123456
[wangshumin@CentOSNode3 ~]$