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.
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:
press enter and input your password when prompted.
Presto, the gedit editor should be running with root permissions!