Cat volcanoes.txt | wc | cat > islands.txt


cat volcanoes.txt | wc | cat > islands.txt

Hi everyone, i am confused by the above exercise as i typed the above line and the response from the terminal is giving me back the same line as the response.

The following exercise requires us to "Use cat to output the contents of islands.txt. Notice that three numbers appear as output." but after i tried to key in "cat islands.txt" the terminal again repeats my same line of response.
Is there any problem here?

Appreciate any help!


It's very hard to make out what events you're describing and what you're asking. You talk about the response of a command which produces no output (because it's redirected elsewhere) and you say the response is the same as the response? It's even harder yet to guess what you think should have happened instead


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.