I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
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.
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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
Hello Ben, I am assuming that user is in the
practice
dir and then I am going one level up and usingcd
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