I have a file I need to move from the Desktop folder to the usr/java folder.
What I have tried:
I tried using the Nautilus Files utility and got a "permission denied" error.
I tried usingmv, and gotCannot Stat '/desktop/jre-8u241-linux-x64.tar.gz': No such file or directory.
1 Answer
Your desktop is in /home/your_user_name/Desktop. Letters' register is important in Linux systems. desktop and Desktop are different folders. Also, run Nautilus as root from terminal, if you want it to work with root user's folders.
If you want to move files into root user's folders using terminal, use sudo command:
$ sudo mv /home/your_user_name/Desktop/jre-8u241-linux-x64.tar.gz /usr/java/