$ cat < deserts.txt

< takes the standard input from the file on the right and inputs it into the program on the left. Here, deserts.txt is the standard input for the cat command. The standard output appears in the terminal.



In the terminal type:

cat < lakes.txt

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?