Ubuntu - mv: moving a directory -


I am still new to Ubuntu and command ... and I try to move the directory to jdk1.7.0_02 I am using this command in a file / directory path.

  sudo mv ./jdk1.7.0_02/usr/lib/jvm/jdk1.7.0  

i already use a sudo command using a zipped Jdk7u2 folder is uncompressed

So I tried to:

  Sudo mv jdk1.7.0_02 ./jdk1.7.0_02/usr /lib/jvm/jdk1.7.0  

found this error:

  MV: can not 'Jdk1.7.0_02' to './jdk1 7.0_02 / usr / lib / jvm / jdk1.7.0 ': Any such file or directory  

Anyone can help me understand and solve it. Thank you very much: D

MV takes two logic source and destination Sudo MV / Jdk1.7.0_02 / usr / lib / jvm / jdk1.7.0 is no destination of command Sudo MV jdk1.7.0_02 ./jdk1.7.0_02/usr/lib/jvm/jdk1.7.0 In this command, you are taking yourself to the directory. Consider cutting and dimming a directory in Windows. That's what you are doing, what you should do, something like sudo mv jdk1.7.0_02 jdk1.7.0 . This source and destination is not separate and overlapping.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -