#! /bin/bash ## run as su ## movevb ## This scripts download the sheltx.vdi file from http://www2.fizik.usm.my/tlyoon/Downloads/ to /home/VB. The downloaded file is then renamed windowsXP.vdi ### Downloading of the .vdi file takes up quite a bit of time since the virtual hardisk .vdi is large. mkdir /home/VB cd /home/VB ### Copying with scp, slow ################################################ # scp tlyoon@10.205.19.205:/home/tlyoon/repo/VirtualWindows/windowsXP.vdi /home/VB/. wget http://10.205.19.205/tlyoon/Downloads/sheltx.vdi mv sheltx.vdi windowsXP.vdi ### Copying with scp, slow ################################################ chown root:users /home/VB/windowsXP.vdi chmod -R 777 /home/VB/windowsXP.vdi echo -e "\nMessage from the author :\nCOMPLETE!!! \n"