-   Linux - Newbie (
-   -   linux root folder (

nitin chhabra 11-04-2012 05:02 AM

linux root folder
how to access root folder in file system.

pixellany 11-04-2012 05:06 AM

Do you mean the "root" of the file system? This is normally designated simply as "/".

OR--do you mean the user folder belonging to the "root user"? This is /root

Either way, access is the same as with any other folder---using cd, ls, and other commands.

Please tell us more about what you are trying to do.

nitin chhabra 11-04-2012 05:06 AM

first enter as root user
in terminal type
su <enter>

shivaa 11-04-2012 05:07 AM

Everthing starts from root folder and it is denoted by a "/". So just do-

% cd /
% pwd

pixellany 11-04-2012 05:46 AM

Did we answer OP's question?
Did OP HAVE a question?
time will tell.......;)

DavidMcCann 11-04-2012 10:23 AM

Just in case it may be helpful, I'll add a little more.

Everything outside your home directory is off-limits to prevent accidental damage, but at least you can look at it. In the case of /root, for some reason it's not usual to set any access: if you select it in the file-manager, right click, and check Permissions, you'll get the point.

If you open a terminal, you can make yourself root user with
sudo su
and then access it from the command line, directly or by running nautilus.

All times are GMT -5. The time now is 02:51 AM.