If you find yourself opening nautilus as root often, I would recommend adding the option to the right-click menu in Unity: (it uses the same command as the top answer,
You will need to edit a
*.desktop file in order to add the menu option, and you have two choices:
/usr/share/applications/nautilus.desktop (requires root access to edit) - The menu option will be added for all users. Note that you may need to re-edit this file, adding the option if an update to Nautilus occurrs that overwrites your changes.
~/.local/share/applications/nautilus.desktop (If you can't find it there, make a duplicate of the one found in
/usr/share/applications/, and save it to this new location) - The menu option will only be available for the specified user, and is considered "better practice". Note that if you already have it docked to your Unity bar, you will need to choose
Unlock from Launcher on your existing Nautilus icon (by default shows up as named
Files), then re-add your "custom" version. These changes should stay even if Nautilus gets an update.
Edit the text file
nautilus.desktop, adding the following block of code (you can use the existing two blocks as a template):
[Desktop Action RootWindow]
Name=Open a Root Window
Next, add the new action to the list (should be at around line 18 of the text file):
Now right-clicking the text editor window in Unity brings up this handy new option: