DEV Community

Discussion on: Introduction To The Command-Line Interface

Collapse
 
moopet profile image
Ben Sinclair

Your "tidy up" section implies you're missing a step. You create a directory, then move up a directory, then try to delete the directory you created. You never changed into it, so you're now in the wrong place.

Collapse
 
ialtafshaikh profile image
Altaf Shaikh

Hello Ben, I am assuming that user is in the practice dir and then I am going one level up and using cd command (without path) to check the present working dir and not for changing the dir. so that we can delete it from the parent dir.

Hope you got clarity on this : D