Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • sorry I meant ls *.tx that would work Commented Feb 9, 2016 at 22:18
  • how would I use it in this case? Commented Feb 9, 2016 at 22:22
  • What do you expect in here? To list files ending in .tx and .txt or really want to know if an "optional" character can be attached? Commented Feb 9, 2016 at 22:27
  • @tachomi like I already under how to show files ending in .tx but what command will list files that end in .tx with an optional t at the end Commented Feb 9, 2016 at 22:31
  • why not just do ls *.tx *.txt? Commented Aug 28, 2020 at 23:43