Difference between root and home directory in terminal

0 votes
When I use the Linux terminal, I see 2 prompts: / and ~. Can someone tell me the difference between them?
Jun 20, 2019 in Linux Administration by Wendy
15,399 views

1 answer to this question.

0 votes

Root directory which is referred to as / (a slash) is the topmost level of the system drive while Home directory which is /Users/<short username> (also referred to as ~) comes under the root directory.  In root directory, the admin has the access for any changes in the configuration settings whereas if any user has only access to home directory, then he wont be able to change configurations of the entire system.

Hope this helps!

Get your Linux certification today to become certified.

Thanks.

answered Jun 20, 2019 by Vicky

Related Questions In Linux Administration

0 votes
0 answers

Difference between ctrl-z and "&" in linux

My understanding is that when you are ...READ MORE

Apr 13 in Linux Administration by Soham
• 8,730 points
18 views
0 votes
0 answers

Difference between "system" and "exec" in Linux?

What is the difference between system and ...READ MORE

Apr 26 in Linux Administration by Edureka
• 9,320 points
31 views
0 votes
0 answers

What is the difference between a symbolic link and a hard link?

Recently I was asked this during a ...READ MORE

Apr 13 in Linux Administration by Rahul
• 8,980 points
11 views
0 votes
0 answers

What is the difference between ''find .'' and ''find /'' on linux command

I am solving overthewire bandit. I looked ...READ MORE

Apr 20 in Linux Administration by Edureka
• 9,320 points
16 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,230 points
481 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 12, 2020 in Database by Prachi
• 140 points
378 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22, 2019 in Database by Mahi
297 views
0 votes
1 answer

What is the difference between ctrl z and ctrl c in command line?

Hi@akhtar, Generally, these two commands are used to ...READ MORE

answered Feb 24, 2020 in Linux Administration by MD
• 95,340 points
18,319 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP