I just started using git bash today for an Udacity class.
- I've created a file called
test.txt
and I've saved it to my desktop. - I've created a folder called
turnitup
in my desktop. - I then moved
text.txt
to theturnitup
folder.
I try to move test.txt back to the desktop by using mv test.txt /desktop
while I'm in the path ~/desktop/turnitup
.
Whenever I do this, I get an error message:
mv: cannot move 'test.txt' to '/desktop' : Permission denied".
How do I get around this so that I can move the test.txt
file back to the desktop location where it was originally created?