Step 3. Your First Redirect trouble


In exercise three of redirect, Your first redirect, I am stuck on the last step, which says to Use cat to view the contents of continents.txt.

i have tried

$ cat oceans.txt > continents.txt
$ cat > continents.txt



The cat command
opens-the-file and will display-the-contents

With the redirect > operator
the display-the-contents can be redirected to another file....

cat  oceans.txt > continents.txt

If you now want to Display the contents of the continents.txt file
you use

cat continents.txt


thank you very much!