Command line - redirection - Stage 7 - Task 3

Hello everybody,

The link for the exercise is as follows:

For the third task, one needs to type “cat lakes.txt | sort > sorted-lakes.txt”.

Can I also type “cat lakes.txt | sort | cat > sorted.lakes.txt”? If yes, is there a difference doing so?

Thank you,


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