本文共 205 字,大约阅读时间需要 1 分钟。
2、$( )与“(反引号)
在bash shell中,$( )与“(反引号)都是用来做命令替换(command substitution)用的。
$ echo the last sunday is $(date -d "last sunday" +%Y-%m-%d)
得到上一星期天的日期
一般情况下,
转载地址:http://runof.baihongyu.com/