單項選擇題shell中,輸出字符串str的長度應(yīng)該用以下哪條語句?()

A.echo ${!str}
B.echo ${#str}
C.echo ${str[*]}
D.echo ${str[@]}


您可能感興趣的試卷

最新試題