Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要演示命令替换、变量替换和通配符发生的顺序。关于如何做的任何想法?
命令替换 < globbing
ls $(echo '*')
否则, * 不会被扩展。
变量扩展(不是替换)< globbing
x='*' ; ls $x
原因同上。