Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Hello I would like to enter a text file with some code in this directory(etc/usb_modswitch.d). How can I do this? please help me. I have try to do this by just move the file but it's a root directory so I got the message permission denied! So How can I become the root and able to copy paste a file there or is it possible to to do this changes by using terminal? Thanks. My os is ubuntu 11.10 version.

share|improve this question
add comment

1 Answer 1

Open a terminal by pressing ctrl+alt+t (don't worry, you'll use it only to invoke the text editor with sudo privileges).

On the terminal type:

sudo gedit

press enter and input your password when prompted.

Presto, the gedit editor should be running with root permissions!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.