Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

List in long form files in the directory /etc for the file "ETCDIR" and view them, while the monitor sequential manner.

How can I do this with the commands tee and more?

share|improve this question

migrated from stackoverflow.com Mar 20 '10 at 11:43

This question came from our site for professional and enthusiast programmers.

1  
Smells like homework. –  Ignacio Vazquez-Abrams Mar 20 '10 at 0:50
    
No need for tee here. –  BeowulfOF Mar 20 '10 at 12:31

1 Answer 1

Your question doesn't make sense, but I think this is what you want

ls -l /etc | tee ETCDIR
share|improve this answer
    
ls -l /etc | tee ETCDIR | more –  Dennis Williamson Mar 20 '10 at 12:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.