Browse your files as root
The whole root thing is a difficult hurdle for us seasoned Windows users. Sometimes all you want to do is change permissions, or move a file into a root directory, and the command line stuff is daunting.
The easy way? At the command line, type sudo nautilus. This opens the file browser in the familiar Windows-looking format, but you're logged on as root. BEWARE! you can do a lot of damage as root, so don't make much of a habit of using this.
Say there's a file you want to run as a non-root user, or you want to make a file executable. Just right-click the file in Nautilus and click Properties, then in the Premissions tab, make your changes.
Easy!
The easy way? At the command line, type sudo nautilus. This opens the file browser in the familiar Windows-looking format, but you're logged on as root. BEWARE! you can do a lot of damage as root, so don't make much of a habit of using this.
Say there's a file you want to run as a non-root user, or you want to make a file executable. Just right-click the file in Nautilus and click Properties, then in the Premissions tab, make your changes.
Easy!

1 Comments:
There are two different types of applications. Command line and GUI apps. Command line apps do everything in the terminal, GUI apps are point and click (like nautilus). When you're using a command line app, always use sudo to give it root powers. When you're using a GUI app however it's better to use gksudo. Sudo on GUI apps can cause some conflicts.
Post a Comment
<< Home