I am using git bash for windows and I am trying to access my desktop. When I enter the command cd ~/desktop I get the following message:
bash: cd: /h//desktop: No such file or directory
What am i doing wrong?
See attached screenshot.enter image description here
right click on the mouse when you are in desktop and choose Git Bash Here, then your present working path will be '~/Desktop/'
or if you just want to use 'cd' to change your working path,then maybe the first letter of 'desktop' should be capitalized. Which means:
$cd ~/Desktop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With