I just started using git bash today for an udacityUdacity 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 the turnitup folder.
- 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 /desktopmv test.txt /desktop
while I'm in the path ~/desktop/turnitup~/desktop/turnitup
.
Whenever I do this, I get an error message "mv: cannot move 'test.txt' to '/desktop' : Permission denied".
mv: cannot move 'test.txt' to '/desktop' : Permission denied".
How do I get around this so that I can move the test.txttest.txt
file back to the desktop location where it was originally created?