Outputting contents with cat, can't tell what I'm doing wrong


#1

I'm currently on the sixth exercise of redirection for learning command lines, and the final part of the exercise is having me output the contents of a file called islands.txt using the cat command.
I put cat < islands.txt into the terminal, and it outputs the contents just fine, but it's still labelled incorrect. Is there some sort of syntax I'm forgetting?


#2

@chiprockstar81289,
have you tried it with

cat islands.txt

#3

That worked, thank you. Do you think you could tell me why my original command wasn't accepted, though? Both ways elicit the same output


#4

@chiprockstar81289,
here a link with unix command description
http://www.tutorialspoint.com/unix/unix-useful-commands.htm
=or=

= http://discuss.codecademy.com/t/command-prompt/11817/2?u=leonhard_wettengmx_n