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.

I need help with Unix commands -

Provide the full Unix command, using I/O redirection, that stores the contents of file A into a new file called D.

Provide another Unix command that stores the contents of file A into a new file called E, using a pipe.

Thanks

share|improve this question

migrated from stackoverflow.com Aug 29 '09 at 18:32

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

2  
Doesn't this belong on Superuser.com? –  rightfold Aug 29 '09 at 18:30
13  
Please put a little bit of effort into your homework before asking for help here. –  RichieHindle Aug 29 '09 at 18:30

2 Answers 2

In the spirit of teaching a man to fish, I recommend that you look into borrowing or purchasing a copy of The Unix Programming Environment or a similar book.

Cover of The Unix Programming Environment

share|improve this answer
cat A > D
cat A | cat > D # Does this count? It does use a pipe.

Also take a look at man bash and man cat

share|improve this answer

Your Answer

 
discard

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