How to navigate up to one directory please? Thanks you all mates


You can use cd .. to return one directory above where you currently are.

// lets say you're here
// and you use cd .. here
C:\Users\Username> cd ..
// you will end up here

The structure provided C:\folderName\anotherFolderName> is actually from Windows, and this course is for Unix based systems.
On Unix systems, it would be a bit different. On Codecademy you can see it is like this (if you execute pwd)

// it can be something different depending on where you are currently located

Using cd .. would look like this on Unix systems

$ cd ..

You would write it after the $ sign.