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.
タイトルが言うこと。bash では、次のようにします。
$ echo [a-z] b t
とはb tどういう意味ですか? [ ]このコンテキストで演算子に特別な意味はありますか?
b t
[
]
は[a-z]、名前が 1 文字で構成されるファイルに一致するパターンです。あなたの場合、現在のディレクトリには と という名前の 2 つのファイルがbありtます。一致するファイルがない場合、パターンはリテラル テキストとして扱われます[a-z]。
[a-z]
b
t