shell中执行命令并将结果赋值给变量 Posted on 2018-06-14 | In linux 使用反引号可以将命令结果赋值给变量 1my_name=`whoami` Post author: evilvoid Post link: http://www.evilvoid.cn/2018/06/14/shell中执行命令并将结果赋值给变量/ Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.