Step 3. Your First Redirect trouble


#1

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


#2

@byteslayer52410,

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

#3

thank you very much!