This section explains in a very simple and practical way how to use pipes, nd why you may want it.
Pipes let you use (very simple, I insist) the output of a program as the input of another one
This is very simple way to use pipes.
        ls -l | sed -e "s/[aeio]/u/g"   
        
Probably, this is a more difficult way to do ls -l *.txt, but it is here for illustrating pipes, not for solving such listing dilema.
        ls -l | grep "\.txt$"