how to copy file to root

Asked by Dsharp on 2006-12-23

I need copy a file to the root but get don't have permission

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
williamts99 (williamts99) said : #1

You can use the sudo command to gain root privileges. If you are using nautilus to copy your file(s) you can go to the terminal and use

sudo nautilus

which will run nautilus with root capabilities.

Best Regards,

Williamts99

sudo cp /path/to/file1 /file2

bye ;)

Can you help with this problem?

Provide an answer of your own, or ask Dsharp for more information if necessary.

To post a message you must log in.