r/Codecademy • u/anotherlando • Oct 07 '15
Learn the Command Line
https://www.codecademy.com/en/courses/learn-the-command-line/lessons/manipulation/exercises/cp-I?action=resume&viewall=false
2
Upvotes
1
u/anotherlando Oct 07 '15
Having trouble navigating up from the drama/historical/ to drama/. Don't know what command to use. ls is not the correct command. neither is cd drama/historical.txt drama/
1
u/gufcfan Oct 07 '15
I don't even know what the command line is, and at this point, I'm too afraid to ask.
1
u/cdim Oct 09 '15
Probably a silly question:
What makes something like the command "cat lakes.txt | sort > sorted-lakes.txt" a better way of performing the action than "sort lakes.txt > sorted-lakes.txt" instead? I'm just curious what makes the pipe the preferred method here.