Reputation: 125
I would like to have only txt file in a folder. i tried cd folder
then ls *.txt
.
I have the good result. but now i would like to have the result using only one linux command.
I tried ls *.txt folder
and cd folder| ls *.txt
.
how to do?
Upvotes: 0
Views: 205