1

I want to clear space on my computer in order to download drivers for my internet, so I tried moving files to a different location.

Unfortunately I don't have permission to do this. How do I change this? I should point out that I am not logged in; I think I'm a guest or something because if I log in I cannot gain access to the internet to download the drivers that I need, so I'm using the live cd in Try Ubuntu mode to try achieve downloading the drivers.

Zanna
  • 72,312
James
  • 19

2 Answers2

0

To move files, you can use (1) sudo to execute a command as the root and ()2) mv to move them. You must open a Terminal, for instance, by pressing Ctrl+Alt+T on your keyboard to open Terminal and run the follwing command:

$ sudo mv -f -i <Source> <Destination>

The -f option will force the move. The -i will instruct mv to ask for permission before overwrite some file. Example: sudo mv -f -i /home/user/test /home/user/test1

To copy the files, you can use

sudo cp -i -v <Source> <Destination>

Example: sudo cp -i -v /home/user/test /home/user/test1

Jaime
  • 1,440
-1

If you use the Try Ubuntu feature and fire up Terminal, type in the following command:

    sudo su

This will log you in as super user without typing a password. You should see the word root before the prompt. Then you can change directory and you will have permission.