8

how to view a list of txt file in a folder?

view full story
linux-howto

http://stackoverflow.com – 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? (HowTos)