Don't understand this "cd ../../2014/dec"


#1

https://www.codecademy.com/courses/learn-the-command-line/lessons/navigation/exercises/mkdir?action=lesson_resume

hi every one, I just have a simple and small question, why in this exercise, this command line “cd …/…/2014/dec” why there are two " …/" behind the “cd”?
Thank you so much!


#2

It should be ../ not .../

we use .. move up one directory.
for example:

suppose you are in feb directory and you command like

cd ../

then you’ll go to its parent directory that is 2015.so if you command like

cd ../../

then simply you’ll go to my-blog directory.


#3

Thank you so much!
I understand now !


#4

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