Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 846
  • Last Modified:

What is the difference between "home" and "root"?

What is the difference between "home" and "root"?
I think they are same.

 "~" means home?
0
zhshqzyc
Asked:
zhshqzyc
2 Solutions
 
farzanjCommented:
No.
~ means home of your current account

root is a special user in Linux/Unix with unlimited power.

if you are root, then your ~ may be /root

if you are user, then your ~ may be /home/user
0
 
sihar86Commented:
home folder is parent folder of another user that we created using privilege root
root folder is parent folder of user root(created after finish install linux)
0
 
upanwarCommented:
~ means home of your current user.

root is a super user in Linux with unlimited power.

If you are root, then your (~) home directory would be /root but you are a regular user than your (~) home directory would be either /home/<user name> or the home directory path may be change as the parameter set in /etc/passwd.

Like home directory for mysql, oracle, or some application software may be different from /home/<user>.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
SyedJanCommented:
all the those users who are administrator users  thier user profiles  are store at root folder and all those users who are normal users their user profiles are stored in home folder.

0
 
prerakshethCommented:
home is the directory where the user starts by default.
root is more general - it is applicable to the mounted volume and is the parent of all the directories within that volume. There is also a system root - which works as the top directory for the overall os.
0
 
guyinwonderCommented:
"Home" folder is where linux store all the standar user folder data
as for "root" in only store for Root user data.

think of it like myDocument folder in windows..in linux we called it home folder.

~ is short cut to point to the user folder data the ~ will pointed to root folder if you are using root user right and ~ will pointed to standard user folder (Home) if you are using standard user.


0
 
LeeeRussellCommented:
If you are using Ubuntu as your Linux distro, this concept will be slightly more difficult to understand as Ubuntu doesn't use the root and home accounts in the same way that "classic" linux does.

This gives a good summary of this:
https://help.ubuntu.com/community/RootSudo
0
 
farzanjCommented:
In Ubuntu too the concept is exactly the same.  This article is talking about default security provisions.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now