LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-04-2012, 05:02 AM   #1
nitin chhabra
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
linux root folder


how to access root folder in file system.
 
Old 11-04-2012, 05:06 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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.
 
Old 11-04-2012, 05:06 AM   #3
nitin chhabra
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
first enter as root user
in terminal type
su <enter>
password
 
Old 11-04-2012, 05:07 AM   #4
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
Everthing starts from root folder and it is denoted by a "/". So just do-
Code:
% cd /
% pwd
/
 
Old 11-04-2012, 05:46 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Did we answer OP's question?
Did OP HAVE a question?
time will tell.......
 
Old 11-04-2012, 10:23 AM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 2,955

Rep: Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to go to root folder in Linux gselvam Linux - Newbie 7 07-09-2012 10:23 PM
[SOLVED] Seperating Home folder from Root Folder to a new partition. baxzius Linux - Newbie 5 08-01-2011 03:26 PM
write access to a Windows partition folder from Linux (as root) dows Linux - Newbie 5 02-02-2011 12:37 AM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration