9.3.3  命令替换

更新于 2026年10月13日 版权声明
9.3.3 命令替换

看一个实例:

$echo there are$(who|wc-l)users on the system

there are 3 users on the system(https://www.daowen.com)

$()也可以用抑音括起符号″代替:

$echo there are′who|wc-l′users on the system

效果相同,且更简捷。

✍AI写作